Doesn't overwrite existing file - no dialog request

Bug #941202 reported by Sam_
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-screenshot (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

(Ignore the HUD anoyance.)
Make a screenshot with alt+print, name the screenshot 'test-1' and save it to a folder.
Make another screenshot with alt+print, same title and save it to the same folder.
There will be no dialog if you want to replace the existing file, it just closes after selecting the same folder.
Verify the image didn't get overwritten, it's still the first one, also the timestamp didn't change.

The procedure via terminal will display a dialog which is asking if you want to overwrite the existing file and it will in fact replace the file.
~$ gnome-screenshot -w -i --delay=5

** WARNING **: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell was not provided by any .service files

Output from .xsession-errors:
** WARNING **: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell was not provided by any .service files
ERROR 2012-02-26 01:44:38 unity.hud.view HudView.cpp:91 hud search bar lost keynav with no where else to keynav to
WARN 2012-02-26 01:44:39 unity.hud.hud Hud.cpp:183 Attempted to close the hud connection without starting it

Just in case it's important, these lines are repeated hundreds of times during a session, only the id number changes.
WARN 2012-02-26 01:45:06 unity.libdbusmenu-glib <unknown>:0 Generating properties error for: 2710
WARN 2012-02-26 01:45:06 unity.libdbusmenu-glib <unknown>:0 Error getting properties on a new menuitem: Error getting properties for ID

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-screenshot 3.3.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Sun Feb 26 01:40:00 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120204)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-screenshot
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sam_ (and-sam) wrote :
Sam_ (and-sam)
description: updated
Revision history for this message
Sam_ (and-sam) wrote :

Video and .xsession-errors are from guest-account.

Revision history for this message
Sam_ (and-sam) wrote :
Changed in gnome-screenshot (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screenshot - 3.3.92-0ubuntu2

---------------
gnome-screenshot (3.3.92-0ubuntu2) precise; urgency=low

  * debian/patches/ubuntu_interactive_screenshots.patch:
    - updated to handle file replacements as well (lp: #941202)
 -- Sebastien Bacher <email address hidden> Fri, 23 Mar 2012 16:19:26 +0100

Changed in gnome-screenshot (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sam_ (and-sam) wrote :

Thank you Sebastien, the dialog window is back and images are replaced.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.