GNOME Bugzilla – Bug 104423
"input devices" crashes Gimp when changing settings.
Last modified: 2003-04-14 14:15:27 UTC
I own a Wacom Graphire, when i try to enable this device (pressure levels mainly) through the menu (monitor/window) or i try to change the device to pen0/eraser0/cursor0) all crashes... Versions GTK: 2.2.0 - Glib 2.2.0 - Kernel 2.4.20 This is the XF86Config: ******************************* Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "stylus0" "AlwaysCore" InputDevice "eraser0" "AlwaysCore" InputDevice "cursor0" "AlwaysCore" InputDevice "mouse" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection ... ... ... Section "InputDevice" Identifier "stylus0" Driver "wacom" Option "Device" "/dev/input/event0" Option "Mode" "absolute" Option "Type" "stylus" Option "USB" "on" Option "Protocol" "Auto" EndSection Section "InputDevice" Identifier "eraser0" Driver "wacom" Option "Device" "/dev/input/event0" Option "Mode" "absolute" Option "Protocol" "Auto" Option "Type" "eraser" Option "USB" "on" EndSection Section "InputDevice" Identifier "cursor0" Driver "wacom" Option "Device" "/dev/input/event0" Option "Protocol" "Auto" Option "Mode" "absolute" Option "Type" "cursor" Option "USB" "on" # Option "AlwaysCore" "on" EndSection ..... ******************************* This is the stack trace of gdb: gimp-1.3: fatal error: Segmentation fault gimp-1.3 (pid:4828): [E]xit, [H]alt, show [S]tack trace or [P]roceed: S
+ Trace 33130
/usr/lib/gimp/1.3/plug-ins/script-fu terminated: Interrupt gimp-1.3: terminated: Interrupt
I can confirm this. My setup used to work with gtk+-2.0 but broke as you described when I updated to 2.2
I fear the ugly hack we used to swallow the gtk+ input configuration into our own window doesn't work with gtk+-2.2. This is because gtk+-2.2 uses an internal routine input_dialog_from_widget(widget) which returns the result of gtk_widget_get_toplevel(widget). The calling code assumes to get a GtkInputDialog in return and not a gimp preferences dialog. Looks like we have to live with a GtkInputDialog that is opened from the prefs dialog.
*** Bug 103760 has been marked as a duplicate of this bug. ***
While we are it, the current state of this particular part of the prefs dialog is subject to criticism in bug #95446 as well. Perhaps we can find a solution that fixes this one as well.
*** Bug 108836 has been marked as a duplicate of this bug. ***
I tried to use my devicerc from gimp-1.2, but it doesn't work. What should I change to make it work? Error while parsing '/home/osvetlik/.gimp-1.3/devicerc' in line 1: unable to determine type of 'device' (device "WacomEraser" (mode screen) (axes 6 x y pressure xtilt ytilt ignore) (keys 32 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" (tool "Rect Select") (foreground 0 0 0) (brush "Circle (19)") (pattern "Pine?") (gradient "German_flag_smooth"))
Help us to fix the input devices dialog, that's what you should do.
*** Bug 109247 has been marked as a duplicate of this bug. ***
2003-04-14 Sven Neumann <sven@gimp.org> * app/gui/preferences-dialog.c: don't try to reparent the children of GtkInputDialog but simply pop up the dialog as provided by GTK+. Looks ugly but shouldn't crash any longer. Fixes bug #104423.