Bug 512163 - Can't copy screenshots.
Summary: Can't copy screenshots.
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.5.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-16 00:21 UTC by kavitormorsch
Modified: 2025-12-01 15:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Picture of the mentioned empty file in the "OBSERVED RESULT" section of the bug description. (4.90 KB, image/png)
2025-11-16 00:21 UTC, kavitormorsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavitormorsch 2025-11-16 00:21:44 UTC
Created attachment 186827 [details]
Picture of the mentioned empty file in the "OBSERVED RESULT" section of the bug description.

SUMMARY

Spectacle produces an empty image file when copying a screenshot, the only way to properly copy it is through the pop-up that comes after the screenshot.

STEPS TO REPRODUCE
1. Take a screenshot.
2. Click the Copy button.
3. Paste the copied file somewhere.

OBSERVED RESULT
Nothing happens, clipboard claims there is a file there, but it is empty, there is no image displayed

EXPECTED RESULT
The image would be copied and I could paste it anywhere.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch - KDE Plasma
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION

Like I mentioned earlier, I can actually copy it if I do it through the pop-up with the image of what I took a screen shot of, but I find that less convenient than simply pressing a button and being done.
Comment 1 Brian Cohen 2025-12-01 15:42:09 UTC
I am able to reproduce this issue. Running Plasma 6.5.3, KDE Frameworks 6.20.0, Qt 6.10.1 on Wayland on OpenSUSE.  As OP mentioned, if I click the 'copy' button after, for example, selecting a rectangular region, the subsequent "Unsaved" view/edit window pops up containing the selected image along with a flash message that says "The screenshot has been copied to the clipboard."  But, attempting to paste the image somewhere reveals a basically empty image. Viewing the Clipboard tray applet confirms the same -- something was added to the clipboard stack but it's just a grey bar or something.  If I subsequently click the 'Copy' icon in the icon bar of the "Unsaved" window, the image is correctly copied to the clipboard.