Bug 432165

Summary: On Wayland, I can't take a screenshot by pressing printscreen key while Spectacle is open
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, philipp.reichmuth
Priority: NOR    
Version First Reported In: 20.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2021-01-26 15:39:14 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. open Spectacle and make sure "Take a new screenshot" option is selected under "While Spectacle is running > Press screenshot key to:" in its settings
3. press printscreen key while Spectacle is open 

OBSERVED RESULT
Spectacle displays an inline error message: "Could not take a screenshot. Please report this bug here: create a spectacle bug".

EXPECTED RESULT
Spectacle should take a new screenshot after the last step

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 phrxmd 2021-02-24 11:46:20 UTC
Happens to me too (bug 433530), but even when Spectacle is closed or when I `kill -9` the spectacle process.
Comment 2 Patrick Silva 2021-05-13 21:48:43 UTC
I can't reproduce with Spectacle 21.04.1.

Operating System: Arch Linux
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland