Bug 500296 - Spectacle won't open via PrintScreen when certain context menus are open
Summary: Spectacle won't open via PrintScreen when certain context menus are open
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 05:46 UTC by Octavia Togami
Modified: 2025-02-18 19:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Octavia Togami 2025-02-18 05:46:42 UTC
SUMMARY
When certain context / right-click menus are opened, such as those of Konsole or IntelliJ, PrintScreen will not open Spectacle.

STEPS TO REPRODUCE
1. Ensure Spectacle is configured to "Capture Rectangular Region" on PrintScreen.
2. Open Konsole.
3. Right-click on Konsole to open the menu.
4. Hit the PrintScreen key.

OBSERVED RESULT
Nothing happens. No logs in `journalctl` either, so it's not crashing.

EXPECTED RESULT
Spectacle opens and allows me to capture the menu in the screenshot.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.13.2-arch1-1
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Noah Davis 2025-02-18 13:25:19 UTC
Are you on X11 or Wayland?
Comment 2 Octavia Togami 2025-02-18 16:22:54 UTC
X11.
Comment 3 Noah Davis 2025-02-18 19:04:46 UTC
Unfortunately, this is an issue that cannot be fixed. That's just how context menus are on X11, unless they're actually visual elements of the app window.
Comment 4 Noah Davis 2025-02-18 19:07:29 UTC
The way to work around the issue is to use a delayed capture.