rvaiya / warpd

A modal keyboard-driven virtual pointer
MIT License
2.85k stars 126 forks source link

Warpd hangs in macos with non latin input #290

Open Coobaha opened 2 months ago

Coobaha commented 2 months ago

Hi @rvaiya,

I noticed that when I have the RU keyboard layout in MacOS, warpd sometimes hangs, and I need to either:

Sometimes, the RU layout works just fine, but eventually, it hangs. I've also noticed that if I try to start warpd -f with the RU layout, it logs config parsing errors

ERROR: A-M-x is not a valid key name
ERROR: A-M-X is not a valid key name
ERROR: A-M-g is not a valid key name
ERROR: A-M-h is not a valid key name
ERROR: A-M-s is not a valid key name
ERROR: A-M-c is not a valid key name
ERROR: A-M-l is not a valid key name
ERROR: A-M-L is not a valid key name
.....
ERROR: q is not a valid key name
ERROR: u is not a valid key name
ERROR: w is not a valid key name
ERROR: g is not a valid key name
ERROR: a is not a valid key name
ERROR: z is not a valid key name

When warpd hangs, log of the event name resolves to (null), and the mode is 0 (reserved)

Coobaha commented 2 months ago

Seems to be a dupe of https://github.com/rvaiya/warpd/issues/214 , please close if needed, or maybe you can reproduce it.