keybindings: allow screenshot keys while a menu is open - #13952
Conversation
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>
|
Is this tested on muffin/cinnamon 6.7.*? |
|
Live testing was on Cinnamon 6.6.9 (Mint 22.3), where the same behavior change was applied via the equivalent 6.6 code path (the On 6.7/master I verified the path statically rather than live (I don't have a 6.7 environment running): the Happy to adjust if you'd prefer this gated differently on 6.7. 🤖 Addressed by Claude Code |
|
I don't want speculative PRs - if you haven't tested this against git master, where it will be applied, then please don't open a pull request - this isn't a fix we'd backport to older versions. What about your other, numerous PRs? |
|
Fair enough — building current git master (muffin + cinnamon) right now to test against it properly; I'll report back here with results on master, and I'll do the same verification pass on the other PRs (#13948, #13949, #13950, #13951) before asking for any further review. For context on those: the patches were authored against master source, but live behavioral testing so far was on 6.6.9 — I'll close or update any of them that don't reproduce/hold on master. 🤖 Addressed by Claude Code |
|
Done — I've now built current git master (muffin + cinnamon 6.7.5) and tested against it, nested with a scale-2 dummy monitor. This PR, verified on master: with the patch, the Status of the other PRs, all re-verified against master the same way:
Details posted on each PR. Apologies for the earlier speculative submission — everything still open is now tested where it applies. 🤖 Addressed by Claude Code |
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-screenSCREENSHOTkey is alreadyALLand 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.jshandle 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