Bug 449063

Summary: Screenshot is impossible when context menu is displayed
Product: [Applications] Spectacle Reporter: makosol
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description makosol 2022-01-24 10:16:01 UTC
SUMMARY
Screenshot is impossible when context menu is displayed

STEPS TO REPRODUCE
1. right-click on plasma desktop or in Dolphin
2. tap screenshot key in keyboard

OBSERVED RESULT
nothing

EXPECTED RESULT
screenshot is taken with the menu displayed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.23.5
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-24 22:28:55 UTC
This is an issue in X11 itself; X11 grabs all keyboard input when a menu is open, so the global shortcuts for opening spectacle do not work.

It already works properly on Wayland.

On X11, you can use Spectacle's timer feature to do it. Activate the timer, take the screenshot, then open the menu before the timer runs out.