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 692386 - Selecting 0✕0 screenshot area produces "All possible methods failed" error message
Selecting 0✕0 screenshot area produces "All possible methods failed" error me...
Status: RESOLVED FIXED
Product: gnome-screenshot
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-screenshot-maint
gnome-screenshot-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-23 13:52 UTC by Robert Roth
Modified: 2013-01-23 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Roth 2013-01-23 13:52:36 UTC
Originally reported by Matthew Paul Thomas at https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1102484

1. Launch Screenshot.
2. Choose "Select area to grab", then "Take Screenshot".
3. Click on the screen, without dragging at all.

What happens: An error messaging appears, "Unable to capture a screenshot" "All possible methods failed".

What should happen: The Screenshot window reappears for you to try again or choose different options.

If starting gnome-screenshot from the console with gnome-screenshot -i the following log messages appear:

(gnome-screenshot:13365): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion `width > 0 && height > 0' failed

(gnome-screenshot:13365): Gtk-CRITICAL **: gtk_window_resize: assertion `width > 0' failed

** (gnome-screenshot:13365): CRITICAL **: Unable to capture a screenshot of any window
Comment 1 Cosimo Cecchi 2013-01-23 15:44:46 UTC
Thanks for the report, I implemented these suggestions (and fixed the error message) in git master now.