Thanks for the update. Based on previous Steph post, should we move this bug ticket to Pharo7 or keep it for Pharo6? Hilaire Le 13/02/2017 à 18:46, Andrei Chis a écrit :
Hi,
Good catch. Indeed GLMAction>>#shortcutAsString should go to the keymap object.
Apart from the inconsistencies that you mention, there is in my view another one. For example, in the debugger in the context menu of the stack modifiers are displayed using special characters (at least on mac). In tooltips they are display using Shift, Meta, Ctrl, etc. Right now the logic for printing shortcuts that way is in ToggleMenuItemShortcut>>#owner:keyText: and it's a bit complicated to reuse. See GTSpotterCategoryTitleBrick>>#setShortcutBrickTextFor: for an example.
Cheers, Andrei
-- Dr. Geo http://drgeo.eu