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 142087 - Option to show full path
Option to show full path
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Preferences
2.13.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 138450 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-05-07 10:26 UTC by Stephen Kennedy
Modified: 2010-07-30 13:58 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch from Adrien Delle Cave (5.06 KB, patch)
2007-03-03 22:39 UTC, Josselin Mouette
none Details | Review
Added patch to display current location in title bar. (7.91 KB, patch)
2007-04-22 00:24 UTC, Decryptus
none Details | Review
location_titlebar.patch (7.22 KB, patch)
2008-03-19 12:55 UTC, Sebastian Dröge (slomo)
needs-work Details | Review

Description Stephen Kennedy 2004-05-07 10:26:52 UTC
When using the spatial view, its not obvious at a glance where the current
window is in the filesystem.

An option to show the full path in the title bar would be very helpful. Perhaps
in the form "basename : fullpath" so that the window list shows useful text.
Comment 1 joh 2004-06-01 12:34:11 UTC
Yeah. Having only the current folder in the window title and the full path
*nowhere* in the window is error-prone and easily leads to doing things to files
in the wrong folder. In browser mode there is still the location entry (which
has the full path), but in spatial mode this is a crucial information missing.

I know that this has been discussed elsewhere and the reasoning was "only
advanced  users need this". This is not exactly right, as soon as you don't have
a totally flat folder structure this starts to feel fishy, even to novice users. 

For Nautilus it could help greatly if it would (optionally) display the full
path but abbreviate the "/home/user/"-part of the path to "~/" in the window
title. For folders flat in the home directory this would add just two characters
to the window title and if you're deeper in, you still know exactly where you are.

BTW: Older wm/toolkits had different notations for "window title" and "minimized
window title" so that apps could offer a full length title for their windows and
a shorter one for window lists (or icons or whatever), which is the correct
solution for the problem. 
Comment 2 Thierry Moisan 2004-09-19 02:34:25 UTC
*** Bug 138450 has been marked as a duplicate of this bug. ***
Comment 3 Christian Neumair 2006-02-26 08:45:53 UTC
Still an issue, updating version.
Comment 4 Josselin Mouette 2007-03-03 22:39:48 UTC
Created attachment 83849 [details] [review]
Patch from Adrien Delle Cave

I have adapted a patch from Adrien Delle Cave that achieves this effect. I think it needs some work to not display the URI when not needed (e.g. computer:///), but on local filesystems it's an improvement.
Comment 5 Decryptus 2007-04-22 00:24:22 UTC
Created attachment 86765 [details] [review]
Added patch to display current location in title bar.

Add not displaying the URI when it is not needed (like 
computer:///, network:///)
Replace /home/foo by ~ when the current navigation is in the home dir.
Add full uri support like smb://, ftp://, burn:/// etc...
Comment 6 Jalani Kanem 2007-12-07 01:10:52 UTC
I tried the most recent patch here on a more recent version of Nautilus (2.18.1) with mixed results:

The patch claimed to be successful. And the full path does show correctly in both spatial and browser mode.

A right click does not bring up the context menu. The shell I started Nautilus from reads:
(nautilus:15414): Eel-CRITICAL **: eel_pop_up_context_menu: assertion `GTK_IS_MENU (menu)' failed

Neither the Main Toolbar (back, forward, up, etc.) nor the Menu bar show up in browser mode.

I assume these problems are caused by the changes that have gone into Nautilus since the patch was created. 

Is anyone interested in updating this? Or, if by some miracle I were able to update it, does it have a chance of becoming an option in Nautilus?
Comment 7 Jalani Kanem 2007-12-07 18:35:54 UTC
(In reply to comment #6)
My mistake. I hadn't installed it properly. The patch still seems to work fine with 2.18.

Comment 8 Sebastian Dröge (slomo) 2008-03-19 12:55:39 UTC
Created attachment 107605 [details] [review]
location_titlebar.patch

Patch updated for nautilus 2.22
Comment 9 André Klapper 2008-03-19 14:17:45 UTC
string additions => 2.23
Comment 10 Sebastian Dröge (slomo) 2008-03-19 14:27:48 UTC
This will give very weird titles for trash:// for example or everywhere where the encoding is not UTF8 (you'll get %XX things in the title).

Alex proposed to use "dirname (in parentdirname)" as title, maybe with more levels up to make it unique among all windows.
Comment 11 Allan Day 2010-06-14 14:07:51 UTC
The path bar fixes this issue, doesn't it?

Besides, we shouldn't be exposing users to the full path by default - it's confusing.
Comment 12 Tobias Mueller 2010-07-30 13:58:10 UTC
hm. Closing this bug as OBSOLETE based on the last comment. Feel free to reopen if you think this is inapproopriate.