Eva Marco 68ecfb1234
🐛 Fix default shortcuts that fail on some layouts and browsers (#12506)
Fixes the problems found after #12326 and listed in #12327.

Mousetrap now tries several names for each key press, in order, and
fires the first one with a binding: letters and digits by keyCode when
a modifier is held, punctuation by position (layout map, or a US table
when the browser has none), the typed glyph, and the typed glyph
without the Shift it needed. With AltGr the typed glyph comes before
the position. The shortcut recorder asks Mousetrap for the key it
stores, so a recorded shortcut always fires.

This makes "?" and "+" work on every layout, Shift and Ctrl+Shift with
punctuation work in Firefox and Safari, Option+letter work on macOS,
and AltGr+º hide the UI on Linux with a Spanish layout.

Chrome on Linux returns the map of the first configured layout, not
the active one. Mousetrap now drops the map when an unmodified
punctuation key types something else.

The layout twins are no longer needed and are removed: "shift+'" made
"?" zoom to the selection on Spanish layouts. The Add node shortcut is
removed too: on US layouts its key is the "+" zoom key, and on Firefox
with a Spanish layout it cannot fire. The Firefox and Safari warning
in the shortcuts settings is gone, since those shortcuts now work
there. The user guide and translations follow these changes.

AI-assisted-by: claude-opus-5-5
2026-10-26 11:56:09 +01:00
..
2026-09-28 10:15:48 +02:00
2026-09-25 11:11:44 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-25 11:11:44 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2023-10-04 13:49:57 +02:00
2026-09-28 10:15:48 +02:00
2026-09-28 10:15:48 +02:00
2026-09-25 11:11:44 +02:00
2026-09-28 10:15:48 +02:00