menuItem Shortcut caption missing or wrong for , (comma) windows + linux
Original Reporter info from Mantis: dkropf
-
Reporter name: Darko Kropf
Original Reporter info from Mantis: dkropf
- Reporter name: Darko Kropf
Description:
If you want to set TMenuItem shortcut to Ctrl+, (Ctrl+comma) you get correct keypress behaviour, but shortcut shown in caption on menu is wrong or missing.
Additional information:
Lazarus on Mac
a.Shortcut:=Shortcut(VK_OEM_COMMA, [ssMeta]);
keypress shortcut: WORKS
displayed: OK "m+,"
Lazarus on Windows XP
// VK_OEM_COMMA=$BC;
a.Shortcut:=Shortcut(VK_OEM_COMMA, [ssCtrl]);
keypress shortcut: WORKS
displayed: NOTHING
Lazarus on Linux (SUSE)
a.Shortcut:=Shortcut(VK_OEM_COMMA, [ssCtrl]);
keypress shortcut: WORKS
displayed: WRONG "Ctrl+Word('188')"
Delphi XE2
a.Shortcut:=Shortcut(VK_OEM_COMMA, [ssCtrl]);
keypress shortcut: WORKS
displayed: OK "Ctrl+,"
Mantis conversion info:
- Mantis ID: 20621
- Version: 0.9.30.1 (SVN)
- Fixed in revision: r33294 (#f9005be7)