swapping control and caps lock keys makes Menu preference, Apps Menus (except Firefox) and Team Monitor do weird things
|Reported by:||karmak||Owned by:||korli|
|Has a Patch:||no||Platform:||x86|
Haiku hrev28735, IBM R52. I use a French keymap and "Alt" as default shortcut in Menu Preferences.
Creating a custom French keymap (attached) with
keymap command works like expected : i can swap control and caps lock. Apps (SpicyKeys, Terminal, StyledEdit and others) act like I expect them to, e.g. pressing CapsLock acts as Control was pressed. "Alt" remains active as the default shortcut (Alt-W closes windows, and so on). Cool !
BUT: Opening Menu Preferences shows that "Control" is my default shortcut, which is definitely false. I didn't change it from Haiku defaults, and "Alt" is the active one, refering to reality of what happens on my computer.
Checking back "Alt" in the Menu preference makes the thing more weird : When checked, Control (CapsLock key) doesn't work any more (pressing CapsLock-C in Terminal doesn't send Control-C signal), CapsLock (Control key) still works (Caps LED goes on/off), and "Alt" key doesn't do anything (no way to send Control-C signal in Terminal).
Checking back "Control" as shortcut in Menu preference doesn't solve the situation : Alt-C sends Control-C signal in Terminal, Control key works as CapsLock (expected behaviour), but CapsLock key doesn't produce Control ; I can't do Alt-W and Haiku shortcuts, no way.
To definitely solve the situation, I must reload my custom keymap. From then, initial situation is restored, e.g. Control and CapsLock are swapped, Alt is my Haiku shortcut, and Control is displayed as default Haiku shortcut in Menu preferences, which doesn't correspond to reality.
Note : I always load/reload my keymap from the binary one. Trying to load it from the human-readable form does nothing but hang in the terminal. I must send Control-C signal and load the binary one.
Note2: binary keymap is simply the human-readable form obtained with keymap -c.
Change History (13)
comment:8 by , 11 years ago
|Summary:||swapping control and caps lock keys makes Menu and Team Monitor do weird things → swapping control and caps lock keys makes Menu preference, Apps Menus (except Firefox) and Team Monitor do weird things|