[haiku-bugs] [Haiku] #6365: Switching keyboard shortcut accelerator key should not remap keys

  • From: "rq" <trac@xxxxxxxxxxxx>
  • Date: Thu, 22 Jul 2010 15:22:40 -0000

#6365: Switching keyboard shortcut accelerator key should not remap keys
----------------------------------+-----------------------------------------
   Reporter:  rq                  |        Owner:  axeld    
       Type:  bug                 |       Status:  new      
   Priority:  normal              |    Milestone:  R1       
  Component:  Preferences/Keymap  |      Version:  R1/alpha2
   Keywords:                      |   Blocked By:           
Has a Patch:  0                   |     Platform:  All      
   Blocking:                      |  
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6365>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: