Switching keyboard shortcut accelerator key should not remap keys
|Reported by:||rq||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
Switching keyboard shortcut accelerator key should not remap keys, but should actually only switch shortcuts instead (if possible). The problems with remapping are:
- the keyboard shown in Keyboard Layout preflet swaps keys (cf #6362), and that's not intuitive, because at the same time key names change in the menu.
- terminal applications begin expecting different shortcuts, e.g., Alt+C instead of Ctrl+C for quiting. That's very inconvenient for terminal users.
- potentially, other applications will also suffer. For example, I had a great inconvenience when I swapped Cmd and Ctrl in OS X's preferences, and vmWare Fusion began treating Cmd as Ctrl and vice-versa (thus I had to use Cmd-shortcuts in Windows running in vmWare until I updated it to a version that allowed me to remap shortcuts).
Generally, I think an application should always be able to know which exactly physical key was pressed if it needs it. I suspect that simply swapping keys deeply in the OS, like we seem to be doing here, is sort of limiting.