DYN-6397 Fix crash when parent node is deleted while node autocomplete menu is displayed#14715
DYN-6397 Fix crash when parent node is deleted while node autocomplete menu is displayed#14715zeusongit merged 33 commits intoDynamoDS:masterfrom
Conversation
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
|
Added a test, and reviewed the comments |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
|
Are there any regressions? |
I see 18 test failed, but seems un-related, and passes locally. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
|
Maybe try the self serve on master-15? Even after I update your branch with master, there are still a bunch failures. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
Tried master-15 , but each run gets me a different result, not sure what the problem is, I will wait for the ongoing issue with async test runs to resolve. |
| internal void CloseAutoCompletion() | ||
| { | ||
| OnRequestShowNodeAutoCompleteSearch(ShowHideFlags.Hide); | ||
| ViewModel.OnNodeAutoCompleteWindowClosed(); |
There was a problem hiding this comment.
UI Smoke TestsTest: success. 2 passed, 0 failed. |
UI Smoke TestsTest: success. 2 passed, 0 failed. |
|
No regression, all checks passed, merging. |
…e menu is displayed (DynamoDS#14715) * Fix PostDiff job * fix * Revert different commit This reverts commit a588d14. * comments * add unsub * add test * Update NodeAutoCompleteSearchControl.xaml.cs --------- Co-authored-by: Aaron (Qilong) <[email protected]>
Purpose
https://jira.autodesk.com/browse/DYN-6397
When a user deletes a node that has the node autocomplete menu open, it leaves the menu dissociated with the node and when a user clicks on any item on the menu, Dynamo crashed.
This PR fixes this case by closing the associated node autocomplete menu when the parent node is deleted.
On delete key press event any open node autocomplete menu will be closed.
Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
Fix crash when parent node is deleted while node autocomplete menu is displayed
Reviewers
@DynamoDS/dynamo