mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
On Wayland, AltGr (Right Alt on Polish, German, Czech… layouts) arrives as the Right Alt key followed by a modifiers event without Alt, since it turns on Level 3 Shift (Mod5), not Alt. The KeyTips state machine read that event as Alt let go with nothing pressed in between and opened KeyTips while AltGr was still held, so the next letter went to the badges instead of typing ś, ł, ż. A modifiers event without Alt no longer ends the press while an Alt key is still down by key events (its key-up does), and a release opens KeyTips only if the Alt modifier was on during the press (Left Alt always counts), so a bare AltGr tap doesn't open them either. Right Alt that is Alt (US layout) still does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>