Open mexanoz opened 1 month ago
I have the exact same problem. It's also when I switch to the "English (intl., with AltGr dead keys)" that the waybar language module shows nothing and when I reload the waybar configuration or restart waybar it's showing the language layout code again. I noticed this only today after I did a system update yesterday.
I have this issue too with Hungarian (QWERTY, 102-key, dot, dead keys) smh
Hi, same issue here
[2024-09-02 09:44:46.796] [debug] hyprland IPC received activelayout>>keychron-k2,English (intl., with AltGr dead keys)
[2024-09-02 09:44:46.803] [debug] hyprland language didn't find matching layout
[2024-09-02 09:44:46.803] [debug] hyprland language onevent with with AltGr dead keys)
[2024-09-02 09:44:46.803] [debug] hyprland language update with full name
[2024-09-02 09:44:46.803] [debug] hyprland language update with short name
[2024-09-02 09:44:46.803] [debug] hyprland language update with short description
[2024-09-02 09:44:46.803] [debug] hyprland language update with variant
[2024-09-02 09:44:46.803] [debug] hyprland language formatted layout name US
It only happens when I switch keyboard layouts
The issue seems related/similar to #3222. Waybar seems to not parse the layout name correctly when it has commas in it, which causes it to display an empty string instead of the language indication. In this case, the offending layout name is "English (intl., with AltGr dead keys)". Correct behavior:
Incorrect behavior:
Note also that this only happens when switching the keymap and it works correctly when launching Waybar with this layout selected:
As additional info, I swear I remember this working correctly before and breaking like maybe a month ago. I didn't get to bisecting this yet but I might do so in some time.