gnome screenshot breaks if I don't have ~/Pictures directory

Bug #934187 reported by Colin Ian King
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-screenshot (Ubuntu)
Invalid
Low
Unassigned

Bug Description

If I take a screen shot using Print Screen and I don't have a /home/$USER/Pictures directory I get a crash pop-up saying "Sorry, Screenshot closed unexpectedly".

I'm confused - the old mechanism allowed me to save the image, but now it's being dumped in a directory not of my choosing which does not exist. I had no idea that Print Screen now dumps the image into ~/Pictures - how was I meant to find this change in functionality? Totally undiscoverable.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-screenshot 3.3.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Feb 17 13:15:42 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
SourcePackage: gnome-screenshot
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Colin Ian King (colin-king) wrote :
Revision history for this message
Sam_ (and-sam) wrote :

Colin, it's debated in bug 927952

Revision history for this message
Colin Ian King (colin-king) wrote :

Hi Sam, thanks,

however, I'm still flagging up the main issue which is:

"If I take a screen shot using Print Screen and I don't have a /home/$USER/Pictures directory I get a crash pop-up saying "Sorry, Screenshot closed unexpectedly"."

I'm pretty sure checking if a directory exists is better than getting a crash error message.

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

Agree, though I think when 927952 solves the root cause which introduced exactly the deliberate move to pictures directory, then there won't be a reason to crash. The issue currently is that user has no interactive mode to select from a dialog where to save the image. When there is a dialog the app talks to the user instead of doing what it wants by itself or worse as just crashing.

Revision history for this message
Colin Ian King (colin-king) wrote : Re: [Bug 934187] Re: gnome screenshot breaks if I don't have ~/Pictures directory

On 17/02/12 22:32, Sam_ wrote:
> Agree, though I think when 927952 solves the root cause which introduced
> exactly the deliberate move to pictures directory, then there won't be a
> reason to crash. The issue currently is that user has no interactive
> mode to select from a dialog where to save the image. When there is a
> dialog the app talks to the user instead of doing what it wants by
> itself or worse as just crashing.
>
Cool. Thanks!

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

Colin, latest update of gnome-screenshot reverts the automatically drop to pictures directory - but only for unity.
The path for auto-save-directory can also be changed via dconf-editor:
org.gnome.gnome-screenshot

Revision history for this message
Colin Ian King (colin-king) wrote :

Since this mechanism has been reverted back to the old style of dialogue box, this is no longer an issue. Marking as invalid.

Changed in gnome-screenshot (Ubuntu):
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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