Bug 501884 - Rectangular region capture over an xwayland app cannot be copied to the clipboard
Summary: Rectangular region capture over an xwayland app cannot be copied to the clipb...
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 6.3.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-22 20:29 UTC by Liarus1001
Modified: 2025-03-26 10:21 UTC (History)
2 users (show)

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


Attachments
video of the bug (3.01 MB, video/mp4)
2025-03-22 20:30 UTC, Liarus1001
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liarus1001 2025-03-22 20:29:41 UTC
SUMMARY

Using the "Capture Rectangular Region" over an xwayland app such as game in my case, makes it so spectacle doesn't copy the image properly into the clipboard, as an extra note, what is strange is that using  meta + v to see the clipboard history, the captured images are present, however they cannot be pasted in any other software, like krita, discord, or anywhere else.

Other capture methods such as "Capture Active window" or "Capture entire desktop" work perfectly fine, only "Capture Rectangular Region" has that behavhior.

STEPS TO REPRODUCE
1. Have a xwayland window open (a game as an example)
2. Use the shortcut to trigger "Capture Rectangular Region"
3. Try to copy / paste the image in any software that supports pasting images.

OBSERVED RESULT

The captured images cannot be pasted anywhere.

EXPECTED RESULT

The captured images should paste just like any other capture methods.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6950 XT

ADDITIONAL INFORMATION

This bug used to be inconsistant in the past, sometimes it happened, sometimes it didn't, recently it started just, not working at all (sorry i did not take note of the KDE updates that completely broke it, as i simply got used to dealing with the bug by just capturing the entire window/saving the image and uploading it instead)
Comment 1 Liarus1001 2025-03-22 20:30:44 UTC
Created attachment 179650 [details]
video of the bug

In this video i demonstrate the bug, i try to paste screenshots that i took with "Capture Rectangular Region", but nothing happens at all.