Bug 444120

Summary: [wayland] Unable to screenshot current window
Product: [Applications] Spectacle Reporter: indecisiveautomator
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde
Priority: NOR    
Version: 21.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of Spectacle dropdown

Description indecisiveautomator 2021-10-20 15:01:51 UTC
Created attachment 142678 [details]
Screenshot of Spectacle dropdown

SUMMARY
Spectacle does not provide the option to screenshot the current window on Wayland. There is no option in the Spectacle application for it, and the shortcut in the System Settings for capturing the current window does not work. The other bindings work fine and so does Spectacle when selecting these options from the menu, however it does not provide the option on Wayland for taking a screenshot of the current window.

STEPS TO REPRODUCE
1. Set a shortcut for capturing the current window (e.g. Meta+Print) 
2. Spectacle does not open
3. Open Spectacle application
4. No option listed in dropdown for capturing current window

OBSERVED RESULT
Spectacle does not offer the ability to screenshot the current window under Wayland either with a shortcut or in the application itself. The shortcut does not function and the application does not offer the functionality at all.

EXPECTED RESULT
Spectacle takes a screenshot of the current window whenever the bound shortcut is pressed (e.g. Meta+Print), and also offers the ability to take a screenshot of the current window from within the Spectacle application.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.12-arch1-1 (64bit)
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
See attached screenshot for Spectacle dropdown.
Comment 1 Patrick Silva 2021-10-20 20:10:19 UTC

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