W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2005

Re: Keyboard shortcuts in Amaya menus

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Fri, 13 May 2005 16:32:56 +0200
To: Shriramana Sharma <jamadagni@gmail.com>
Cc: Irene.Vatton@inrialpes.fr, www-amaya@w3.org
Message-Id: <200505131632.56393.vatton@inrialpes.fr>

Le Jeudi 12 Mai 2005 11:12, Shriramana Sharma a écrit :
> Irene Vatton wrote:
> > It could work if Amaya doesn't use shortcut sequences (like Ctrl h Ctrl p
> > to create a preformatted). The toolkit is not able to display these kind
> > of long shortcuts in menus, so they are displayed as part of menu
> > entries.
>
> You are talking about the widget toolkit yes?

Yes. We don't have this kind of problem with GTK and Win32 versions.

> > We have 3 possible solutions:
> >  - keep the current status waiting for a possible solution with the
> > toolkit, - display the first part of the shortcut (Ctrl h) into the entry
> > and the second part (Ctrl p) aligned as a classical shortcut.
> > What do you think?
>
> A fourth solution:
>
> Ctrl H P
>
> Much shorter and will certainly fit into the menu. Since there is no
> mixing like Ctrl H Alt P, such a shortening is quite possible.

There is no problem with the management of shortcuts. The limitation concerns 
only the string which declares the shortcut in menu entry because wxWidgets 
toolkit accepts only a limited set of strings. "Ctrl H P" is not accepted 
too.

>
> Besides, I should think everybody is used to this kind of writing. In
> case you want to make it explicit, use Ctrl + H + P or Ctrl+H+P. But the
> latter is again cluttered and the former too long. Ctrl H P is just fine.
>
> Oh, and another thing - it would be better if some consistency in
> capitalization is maintained. I see some accelerators in capitals and
> some in small. Capitals are the standard everywhere (especially since
> they are what a use sees on the keyboard) and they should be used.
>
> Thanks for responding.

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Friday, 13 May 2005 14:34:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:33 UTC