Keyboard accelerators (with & char) do not support non-English hotkeys
Original Reporter info from Mantis: chrisg
-
Reporter name: Christian Ghisler
Original Reporter info from Mantis: chrisg
- Reporter name: Christian Ghisler
Description:
Keyboard accelerator keys in any controls and the menu do not work in case of non-English characters like German Umlauts, Accents, Russian or Greek text. The character is underlined, but Alt+Character does not work.
Steps to reproduce:
- Define a button or menu item with a non-english hotkey, like &ÜBER or S&élection.
- Set the keyboard to a language which contains such a key
- Press Alt+That key (e.g. Alt+ü or Alt+é)
Result: There is no reaction.
A sample project with German text is included. The German hotkeys do not work, the English one (&OK -> Alt+O) does work.
Additional information:
For menus, the problem seems to be the function FindMenuItemAccelerator: The paramter ACharCode is ANSI, while SiblingMenuItem.Caption is UTF-8. I haven't found the location of the problem for dialog box elements yet.
Mantis conversion info:
- Mantis ID: 19223
- OS: Windows
- OS Build: all
- Build: all
- Platform: Win32
- Version: 0.9.31 (SVN)
- Fixed in revision: 32158 (#ac02acd3)
- Monitored by: » crori (Chris)