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 168561 - File type doesn't always make sense
File type doesn't always make sense
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Sidebar Panel: Information
2.13.x
Other All
: Normal minor
: 2.14.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-26 00:12 UTC by Keith Lea
Modified: 2005-10-20 15:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
How the sidebar looks as of today when displaying "computer:///" (21.75 KB, image/png)
2005-06-04 09:20 UTC, Christian Neumair
  Details
Proposed patch (untested) (723 bytes, patch)
2005-07-28 15:13 UTC, Christian Neumair
rejected Details | Review
Proposed libnautilus-private/ patch (6.36 KB, patch)
2005-07-30 23:14 UTC, Christian Neumair
none Details | Review
Proposed src/ patch (830 bytes, patch)
2005-07-30 23:14 UTC, Christian Neumair
none Details | Review
Committed patch (2.79 KB, patch)
2005-10-20 15:23 UTC, Christian Neumair
none Details | Review

Description Keith Lea 2005-02-26 00:12:02 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:
Comment 1 Christian Neumair 2005-06-03 20:54:31 UTC
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?
Comment 2 Keith Lea 2005-06-04 03:34:40 UTC
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.
Comment 3 Christian Neumair 2005-06-04 09:17:31 UTC
CCing usability-maint. Any particular ideas what should be displayed in the
sidepane for "computer:///"?
Comment 4 Christian Neumair 2005-06-04 09:20:27 UTC
Created attachment 47227 [details]
How the sidebar looks as of today when displaying "computer:///"
Comment 5 Keith Lea 2005-06-05 01:25:20 UTC
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.
Comment 6 Christian Neumair 2005-07-28 15:13:26 UTC
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.
Comment 7 Christian Neumair 2005-07-30 22:53:49 UTC
scary...sorry for the noise.
Comment 8 Christian Neumair 2005-07-30 23:14:26 UTC
Created attachment 49992 [details] [review]
Proposed libnautilus-private/ patch

Adds nautilus_file_is_abstract API which can be used by other parts as well.
Comment 9 Christian Neumair 2005-07-30 23:14:58 UTC
Created attachment 49993 [details] [review]
Proposed src/ patch

Use nautilus_file_is_abstract for sidebar to determine whether to show file
type.
Comment 10 Christian Neumair 2005-10-20 15:23:48 UTC
Created attachment 53697 [details] [review]
Committed patch

The attached patch was committed to Nautilus 2.13 and will be incoporated in
Nautilus 2.14.