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 126295 - No focus indication for empty GtkTreeView
No focus indication for empty GtkTreeView
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.3.x
Other All
: Normal normal
: ---
Assigned To: Federico Mena Quintero
Control-Center Maintainers
AP2
Depends on:
Blocks:
 
 
Reported: 2003-11-05 15:38 UTC by Patrick Wade
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (792 bytes, patch)
2004-03-12 15:04 UTC, padraig.obriain
none Details | Review

Description Patrick Wade 2003-11-05 15:38:21 UTC
Using a HighContrastLargePrintInverse theme:-

- Launch the 'File types and programs' utility.
- Click 'Add File Type' button.

The "Add File Type" dialog appears.

- Press <TAB> until you have traversed down to the 'Add:' text field.
- Press <TAB> to travel to the empty filename extension list.

See that there is no indication that this list has focus.
Comment 1 padraig.obriain 2003-11-27 14:51:03 UTC
A GtkScrolledWindow seems to have focus.

Is the bug that there is no focus indication or that the
GtkScrolledWindow is focusable?
Comment 2 Luis Villa 2004-01-02 16:10:48 UTC
Also, I think this is scheduled to be replaced in the next few days- 
might not be relevant soon. JRB?
Comment 3 Calum Benson 2004-01-23 15:08:23 UTC
Updating status whiteboard to reflect a11y team's assessment of priority.
Comment 4 padraig.obriain 2004-03-09 08:22:56 UTC
Patrick,

Is this bug still present?
Comment 5 Calum Benson 2004-03-12 12:05:29 UTC
I'd say the fix here is not to make the empty list focusable (possibly
just by disabling it, although that doesn't feel quite right
somehow)-- AFAICT there's not much point in being able to focus it
when it's empty.

The other alternative as you say would be to implement a focus
indicator for list/tree controls, but IIRC this option has been
rejected by the gtk+ team in the past.
Comment 6 padraig.obriain 2004-03-12 15:00:40 UTC
The problem is that the focus is being put on the GtkScrolledWindow
even though the scrollbars are not visible. See bug #63480.

I have a patch which does not focus the GtkScrolledWindow if the
scrollbars are not visible.
Comment 7 padraig.obriain 2004-03-12 15:04:57 UTC
Created attachment 25561 [details] [review]
Proposed patch
Comment 8 Jonathan Blandford 2004-03-13 01:21:07 UTC
milestoning for post 2.4.0
Comment 9 Elijah Newren 2004-06-19 18:44:24 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 10 Federico Mena Quintero 2004-07-14 19:29:40 UTC
I'm working on this.  There's also some code that prevents you from actually
tabbing into an empty treeview; I'm taking that out.
Comment 11 Federico Mena Quintero 2004-07-15 01:39:22 UTC
Fixed on both the gtk-2-4 and HEAD branches.