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 321944 - gnome-screenshot might point saved screenshots to nowhere eventually destroying them
gnome-screenshot might point saved screenshots to nowhere eventually destroyi...
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: screenshot
2.12.x
Other FreeBSD
: Normal normal
: ---
Assigned To: Jonathan Blandford
gnome-utils Maintainers
: 454999 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-20 17:30 UTC by Piotr Smyrak
Modified: 2008-11-09 12:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
a shot of the nowhere entry (21.94 KB, image/png)
2005-11-20 17:33 UTC, Piotr Smyrak
Details

Description Piotr Smyrak 2005-11-20 17:30:58 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.
Comment 1 Piotr Smyrak 2005-11-20 17:33:40 UTC
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
Comment 2 Dennis Cranston 2005-12-23 19:49:08 UTC
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.
Comment 3 Piotr Smyrak 2006-01-22 19:29:03 UTC
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.
Comment 4 Karel Demeyer 2007-01-22 10:17:44 UTC
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.

Comment 5 Teppo Turtiainen 2007-12-08 13:11:04 UTC
*** Bug 454999 has been marked as a duplicate of this bug. ***
Comment 6 Teppo Turtiainen 2007-12-08 13:11:48 UTC
Confirming because of the duplicate.
Comment 7 Ralph Janke 2008-04-01 15:06:08 UTC
See also https://bugs.launchpad.net/gnome-utils/+bug/173451
Comment 8 Cosimo Cecchi 2008-11-09 12:18:12 UTC
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).