Bug 470341

Summary: Cannot take interactive screenshots of popup menus
Product: [Plasma] kwin Reporter: Noah Davis <noahadvs>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Noah Davis 2023-05-27 22:32:43 UTC
SUMMARY
If you try to use the screenshot effect DBus API to do an interactive screenshot of a popup menu, the menu will disappear and it will not be possible to take a screenshot of it.

STEPS TO REPRODUCE
1. Run Spectacle under kwin_wayland
2. Do a Window Under Cursor screenshot on a delay
3. Open a menu and wait for the interactive window picker

OBSERVED RESULT
The menu disappears when the window picker appears, making it impossible to pick the menu.

EXPECTED RESULT
It should be possible to take a screenshot of a menu by picking it in the interactive screenshot mode.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230525
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics