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 94358 - No initial visible focus
No initial visible focus
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: general
2.11.x
Other Solaris
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
AP4
: 167486 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-09-27 12:48 UTC by John Sheehan
Modified: 2012-09-10 12:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description John Sheehan 2002-09-27 12:48:41 UTC
On the multihead branch:

There never seems to be visible focus when you key nav around Gnome.  
You need to hit tab or arrow to make focus visible.  

For example, if entering a directory and focus is (invisibly) in the
main pane, hitting shift+F10 gives you a grayed out icon menu for
a non-existent icon.
Comment 1 Calum Benson 2003-04-03 13:21:07 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 2 Calum Benson 2003-08-07 16:17:04 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 3 Calum Benson 2004-10-21 16:49:24 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 4 Sebastien Bacher 2005-05-22 12:32:39 UTC
*** Bug 167486 has been marked as a duplicate of this bug. ***
Comment 5 Calum Benson 2006-04-26 17:15:06 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 6 Allan Day 2010-07-09 09:50:35 UTC
This is an old bug but there's been little clarification of the issue or a proposed solution. Can anybody elaborate?
Comment 7 padraig.obriain 2010-07-16 08:13:18 UTC
When a nautilus window is opened the focus is on the main pane but there is no visible indication of this. This can be verified by pressing Shift+F10 which bring up the context menu for the main pane.

This bug was a request that there be some visible indication of this.

The fact that we have survived this long with so little activity on this bug suggests that this is not a major issue and could perhaps be closed as willnotfix.
Comment 8 Allan Day 2010-07-16 09:57:52 UTC
(In reply to comment #7)

Thanks for the update Padraig.

> The fact that we have survived this long with so little activity on this bug
> suggests that this is not a major issue and could perhaps be closed as
> willnotfix.

I think it is a major issue, both for a11y and usability. The main thing we need is a proposal for how to fix this. The obvious thing to do would be to draw some kind of highlight round the inner edge of the viewing area, I suppose...
Comment 9 Calum Benson 2011-05-04 12:41:50 UTC
There is precedent for drawing a standard focus indicator around the background -- Yelp does this (or at least, it did in 2.x -- haven't checked in 3.0). 

Interestingly though, Yelp doesn't draw it immediately when you open the window, but only if you press Tab to move focus to the first link, then Shift-Tab to move it back to the page background. I forget if this was a deliberate aesthetic compromise, or if it's just a bug. (Cc'ing Shaun to find out...)
Comment 10 Shaun McCance 2011-05-04 13:37:10 UTC
Just tested Yelp 2 and Yelp 3. Yelp 2 does focus the entire page, but it doesn't have a visual indication of it unless you Tab to the first link and then Shift+Tab back to the page. Yelp 3 doesn't behave the same. The initial focus is (and the focus after Shift+Tab from the first link) seems to be on the scrolled window. This is mentioned in bug #613657.

But Yelp isn't doing anything special with focus or visual indicators of focus. The behavior in Yelp 2 is just the default behavior of Gecko. The behavior in Yelp 3 is just the default behavior of WebKit. I've left bug #613657 open because of this behavior, but the proper fix should probably be in WebKitGTK+.
Comment 11 Calum Benson 2011-05-04 16:40:20 UTC
Thanks, I'd forgotten it would be Gecko that controlled the focus indicator. Sure enough, I see the same behaviour in Firefox.

As I mentioned in comment #9, I suspect that Gecko behaviour is deliberate, although I can't find any confirmation of that at the moment --  especially when it's being used in a regular web browser, you probably wouldn't want every page to open with a dotted line around it by default, even though strictly speaking, it ought to. But equally, you wouldn't want the focus indicator to disappear at any point once you did start to Tab around things.

Whether it makes sense to apply the same logic to Nautilus, I'm not sure. I'd guess not, as people don't spend their lives making pixel perfect Nautilus pages only to have them spoiled by a dotted line around the edge :)
Comment 12 William Jon McCann 2012-07-21 05:38:47 UTC
*** Bug 672281 has been marked as a duplicate of this bug. ***
Comment 13 William Jon McCann 2012-09-10 12:54:36 UTC
Cosimo and I agree with Padraig. The list or grid views have focus by default but we don't think it makes sense to draw a focus rectangle around the entire view. If we did this we'd want to do it consistently for all GNOME apps and that would add a significant amount of visual noise. The selected item is indicated in the view once you start to keynav and that seems like it is good enough.