-
Notifications
You must be signed in to change notification settings - Fork 634
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-7362] bugfix: prevent dynamo workspace paste execution when out of focus #15523
[DYN-7362] bugfix: prevent dynamo workspace paste execution when out of focus #15523
Conversation
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-7362
UI Smoke TestsTest: success. 11 passed, 0 failed. |
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.
LGTM with one comment
@@ -239,7 +239,6 @@ internal void RefreshLibraryView(WebView2 browser) | |||
/// <param name="text">text to be added to clipboard</param> | |||
internal void OnCopyToClipboard(string text) | |||
{ | |||
dynamoViewModel.Model.ClipBoard.Clear(); |
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.
You added this line in #14998 for fixing the problem of copy/paste when using the mouse (click right copy and then click right paste).
if you remove it, will this produce a side-effect behavior on copy/paste using the mouse?
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.
@RobertGlobant20 It doesn't seems to cause any side effect, we manage two different Clipboard
the native one and the one which is part of the model for storing the nodes.
Purpose
ref.: [7362]
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Include an early return within DynamoView
OnRequestPaste
interrupting the execution when workspace is out of focus.Reviewers
@RobertGlobant20
@QilongTang