After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 138085 - cannot keynav to selectable labels
cannot keynav to selectable labels
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
AP2
Depends on:
Blocks:
 
 
Reported: 2004-03-25 12:07 UTC by david.hawthorne
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to implement Calum's suggestion (1.34 KB, patch)
2004-05-18 09:44 UTC, padraig.obriain
none Details | Review

Description david.hawthorne 2004-03-25 12:07:43 UTC
Example: nautilus, file properties, 'Basic' page tab

The fields 'Type' 'Contents' etc cannot be reached with keynav.  This is key for
accessibility/gnopernicus for speech feedback.
Comment 1 Owen Taylor 2004-03-25 14:48:57 UTC
Have you tried control-tab?
Comment 2 padraig.obriain 2004-03-25 15:01:30 UTC
Ctrl+Tab does not work as it is used to move focus out of the GtkNotebook.
Comment 3 david.hawthorne 2004-04-21 12:32:38 UTC
Padraig,

Regarding a11y and screen reading the information of these labels, should 1.
this bug be marked a higher priority or 2. is it up to gnopernicus to use a
different approach to reading this information and open a new bug? Either way,
there must be an open a11y bug on this subject with a high priority.
Comment 4 padraig.obriain 2004-04-21 12:51:25 UTC
Calum,

Can you suggest what should be done about the clashing of keybindings: Ctrl+Tab
is used to move focus out of a GtkNotebook and it is also used to keynav to
selectable labels.
Comment 5 Matthias Clasen 2004-05-09 03:11:49 UTC
The only alternative idea we could come up with would be a mode, which could be
toggled with a keybinding, to determine whether labels should be included or not.
Would that be acceptable ?
Comment 6 Calum Benson 2004-05-13 17:37:33 UTC
Hmmm... so, I guess this is an unforeseen consequence of the discussion in bug
59707 (which from Owen's final comment sounded like it wasn't necessarily
supposed to be the final solution, so I'm not sure if it should really have been
marked "fixed").

I'd really like to see us avoid a mode for this sort of thing... how would a
user find out about it?  How would they tell whether it was on or off at any
given time?  Within a single application you have the option of a menu item that
shows you a mode's current state and the keyboard shortcut for toggling it.  But
I don't think we could really put such a thing on the desktop Actions menu :) 
(We could, perhaps make a case for putting it in the keyboard accessibility
applet, but of course that only helps users who are running GNOME).

I'm afraid the only other solution I can think of at the moment, though, is to
temporarily stop Ctrl-Tab from breaking out of a notebook, while we fix
everything that needs to be fixed to have it work the way we originally wanted
to (i.e. so that focusable labels appeared in the regular Tab sequence, but
without giving focus to something stupid when the dialog first opens).
Comment 7 padraig.obriain 2004-05-18 09:44:39 UTC
Created attachment 27803 [details] [review]
Patch to implement Calum's suggestion
Comment 8 Matthias Clasen 2004-05-18 18:43:56 UTC
We would also have to remove Ctrl-Tab bindings from scrolledwindow, if we go
this route...

Calum, do you have a proposal for a different escape-from-container keybinding ?
Or are you fine with just dropping that functionality ? What does Java use for
this ?
Comment 9 bill.haneman 2004-05-18 19:42:21 UTC
I don't see how we can afford to lose the escape-from-container functionality,
and substituting another keybinding instead seems equally wrong.
Comment 10 Calum Benson 2004-06-09 14:32:35 UTC
I can't find a suitable Java app to test right now, but FWIW I don't think it
(or any other toolkit that springs to mind) implements Ctrl-Tab for tabbed panes
or scrolled windows.  I can't really think of any other shortcut that would make
sense, though (and certainly not one that would make sense for just these two
cases).

If we don't want to drop the shortcut from these two controls, the only other
thing I can suggest is to go back to the original suggestion:  put selectable
labels back in the regular tab sequence, patch GtkMessageDialog to make sure it
always focuses the default button first rather than the message (which IIRC was
the main reason the original patch was backed out), and file and fix any other
issues in individual dialogs as they come up.  I can't imagine there would
really be too many, as regular dialogs should rarely need to use selectable labels.
Comment 11 Elijah Newren 2004-06-19 18:44:47 UTC
Mass changing gtk+ bugs with target milestone of 2.4.2 to target 2.4.4, as
Matthias said he was trying to do himself on IRC and was asking for help with. 
If you see this message, it means I was successful at fixing the borken-ness in
bugzilla :)  Sorry for the spam; just query on this message and delete all
emails you get with this message, since there will probably be a lot.
Comment 12 Matthias Clasen 2004-09-29 05:09:18 UTC
I have put selectable labels back in the regular tab chain now, and modified
GtkDialog to skip labels when looking for the right widget to focus initially.
This seems to work ok with message dialogs, and also with GnomeAbout.