Bug: Problems with accelerator key names

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug: Problems with accelerator key names

Carsten Haerle
There is a problem with accelerator key names in non-english countries. The
names are initialized at deployment time at ObjectArts with
"AcceleratorTable>>initialize" to the english names (there is already a
#todo which says: "This probably needs to be re-initialized on startup in
case keyboard layout different").

The problem now is that the wrong names are displayed as shortcut names in
menus. E.g. in Germany it must be "STRG" instead of "CTRL". When I evaluate
"AcceleratorTable>>initialize" then the menus are fine, but then all windows
which create the menu items by using #acceleratorKeyString: or the
#additionalAccelerators fail, because Dolphin doesn't find the hard-coded
name "CTRL" any more.

Possible solutions: One way might be to keep #accerlatorKeyString: but
always use english format to construct the keys and make
#acceleratorKeyString return the current platform and country setting. Maybe
it should be separated into two different methods for symmetry.

Regards

Carsten Haerle