GNOME Bugzilla – Bug 144500
When desktop_is_home_dir, file dialogs still show "Desktop"
Last modified: 2013-05-24 06:43:23 UTC
If the "desktop_is_home_dir" is false all file dialogs (open/save) will still show the "Desktop" Link even if it's pointless since ~/Desktop doesn't exists (or, at least, is not used). (submitting to nautilus, dunno if it the really rigth place for this)
That's fileselector issue. There is a similar one for the single/double click mode (#121113). Reassigning.
Isn't this a dupe of bug 324631?
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/gtk+2.0/+bug/60384
Thomas, it's not a dupe. I reported a new one (bug 480340), which happens with 'main-menu' and 'menubar' applets. Both of them still show the 'Desktop' when desktop_is_home_dir is set.
Created attachment 103537 [details] Screenshot of the problem I have this too: http://ubuntuforums.org/showthread.php?p=4190216#post4190216 "I set my Desktop to be the same as my home folder (you know, in gconf-editor) but when the open / save dialog appears, both folders appear. The Desktop one does nothing, it only redirects to my home again, and I would like it not to show"
I also have this problem. Strangely, it only shows up when folders that aren't owned by an account are under /home (I have /home on a seperate partition).
Quite odd, after moving the directories back under /home, the problem still is gone.
*** Bug 516280 has been marked as a duplicate of this bug. ***
*** Bug 496245 has been marked as a duplicate of this bug. ***
Created attachment 120337 [details] [review] Skip Desktop if it equals the home folder This patch makes the file chooser skip the Desktop shortcut if the folder equals the user's home folder.
(In reply to comment #10) > Created an attachment (id=120337) [edit] > Skip Desktop if it equals the home folder > > This patch makes the file chooser skip the Desktop shortcut if the folder > equals the user's home folder. > The patch looks quite correct to me from a XDG point of view, unfortunately this isn't enough IMHO, since the desktop_is_home_dir GConf key is quite older, and probably what most users modify since at least there's a GUI for it. Another possibility would be to convince nautilus hackers to deprecate that key in favour of XDG user dirs. Also, I'm thinking that maybe users would appreciate more to have a "Desktop" shortcut than a "home" one if both are the same, since the latter is more meaningless and doesn't have a visual representation as "Desktop" does. Although this probably differs with nautilus' behavior...
(In reply to comment #11) > (In reply to comment #10) > > Created an attachment (id=120337) [edit] > > Skip Desktop if it equals the home folder > > > > This patch makes the file chooser skip the Desktop shortcut if the folder > > equals the user's home folder. > > > > The patch looks quite correct to me from a XDG point of view, unfortunately > this isn't enough IMHO, since the desktop_is_home_dir GConf key is quite > older, and probably what most users modify since at least there's a GUI for > it. > > Another possibility would be to convince nautilus hackers to deprecate that > key in favour of XDG user dirs. Maybe it would be possible to set the Desktop folder XDG style if desktop_is_home_dir is set, and then deprecate it. That's going to be a follow-up bug in Nautilus. > Also, I'm thinking that maybe users would appreciate more to have a "Desktop" > shortcut than a "home" one if both are the same, since the latter is more > meaningless and doesn't have a visual representation as "Desktop" does. > Although this probably differs with nautilus' behavior... I would think, given that Home is kind of a metaphor set in stone even outside any desktops, and since it's topmost in the shortcuts/ places, Home is far more important. And it would probably feel weird with Home being in all applications, to not see it in the shortcuts. I see your "visual" aspect, Desktop being a big window with icons on it. That doesn't weigh as much as the other points I mentioned, though - from my point of view.
> Maybe it would be possible to set the Desktop folder XDG style if > desktop_is_home_dir is set, and then deprecate it. That's going to be a > follow-up bug in Nautilus. I could be mistaken, but I thought nautilus already does that ?
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Skip Desktop if it equals the home folder.
*** Bug 466093 has been marked as a duplicate of this bug. ***