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 44304 - can't tell unreadable folder from empty folder in tree view
can't tell unreadable folder from empty folder in tree view
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: [obsolete] Sidebar Panel: Tree
2.11.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 312004 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2000-10-31 02:36 UTC by Will LaShell
Modified: 2011-08-18 20:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Will LaShell 2001-09-10 00:45:14 UTC
If you click on the name of the directory, and you don't have the correct
permissions to enter/expand the node, a warning dialog pops up. There is no
warning if you only click on the little triangle to expand the branch. It
silently fails.

This was confusing for a minute when I was testing copy and paste. I would
click, and nothing would happen.



------- Additional Comments From mjs@noisehavoc.org 2000-11-03 20:41:23 ----

We could probably show visual feedback for this - an emblem or "unreadable
folder" icon of some sort. Design help!




------- Additional Comments From sullivan@eazel.com 2000-11-06 12:08:03 ----

My first thought is that there's probably not enough room in the tree view to 
make a recognizable "reduced permissions" graphic. (Where would it go? 
On top of the tiny folder icon?). So even if we do come up with a 
perhaps-recognizable graphic, I think we probably do want to put up a "you 
can't do that" dialog when the user tries to expand the folder.



------- Additional Comments From arlo@workthatmouse.com 2000-11-06 14:05:34 ----

I've been pushing Andy to let there be a special folder design for 

non-readable folders.



If this were the case, the user would see that folder type in the tree view 

and know that they couldn't expand it.



------- Additional Comments From sullivan@eazel.com 2000-11-06 14:45:17 ----

I think such a design could certainly help, but I am not confident that all 
users would understand the distinction by itself. These icons are very 
small, and different themes would look different (maybe some lazy 
theme-maker would use the same icon for both cases), so the visual 
distinction might not be enough. I still think displaying a dialog isn't a bad 
idea.

Another possibility is to make the expansion triangle be present but look 
disabled, but I don't know how much work that would be too get right, and 
it still might not be totally clear to everyone.



------- Additional Comments From mjs@noisehavoc.org 2000-11-27 22:08:53 ----

If you visit an unreadable directory in the main nautilus view
(/home/httpd/cgi-bin makes a good example) it gets displayed but appears to be
empty. So fundamentally the problem here is that unreadable directories are
being treated the same as empty directories. Would appreciate design guidance
for resolving the general case of this problem.

(NautilusDirectory currently has no API to detect directory load errors; perhaps
Darin has advice on the subject so I am cc-ing him).




------- Additional Comments From darin@bentspoon.com 2000-11-28 12:01:08 ----

It's easy to add what we need to NautilusFile so that the clients can detect the error. I 
still don't know what the minimum acceptable desired user interface is, though, so 
it's hard to make a specific suggestion. It would be easy to add an error code to the 
done_loading signal, for example, but I can't tell if that would be sufficient.

We'll need to fix the tree view and the main content view separately, of course, and 
probably use different UI for the two cases. Having one bug to cover both seems 
suboptimal.



------- Additional Comments From mjs@noisehavoc.org 2000-12-20 16:33:57 ----

This only seems to happen in the tree view currently.

A good design might be to refuse to rotate the disclosure triangle, and put a
message in the status bar.




------- Additional Comments From mjs@noisehavoc.org 2000-12-20 16:36:15 ----

This can probably wait until 1.0.1 or later.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:45 -------
Comment 1 John Fleck 2002-01-05 04:06:09 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Aschwin van der Woude 2002-11-05 12:41:05 UTC
This still seems valid. When I don't have permission and click the
triangle, it will indicate the directory is empty. I don't know if
this is entirely correct behaviour.
Comment 3 Matthew Gatto 2004-02-21 05:14:44 UTC
Still in 2.5, so bumping Version.
Comment 4 Brent Smith (smitten) 2005-08-02 19:14:35 UTC
*** Bug 312004 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2011-08-18 20:58:29 UTC
In 3.1.4 there is a different emblem in the Tree Sidebar (folder with X), plus expanding a folder by clicking the small + in front of its name does not give it the focus. You have to click on it to see its contents and will receive an permissions error.

Closing as OBSOLETE.