Re: GTK+ accessibility

2015-07-16 Thread Bryan Gardiner
On Thu, 16 Jul 2015 18:20:21 +0100
Emmanuele Bassi eba...@gmail.com wrote:

Hello!

 On 16 July 2015 at 17:49, Bryan Gardiner b...@khumba.net wrote:
 
  This is largely something that only Windows does — I cannot reproduce
  it on my Linux machine with any toolkit (GTK2, GTK3, Qt, or the ad hoc
  toolkits used by Firefox and LibreOffice).
 
  Just a note, the default Qt widget style on Linux does have this behaviour
 
 I just tested with VLC (which is the only Qt app I have installed at
 the moment) and it didn't happen. I had to press Alt + M to highlight
 the Media menu. If I pressed Alt only, I didn't get any focus hint on
 the menu bar

Okay, I poked around and it depends on the style.  The majority of the
stock styles do; KDE/Oxygen doesn't.

  (and so does Firefox *if* the menu bar is hidden by default).
 
 That's pretty much ad hoc behaviour because otherwise there's no way
 to access the menu — I also find it extremely irritating because it
 makes the content area jump around, though that may be just me ;-) —

Oh, completely agreed there.

 but even then, the menu is not focused: the menu bar is shown, but
 it's not given focus.

It really is focused for me, as in I can hit accelerator keys and use
the arrows to navigate the menubar, although I suspect that's because
my Firefox is built against gtk2 :).

Anyway, in lieu of Alt being consistent with Windows, F10 seems to be
a key shared between GTK+ and Windows for focusing the menubar
(assuming GTK+/Windows respects this shortcut).

Thanks,
Bryan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+ accessibility

2015-07-16 Thread Miroslav Rajcic

On 15.7.2015. 14:12, Emmanuele Bassi wrote:

you probably want to contact the gnome-accessibility team, on
gnome-accessibility-l...@gnome.org.


Will do as suggested, thanks.

Regards,
  Miroslav
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: GTK+ accessibility

2015-07-16 Thread Bryan Gardiner
On Wed, 15 Jul 2015 13:12:22 +0100
Emmanuele Bassi eba...@gmail.com wrote:

 Hi;
 
 you probably want to contact the gnome-accessibility team, on
 gnome-accessibility-l...@gnome.org.
 
 On 15 July 2015 at 12:55, Miroslav Rajcic miroslav.raj...@inet.hr wrote:
 
  I've checked other programs and it seems that:
  1. Windows native programs (see Notepad for example) obey this behavior,
  pressing Alt does select menu bar item
  2. created basic GTK program with menu bar, this behavior is not obeyed (see
  test source code below)
  I've played with different GTK settings like gtk-auto-mnemonics and
  gtk-enable-mnemonics, but no help.
 
 These are for mnemonics to appear, when you press Alt or at all,
 respectively. The settings do not control focus.
 
  My question:
  - am I missing some setting here ?
  - is this unsupported?
 
 This is largely something that only Windows does — I cannot reproduce
 it on my Linux machine with any toolkit (GTK2, GTK3, Qt, or the ad hoc
 toolkits used by Firefox and LibreOffice).

Just a note, the default Qt widget style on Linux does have this behaviour
(and so does Firefox *if* the menu bar is hidden by default).

Cheers,
Bryan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+ accessibility

2015-07-16 Thread Michael Torrie
On 07/16/2015 01:39 AM, Miroslav Rajcic wrote:
 On 15.7.2015. 14:12, Emmanuele Bassi wrote:
 you probably want to contact the gnome-accessibility team, on
 gnome-accessibility-l...@gnome.org.
 
 Will do as suggested, thanks.

F10 seems to focus on the menu on GTK apps.  That could be a good
workaround in the meantime.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list