Windows: AltGr-typed brackets trigger conversation shortcuts on European layouts
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
AltGr reports as ctrlKey && altKey on Windows. accel() in inject/src/messenger/features/shortcuts.ts only checks ctrlKey, so typing [ or ] with AltGr+8/9 on Norwegian/German/… layouts matches the bracket shortcuts and switches conversations instead of inserting the character. The Ctrl+Tab and function-key branches in the same file already exclude altKey; the main accelerator path did not.
Fix (in flight): Alt-modified keys are never treated as accelerators.
Originally posted by: kristofferR
Fixed in [#136]. Alt-modified keys are excluded from the accelerator check, so typing
[]{}and other AltGr characters on European Windows layouts inserts the character instead of switching conversations.Related
Tickets:
#136Ticket changed by: kristofferR