[Bug 724419] New: gnome-screenshot Fails to Replace an Older File with The Same Name Already Exist in the Same Place
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c0 Summary: gnome-screenshot Fails to Replace an Older File with The Same Name Already Exist in the Same Place Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: andisugandi@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 After pressing "Print Screen" key on keyboard, gnome-screenshot takes the captured screen and try to save it in /home/user/Picture directory , name it for example: GNOME32-openSUSE121-bak.png .[0] [0] https://picasaweb.google.com/lh/photo/HXKIn20zbTh1Xbdm1EV3EQ But if in the directory has already file with the same name, and user chooses to replace the older one[1], then gnome-screenshot will fail to replace it and produce the error dialog[2]. [1] https://picasaweb.google.com/lh/photo/tDovprLlul2Q1ku8l-a4vw [2] https://picasaweb.google.com/lh/photo/uPV67pezNbyvBhJH4bTONA
rpm -qf /usr/bin/gnome-screenshot gnome-utils-3.2.0-3.1.x86_64
rpm -qa gnome-utils\* gnome-utils-3.2.0-3.1.x86_64 gnome-utils-debuginfo-3.2.0-3.1.x86_64
cat /etc/SuSE-release openSUSE 12.1 Beta 1 (x86_64) VERSION = 12.1 CODENAME = Asparagus
Do you need traces/debug info to complete the bug report? Reproducible: Always Steps to Reproduce: 1. Running GNOME 3.2 desktop on openSUSE 12.1 Beta1 (Factory) 2. Run gnome-screenshot, save the file: X.png 3. Re-run step 2, and try to replace the older existing file. Actual Results: It produces error dialog. Expected Results: It should successfully replace the older existing file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c1 --- Comment #1 from Andi Sugandi <andisugandi@opensuse.org> 2011-10-16 05:27:40 UTC --- Created an attachment (id=456779) --> (http://bugzilla.novell.com/attachment.cgi?id=456779) [0] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c2 --- Comment #2 from Andi Sugandi <andisugandi@opensuse.org> 2011-10-16 05:28:33 UTC --- Created an attachment (id=456780) --> (http://bugzilla.novell.com/attachment.cgi?id=456780) [1] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c3 --- Comment #3 from Andi Sugandi <andisugandi@opensuse.org> 2011-10-16 05:29:07 UTC --- Created an attachment (id=456781) --> (http://bugzilla.novell.com/attachment.cgi?id=456781) [2] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c4 --- Comment #4 from Andi Sugandi <andisugandi@opensuse.org> 2011-10-16 05:41:03 UTC --- It might be also upstream issue (?): https://bugzilla.gnome.org/show_bug.cgi?id=657531 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c Andi Sugandi <andisugandi@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|gnome-screenshot Fails to |gnome-screenshot Fails to |Replace an Older File with |Replace an Older File with |The Same Name Already Exist |The Same Name Already Exist |in the Same Place |in the Same Directory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c5 --- Comment #5 from Andi Sugandi <andisugandi@opensuse.org> 2011-10-17 04:55:43 UTC --- Created an attachment (id=456823) --> (http://bugzilla.novell.com/attachment.cgi?id=456823) strace.log file produced by: "strace -f -ttt -o strace.log gnome-screenshot" , then "grep screenshot strace.log > strace.log.screenshot" to get strace.log.screenshot file attached to BNC# 724419 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724419 https://bugzilla.novell.com/show_bug.cgi?id=724419#c6 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dimstar@opensuse.org Resolution| |FIXED --- Comment #6 from Dominique Leuenberger <dimstar@opensuse.org> 2012-07-01 18:40:01 UTC --- Thank you very much for your report. This particular issue has been addressed in the GNOME 3.4 release cycle and will be fixed in the upcoming openSUSE 12.2 release. Due to the nature of the bug and the ease of avoiding it (do not choose an existing file name while saving a screenshot), we will not try to backport the fix on GNOME 3.2 gnome-screensaver. (Upstream reference for the fix: http://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=0737d4ec4eec889a2b2e4dcff806954b26e700a3 ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com