Some of our users noticed that Ctrl+C/X/V is not working in our extension depending on which window had the focus at last.
The problem occurs when a (regular WPF) textbox inside of our tool window has the focus and the user tries to use one of the shortcuts, while the project property window is open.
This gif shows the issue quite well (the user is pressing Ctrl+X):

We noticed that our textbox receives some key down and key up events but no Copy/Cut Command or key down event for Key.X/C, if the property window is focused before our tool window (first screenshot). If the code editor was focused the command is generated and correctly handled by our textbox (second screenshot).


In addition, if the solution explorer was focused and a project is marked the shortcut is handled by the solution explorer.
This is easily reproducible. Just create a extension add a tool window with a textbox, or use one of the samples from https://github.com/Microsoft/VSSDK-Extensibility-Samples like AsyncToolWindow.
How to handle the copy/paste shortcuts probably in our tool window, so that the user can use them inside of the textbox as expected? For example, the Output window from VS doesn't have this issue.