GNOME Bugzilla – Bug 142087
Option to show full path
Last modified: 2010-07-30 13:58:10 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.
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.
*** Bug 138450 has been marked as a duplicate of this bug. ***
Still an issue, updating version.
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.
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...
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?
(In reply to comment #6) My mistake. I hadn't installed it properly. The patch still seems to work fine with 2.18.
Created attachment 107605 [details] [review] location_titlebar.patch Patch updated for nautilus 2.22
string additions => 2.23
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.
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.
hm. Closing this bug as OBSOLETE based on the last comment. Feel free to reopen if you think this is inapproopriate.