GNOME Bugzilla – Bug 321944
gnome-screenshot might point saved screenshots to nowhere eventually destroying them
Last modified: 2008-11-09 12:18:12 UTC
Make a temporary folder on desktop, take a screenshot and save the file to the folder with the selector. Rename the temporary folder, move to Trash and now make a screenshot again. The dialog will point to nowhere (an empty entry), saving the screenshot does not have any effect, and if someone does not pay attention might easily loose some images, as I did. If the remembered folder where last screenshot was saved disappears, then the dialog should default to Desktop or Home.
Created attachment 54977 [details] a shot of the nowhere entry Illustration of the problem - not found recent location of screenshots ends up with a nowhere entry
I followed the steps above, and I was not able to reproduce running gnome-screenshot version 2.13.4. When I renamed and/or moved the temporary folder to the trash, the default 'save in folder' became Home.
It's hard to me, to comment on the development version, since I do not have a testing platform. But I will try to test this on another computers and systems.
On 2.16, it seems to default to my home-dir when trying to save but it gives an error complaining the file (the previously existing directory) doesn't exist. The error-message is a bit cryptic (should be enhanced!). But, when clicking OK on this dialog, it changed the dir from home to ~/Desktop so it looks weird, this is a bug IMO.
*** Bug 454999 has been marked as a duplicate of this bug. ***
Confirming because of the duplicate.
See also https://bugs.launchpad.net/gnome-utils/+bug/173451
Fixed in trunk. 2008-11-09 Cosimo Cecchi <cosimoc@gnome.org> * gnome-screenshot.c: (check_file_done), (try_check_file), (prepare_screenshot), (get_desktop_dir): Always use URIs to build the GFile when checking for existance. Don't show an error message when the file-chooser can't find the parent directory of the last saved position. (#321944).