Bug 432165 - On Wayland, I can't take a screenshot by pressing printscreen key while Spectacle is open
Summary: On Wayland, I can't take a screenshot by pressing printscreen key while Spect...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 15:39 UTC by Patrick Silva
Modified: 2021-05-13 21:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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