gnome-screenshot exits with BadWindow (X Windows Error)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-utils (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-utils
gnome-screenshot exits cleanly with a return code of 01. It prints a message before it ends however:
The program 'gnome-screenshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 4799 error_code 3 request_code 15 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
To reproduce this bug:
1. $ gnome-screenshot --interactive
2. Click the "Grab the current window" radio button option
3. Click the "Take Screenshot" Button.
What should happen:
A window should pop up asking you where you want to save the file.
What happens instead:
gnome-screenshot exits cleanly with a return code of 01. It prints a message before it ends however:
The program 'gnome-screenshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 4799 error_code 3 request_code 15 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
running:
$ gnome-screenshot --interactive --sync
fixes the issue.
ProblemType: Bug
Architecture: amd64
Date: Sat Dec 26 05:18:35 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelMo
Package: gnome-utils 2.28.1-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-utils
Uname: Linux 2.6.31-16-generic x86_64
XsessionErrors:
(gnome-
(gnome-
(nautilus:10925): Eel-CRITICAL **: eel_preferences
(polkit-
Changed in gnome-utils (Ubuntu): | |
status: | Incomplete → Confirmed |
I should add that this bug did not exist for me in 9.04. This is a new clean install.