Bug 487739

Summary: [Feature request] [Regression] Make annotations copy-and-pastable again
Product: [Applications] Spectacle Reporter: Huanyu Liu <1293660441>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: CONFIRMED ---    
Severity: wishlist CC: kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Huanyu Liu 2024-05-29 12:41:56 UTC
SUMMARY
Currently, the annotations made in Spectacle are not copy-and-pastable, while I remember they were indeed copy-and-pastable in a previous version. I cannot remember the first version with this feature removed exactly, but it's highly likely to be 23.04, which refactored Spectacle's user interface completely. This feature is really useful when you want to do multiple annotations with similar contents, especially text.

STEPS TO REPRODUCE
1. Make an arbitrary screenshot with Spectacle
2. Draw a rectangle using the annotation tool
3. Select the rectangle and press Ctrl+C, attempting to copy it
4. Press Ctrl+V

OBSERVED RESULT
The rectangle is not copy-and-pasted; when pressing Ctrl+C, the whole screenshot is copied to the clipboard

EXPECTED RESULT
The rectangle is copy-and-pasted, as in a previous version

SOFTWARE/OS VERSIONS
Linux: 6.9.2-arch1-1
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Additionally, when you use the text tool to add some text, and then select them and press Ctrl+C, both the text and the whole screenshot will be copied to the clipboard, while I think the correct behavior is to copy the text only. I will open a separate bug for that issue.