[Pharo-dev] [QA] Re: GLMAction and PharoShortcut
stepharong at free.fr
Sun Feb 12 12:51:48 EST 2017
For the record we were discussing with denis to have a hierarchy of
command each one encapsulating its
shortcut and other.
Now it should work for calypso and we will remove Nautilus in 70. But the
problem is all the places
where shortcuts are hardcoded and we will have to work on them.
Now I'm not saying that we should not do anything now to fix the current
I just mention our current thoughts.
> Le 12/02/2017 à 11:53, Ben Coman a écrit :
>> Well spotted. They should be consistent. I guess the next questions
>> * Does Glamour convert cross platform Meta-x definitions to platform
>> specific in its rendering? Or are the Ctrl-xx hard coded?
> GLMAction comes with a method to render a print representation of shor
> tcut, but it is not its responsibility to do so. It is the short cut
> responsibility, so other widget can also use the same and consistent
> print representation.
> The responsability should go to instance of KMModifiedKeyCombination,
> not sure about that though.
> The way the modifier is selected in the GLamour looks strange, why not
> using the modifier instance?
>> * If the former, can Spec be made to do the same conversion for its
>> * Or do we prefer to refer to the general Meta-x throughout the UI?
> The way short cuts are rendered in menu or tool tip is not consistent.
> In Nautilus you have for example: 'Ctrl + A', in debugger it is rendered
> 'ctrl+a' for Ctrl-a or 'ctrl+shift+a' for Ctrl-A.
> In playground you can see both depending on you are viewing a menu or a
> button tool tip.
> Now I see another place where short cut gets a print representation:
Using Opera's mail client: http://www.opera.com/mail/
More information about the Pharo-dev