SUMMARY *** Like the title states, when I take a Spectacle screenshot (via shortcut keys, have it set to copy on capture), and then click Annotation to edit the screenshot, whenever I click Annotation Done, and click Copy to Clipboard, Spectacle does not copy the image to Clipboard unless there is something existing already in the Clipboard history. If the Clipboard is empty (which I empty it every so often so it doesn't get cluttered up), and the existing copy of the screenshot (before I annotated) is in there, when I click to copy the annotated version of the screenshot, it clears the Clipboard, and doesn't copy the annotated screenshot to the Clipboard. I would think this would be a serious issue since it clears the clipboard without the clipboard being explicitly asked to be cleared. I can try to get a screen recording of this happening soon to help. *** STEPS TO REPRODUCE 1. Take rectangular region screenshot via Spectacle via shortcut keys (Super + Shift + S) 2. Select Annotate, and make edits (usually bordered empty box is what I add), click Annotation Done 3. Click Copy to Clipboard 4. Check Clipboard to see empty Clipboard, attempt to paste annotated image into application (tested on several applications, such as Element, Telegram, LibreWriter, OpenOffice) OBSERVED RESULT Annotated screenshot is not copied to clipboard when Copy to Clipboard button is clicked in Spectacle, instead clears the clipboard EXPECTED RESULT Annotated image is copied to clipboard, and able to successfully be pasted in supported applications. SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A Linux/KDE Plasma: Fedora 37 KDE Plasma on Wayland (available in About System) KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION Kernel Version: 6.1.18-200.fc37.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i7-11370H @ 3.30GHz System Version: 1.0
The file was too big to attach the screen recording, so I have uploaded it to my Google Drive, and am giving the link to the video here. https://drive.google.com/file/d/1pCJmysx1FFsEozxUeslDKQjPQHbSDPu7/view?usp=sharing
I can successfully reproduce your issue on Spectacle version 22.12.3. Clicking copy to clipboard again after it was cleared also produces what looks to be a broken image entry. I also noticed that copying any image to the clipboard at all (automatic or manual) results in a broken image. The issue was also reproducible on a blank installation. I suspect there was a change made recently that unintentionally broke this feature.
I can reproduce in 22.12 too, but it's already fixed in the upcoming 23.04 release.