[DYN-7362] bugfix: prevent dynamo workspace paste execution when out of focus#15523
Conversation
There was a problem hiding this comment.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7362
UI Smoke TestsTest: success. 11 passed, 0 failed. |
RobertGlobant20
left a comment
There was a problem hiding this comment.
LGTM with one comment
| /// <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.
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.
@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
*.resxfilesRelease Notes
Include an early return within DynamoView
OnRequestPasteinterrupting the execution when workspace is out of focus.Reviewers
@RobertGlobant20
@QilongTang