OrcaSlicer
OrcaSlicer copied to clipboard
Copy/Paste keyboard shortcuts not following mouse selection
Is there an existing issue for this problem?
- [X] I have searched the existing issues
OrcaSlicer Version
2.1.0-dev (2024-04-16 nightly)
Operating System (OS)
macOS
OS Version
Sonoma 14.4.1 (x86)
Additional system information
2018 Mac mini (Intel i7)
Printer
(Any)
How to reproduce
- Start a new project
- Add the Orca Cube model to the build plate.
- Click on the Orca Cube (the white corner handles show that it is selected)
- Click on the Speed tab, then mouse click and drag to select the first layer speed value text.
- Do the Command-C keyboard shortcut to copy the selected first layer speed text.
- Click in the Outer Wall speed text box (or any other text box that contains a different value), select the existing value, and perform the Command-V keyboard shortcut to paste the copied value
- Note that the value was NOT pasted despite being selected and having mouse focus. Instead, an unexpected second Orca Cube appears on the build plate.
- Re-select the first layer speed value with the mouse, right click, and select "Copy"
- Re-select the outer wall speed value with the mouse, right click, and select "Paste"
- Note that the text is correctly pasted, and no additional model appears on the build plate.
Additionally, the same sequence holds true even if the side panel is undocked and floating. What is particularly unique about this situation, is that the main window shows that it doesn't have focus (the three window resize buttons go grey) when the mouse has clicked into the floating panel. Yet, the main window in the background is still what responds to copy/paste commands.
(Note that I do not currently have a Windows or Linux machine to test with, so I am not sure if this is a universal bug or one specific to macOS.)
Actual results
(See above)
Expected results
- Copy/Paste should perform the same action, whether accessed via the right-click menu or via the keyboard shortcuts.
- The item selected by the mouse cursor should have the focus for copy/paste actions. (This likely means that the model(s) on the build plate(s) should be deselected when the mouse clicks into any editable field on other parts of the user interface.)
Project file & Debug log uploads
(Nothing is logged for this UI bug.)
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
Thank you for looking into this.