Skip to content

keybindings: allow screenshot keys while a menu is open - #13952

Open
rumours86 wants to merge 1 commit into
linuxmint:masterfrom
rumours86:allow-screenshots-while-modal
Open

keybindings: allow screenshot keys while a menu is open#13952
rumours86 wants to merge 1 commit into
linuxmint:masterfrom
rumours86:allow-screenshots-while-modal

Conversation

@rumours86

Copy link
Copy Markdown

Pressing Shift+Print (area screenshot) with any menu or applet popup open does nothing: the area/window/clipboard screenshot keys are registered with ActionMode.NORMAL, so the modal filter swallows them. Meanwhile the full-screen SCREENSHOT key is already ALL and works in the same situation, as do the volume keys — which makes the dead Shift+Print feel like a bug to the user (that's exactly how it was reported to me).

Capturing the screen while a popup is open is a legitimate and common request, and the pickers in js/ui/screenshot.js handle starting on top of an existing modal (verified live: the picker opens, Escape cancels cleanly, selection completes cleanly).

This registers all six screenshot media keys with ActionMode.ALL.

🤖 Generated with Claude Code

Area/window/clipboard screenshot keys were registered with
ActionMode.NORMAL, so pressing e.g. <Shift>Print with any menu or applet
popup open did nothing - while the full-screen SCREENSHOT key (ALL) and
the volume keys worked fine in the same situation.  Capturing the screen
with a popup open is a legitimate and common request, and the pickers in
js/ui/screenshot.js handle running on top of an existing modal.

Register all screenshot media keys with ActionMode.ALL.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant