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 140095 - Save As error when desktop == $HOME
Save As error when desktop == $HOME
Status: RESOLVED DUPLICATE of bug 146185
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
CVS HEAD
Other All
: High major
: future
Assigned To: gtk-bugs
gtk-bugs
: 140319 (view as bug list)
Depends on: 140800
Blocks:
 
 
Reported: 2004-04-14 22:30 UTC by Reinout van Schouwen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: 2.6.next
GNOME version: 2.5/2.6



Description Reinout van Schouwen 2004-04-14 22:30:53 UTC
I have Nautilus configured to use $HOME as desktop.
In the Save As dialog I get an error message when selecting the Desktop
location, because it looks specifically for $HOME/Desktop. Either is should
leave out the Desktop location in this case, or make no difference between Home
and Desktop.
Comment 1 Federico Mena Quintero 2004-04-15 02:15:53 UTC
A few things about this:

The file chooser doesn't pay attention to the setting in Nautilus, because we
haven't implemented a way for them to communicate.

However, it does test for the presence of a ~/Desktop folder.  It should work
correctly even if you don't have one, or even if it does exist but is a symlink
to another place.

What error message do you get?
Comment 2 Reinout van Schouwen 2004-04-15 08:16:55 UTC
Kon de huidige map niet instellen op file:///home/reinout/Desktop:
error accessing 'Pʴ:///home/reinout/Desktop': Bestand niet gevonden
..which means as much as 'file not found'. In a way, yes, this is testing for
the presence of a ~/Desktop folder but... ;)

BTW, checking if $HOME==desktop shouldn't involve more than just reading a gconf
key, should it?
Comment 3 Federico Mena Quintero 2004-04-19 23:37:36 UTC
OK, this only happens with the gnome-vfs backend. 
gtk_file_system_gnome_vfs_get_folder() always returns a folder structure, as it
tries to load it asynchronously.  It should test for actual presence of the
folder before it creates the folder structure.

The unix backend works fine.
Comment 4 Federico Mena Quintero 2004-04-19 23:38:15 UTC
*** Bug 140319 has been marked as a duplicate of this bug. ***
Comment 5 Federico Mena Quintero 2004-04-22 00:49:32 UTC
Fixed on CVS.  Please update your libgnomeui.
Comment 6 Federico Mena Quintero 2004-04-22 01:16:14 UTC
Reopening because the patch I put in may not be needed once bug #140800 is fixed.
Comment 7 Federico Mena Quintero 2004-07-21 03:05:52 UTC

*** This bug has been marked as a duplicate of 146185 ***