-
Notifications
You must be signed in to change notification settings - Fork 636
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-7139 WebView2 Crash when Opening Dialog #15361
DYN-7139 WebView2 Crash when Opening Dialog #15361
Conversation
WebView2 was crashing when opening the OpenFile Dialog or the OpenTemplate Dialog, it was due that we were not using an async method for opening the file/template. Then I added an async method and will be called by the HomeApp component.
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.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7139
I was missing to implement the same fix for the next functionalities that also open a File OpenDialog from WebView2: - Open a Template (shortcut Ctrl + T) - Open (shortcut Ctrl + O) Finally I modified the functionality for using Commands instead of calling the method directly.
Updating call to use a Dispatcher
Hi @RobertGlobant20 Notice the first PR check failed? Because you have added new public functions, you need to modify the file to add them to pass API break analysis |
Updating the public API so we won't get a API Break check.
Updating the public API so we won't get a API Break check.
UI Smoke TestsTest: success. 11 passed, 0 failed. |
@@ -2067,6 +2067,10 @@ Dynamo.ViewModels.DynamoViewModel.ShowOpenDialogAndOpenResultCommand.get -> Dyna | |||
Dynamo.ViewModels.DynamoViewModel.ShowOpenDialogAndOpenResultCommand.set -> void | |||
Dynamo.ViewModels.DynamoViewModel.ShowOpenTemplateDialogCommand.get -> Dynamo.UI.Commands.DelegateCommand | |||
Dynamo.ViewModels.DynamoViewModel.ShowOpenTemplateDialogCommand.set -> void | |||
Dynamo.ViewModels.DynamoViewModel.ShowOpenDialogAndOpenResultAsyncCommand.get -> Dynamo.UI.Commands.DelegateCommand |
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.
Extra space included?
Removing extra space
Co-authored-by: pinzart90 <[email protected]> Co-authored-by: Roberto T <[email protected]>
Purpose
WebView2 was crashing when opening the OpenFile Dialog or the OpenTemplate Dialog, it was due that we were not using an async method for opening the file/template. Then I added an async method and will be called by the HomeApp component.
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
WebView2 was crashing when opening the OpenFile Dialog
Reviewers
@QilongTang
FYIs
@reddyashish