[haiku-bugs] Re: [Haiku] #2499: [Keymap] hotkeys doesn't work with some keymaps

  • From: "X512" <trac@xxxxxxxxxxxx>
  • Date: Tue, 06 Jul 2010 07:52:58 -0000

#2499: [Keymap] hotkeys doesn't work with some keymaps
---------------------------------+------------------------------------------
  Reporter:  diver               |         Owner:  axeld         
      Type:  bug                 |        Status:  new           
  Priority:  normal              |     Milestone:  R1            
 Component:  Kits/Interface Kit  |       Version:  R1/Development
Resolution:                      |      Keywords:                
Blocked By:                      |   Has a Patch:  0             
  Platform:  All                 |      Blocking:  6225          
---------------------------------+------------------------------------------
Changes (by X512):

  * owner:  korli => axeld
  * component:  Add-Ons/Input Filters => Kits/Interface Kit


Comment:

 Problem in /src/kits/interface/Menu.cpp in KeyDown function.

 When use press hotkey with non-latin keymap, input char and hotkey char
 don't equals and nothing happens. For example if I press Alt+W hotkey with
 Russian keymap, menu handles this combination as Alt+Ц.

 Possible solutions:[[BR]]
 1) Use scancodes for hotkeys handling.[[BR]]
 2) Translate key to latin keymap.[[BR]]
 3) Localize hotkeys.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2499#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: