GNOME Bugzilla – Bug 168561
File type doesn't always make sense
Last modified: 2005-10-20 15:24:31 UTC
Please describe the problem: When I open "Computer" in the File Browser, the Information sidebar shows "x-directory/normal, 11 items". This is very silly considering that my computer is not a directory. Also, I don't think it's relevant that there are 11 items - when would I need to know this? Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
If you don't need this information, why don't you just hide it? Technically, "computer:///" is a folder. What else would you propose to be shown?
You're telling me I should have to click a menu to hide the information bar whenever I'm looking at Computer, so it doesn't tell me what the mime type of my computer is. I think you should think about what you said, and maybe sleep on it, and come back and see what a silly thing you suggested.
CCing usability-maint. Any particular ideas what should be displayed in the sidepane for "computer:///"?
Created attachment 47227 [details] How the sidebar looks as of today when displaying "computer:///"
I believe technically this issue should have been marked as fixed whenever the change you showed in that screenshot was made. This bug is about it saying x-directory/normal. However, I think this bug can be left open now because "folder" is not cool either. Personally I think it should say nothing where it says "folder," now.
Created attachment 49882 [details] [review] Proposed patch (untested) ...makes the computer URI not identify itself as folder (also useful for the hosed computer:/// properties page). This is performance-critical and requires further testing, since it is called very often.
scary...sorry for the noise.
Created attachment 49992 [details] [review] Proposed libnautilus-private/ patch Adds nautilus_file_is_abstract API which can be used by other parts as well.
Created attachment 49993 [details] [review] Proposed src/ patch Use nautilus_file_is_abstract for sidebar to determine whether to show file type.
Created attachment 53697 [details] [review] Committed patch The attached patch was committed to Nautilus 2.13 and will be incoporated in Nautilus 2.14.