Bug 428827

Summary: Screenshots lock in some applications
Product: [Plasma] plasmashell Reporter: Rafal <rafalkozlowski07>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED LATER    
Severity: minor CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rafal 2020-11-08 09:44:20 UTC
SUMMARY
I have noticed that it is unable to make screenshots in some application when bar menu is opened. For example in SimpleScreenRecorder looking for audio sources. But it is also in more "common" applications like in systemmontor. In some applications it is working like in 50/50 cases. For example "systemsettings5" -> Display -> Devices. There is a bar and i can make screenshot when it is opened. 
Moving to Compositor. There are bars (display engine, vsycn, etc) and all of them block making screenshots. Don't know if it is some bug or maybe some specific settings in my plasmashell.

SOFTWARE/OS VERSIONS
Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.9.1-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"
plasmashell: 5.20.2
Comment 1 Nate Graham 2020-11-09 18:19:02 UTC
Unfortunately this is an unfixable bug in X11 due to how it lets menus grab 100% of all keyboard input while open. You can work around this by using Spectacle's timer functionality. Set a timer, take the screenshot, and then open the menu.
Comment 2 Rafal 2020-11-09 18:39:07 UTC
(In reply to Nate Graham from comment #1)
> Unfortunately this is an unfixable bug in X11 due to how it lets menus grab
> 100% of all keyboard input while open. You can work around this by using
> Spectacle's timer functionality. Set a timer, take the screenshot, and then
> open the menu.

;( That's sad. Only if wayland wouldn't work like it work right now. 
Anyway thanks for answer.