CVS, screenshot plugin crash
Hi,
If I do:
- Acquire
- Screenshot
- the sectected region
The plugin crash with a popup :
Plud-in crashed: "screenshot"
I've in the xterm from when I launched gimp:
The program 'screenshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 5216 error_code 10 request_code 33 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.)
(gimp-2.3:29235): Gimp-Plug-In-WARNING **: gimp-2.3: plug_in_flush():
error:
Broken pipe
The lastest vesion of the CVS with a non-crashing screenshot plugin was
the
one with these data on top of the Changelog:
2005-05-30 Sven Neumann
* plug-ins/common/screenshot.c: capitalization and mnemonics.
2005-05-29 Sven Neumann
* app/widgets/gimpdnd.c (gimp_dnd_get_color_icon): pass
GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
GimpColorArea.
* app/widgets/gimpcoloreditor.c: added a "context" property.
* libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color):
always use gimp_rgba_distance(), regardless of the area's type.
The day after, there was a changed in the screenshot. Dunnon if it is
related :
2005-05-31 Sven Neumann
* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
to grab the Escape key instead of doing a full keyboard grab.
Regards
Jean-Luc