-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DYN-6397 Fix crash when parent node is deleted while node autocomplete menu is displayed #14715
Conversation
This reverts commit a588d14.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
*.resx
filesRelease Notes
Fix crash when parent node is deleted while node autocomplete menu is displayed
Reviewers
@DynamoDS/dynamo