Bug 443942

Summary: [Wayland] Cannot take screenshot of a Windows using Meta + Print shortcut
Product: [Applications] Spectacle Reporter: Andrea Ippolito <andrea.ippo>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde, meven.car, nate
Priority: NOR    
Version: 21.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrea Ippolito 2021-10-18 06:52:18 UTC
SUMMARY
Cannot take screenshot of a Windows using Meta + Print shortcut

STEPS TO REPRODUCE
1. Open spectacle
2. Open another app window (System Tray settings in my case)
3. Try to capture a screenshot of said window by using Meta + Print

OBSERVED RESULT
Screenshot is not taken and a message suggests to file a bug report

EXPECTED RESULT
Screenshot is taken

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 7,5 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 Nate Graham 2021-10-18 17:17:59 UTC
Boo. :(
Comment 2 Patrick Silva 2021-10-19 12:29:22 UTC
Active Window mode is not supported on Wayland, see bug 386271
Comment 3 Andrea Ippolito 2021-10-19 12:35:59 UTC
(In reply to Patrick Silva from comment #2)
> Active Window mode is not supported on Wayland, see bug 386271

Well, that's unfortunate, and I hope that one day this limitation could be removed.

Meanwhile, I would maybe suggest to rephrase the message in the UI to something like the bug number, just to lift some of the burden of bug triage?

Or remove the active window option from Spectacle entirely, if a Wayland session is detected?

Thanks
Comment 4 Nate Graham 2021-10-19 13:53:37 UTC

*** This bug has been marked as a duplicate of bug 386271 ***