Bug 447140 - Does not automatically copy in clipboard on wayland under certain circumstances
Summary: Does not automatically copy in clipboard on wayland under certain circumstances
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-12-17 18:08 UTC by d3coder
Modified: 2021-12-27 22:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description d3coder 2021-12-17 18:08:03 UTC
SUMMARY
I configured spectacle to copy my screenshot without showing itself.
It works on X11, but does not work on Wayland.
It works really weird on Wayland compared to X11, sometimes it saves selected screenshot region between screenshots.

STEPS TO REPRODUCE
1. Make sure there is no spectacle process running
2. Press hotkey to make a screenshot
3. Make a screenshot

OBSERVED RESULT
Screenshot not copied in a clipboard

EXPECTED RESULT
Screenshot copied in a clipboard

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-12-17 19:01:58 UTC
This was supposed to be fixed in Bug 421974 and it's currently working for me.
Comment 2 d3coder 2021-12-17 19:06:13 UTC
Do you see spectacle window appear after you make a screenshot? It shouldn't appear after the screenshot.
Try to:
1. Run wayland
2. Make sure "copy to clipboard" is enabled in spectacle
3. Reboot or killall spectacle if you started it before or made a screenshot
4. Make a screenshot with a hotkey

What should happen:
1. Spectacle window should not appear
2. Screenshot must be in a clipboard
Comment 3 Méven Car 2021-12-18 14:29:42 UTC
(In reply to Nate Graham from comment #1)
> This was supposed to be fixed in Bug 421974 and it's currently working for
> me.

My bad this is properly fixed only for spectacle 22.06 with KF 5.89