| Summary: | Screenshots from fullscreen Wayland apps are not copied to clipboard (Spectacle) | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Egor Tkachev <grekerplayyt> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, pcmaniaks_spam, physphase, seldomridgej |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kguiaddons/-/commit/b71af4e1afcf72b8c9da315dc8d728db70d753c0 | Version Fixed/Implemented In: | 6.22 |
| Sentry Crash Report: | |||
|
Description
Egor Tkachev
2025-07-02 04:15:08 UTC
I have the exact same issue. It is inconsistent as well. I feel like if you are fast (like within 1 second) its in the clipboard and you can paste it. Then something clears it out. Same behavior between both flameshot and spectacle. The images show in the clipboard manager and I can toggle between the previous and latest to restore it to the clipboard and then paste it. Operating System: CachyOS Linux KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-4-cachyos (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor Memory: 64 GiB of RAM (62.4 GiB usable) Graphics Processor: NVIDIA GeForce RTX 5090 Manufacturer: ASRock Product Name: X870E Taichi Lite I can also confirm that this bug also happens on my machine when playing games - any screenshots (either rectangular snips or full) taken ingame can't be pasted anywhere (about 9 out of 10 times - sometimes it works). To elaborate on the previous comments, I think that it only affects games running in borderless windowed mode (or forced to fullscreen via taskbar menu). Whenever I run a game in "true" fullscreen (or in a window), the screenshots seem to work fine, ie. they can be pasted normally. OS: Manjaro (Wayland) KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.13.12-2 (64-bit) I have the same issue, when I look in my clipboard contents, it shows up as an empty bar or empty image. I can paste the failed screenshot into obsidian, it recognizes it as an image but shows 'broken image' pictogram. Opening the spectacle application instead of using the screenshot button sometimes works; other times I'd have to click "new image" after opening the program and then it would work. (In reply to physphase from comment #3) > I have the same issue, when I look in my clipboard contents, it shows up as > an empty bar or empty image. I can paste the failed screenshot into > obsidian, it recognizes it as an image but shows 'broken image' pictogram. > Opening the spectacle application instead of using the screenshot button > sometimes works; other times I'd have to click "new image" after opening the > program and then it would work. Excuse me, new here and forgot to add distro etc. OS: Arch Linux x86_64 Host: 750XFG P07CFL Kernel: 6.12.36-1-lts Resolution: 1920x1080 DE: Plasma 6.4.2 WM: kwin Theme: Breeze-Dark [GTK2], Breeze [GTK3] Icons: breeze-dark [GTK2/3] CPU: 13th Gen Intel i5-1335U (12) @ 4.600GHz GPU: Intel Raptor Lake-P [Iris Xe Graphics] Memory: 6009MiB / 15671MiB A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/182 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/191 Git commit b71af4e1afcf72b8c9da315dc8d728db70d753c0 by David Edmundson, on behalf of David Redondo. Committed on 15/12/2025 at 10:16. Pushed by davidedmundson into branch 'master'. ksystemclipboard: Dispatch read events in another thread WaylandClipboard wraps ext_data_control if an application tried to read the clipboard using QClipboard whilst it owns the data control we would deadlock. This was previously being solved by trying to transfer mimedata to the regular clipboard upon gaining focus. However this never worked reliably and efforts to fix this only made it more complicated. To solve the original deadlock all ext_data_control classes now live on another thread which dispatches events on a separate queue. A recursive mutex allows the main thread to read mimedata and no wayland events which change the mimedata process until this is complete. Related: bug 480448, bug 496029, bug 502831, bug 505281, bug 507792, bug 509065, bug 509689, bug 511736 FIXED-IN: 6.22 M +116 -14 src/systemclipboard/waylandclipboard.cpp M +3 -0 src/systemclipboard/waylandclipboard_p.h https://invent.kde.org/frameworks/kguiaddons/-/commit/b71af4e1afcf72b8c9da315dc8d728db70d753c0 |