Package: gimp
Version: 2.4.3-1
Severity: normal
Hi,
Just got my wacom pen configured, but only then mentioned that regular
mouse (actually thinkpad's stick now fails to paint). Boiled down to:
if I go to Preferences -> Input Devices -> Configure Extended Input
Devices, if I set 'Configured Mouse' to some mode (thus it appears in
Device Status), then if I try to do something using any tool I start
getting errors in original terminal + no actual result to the image.
Errors are :
(gimp:1947): Gimp-Base-CRITICAL **: temp_buf_resize: assertion `width > 0 &&
height > 0' failed
Relevant part of xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
#Option "ZAxisMapping" "4 5 6 7"
Option "Device" "/dev/input/mice"
Option "EmulateWheel" "on"
Option "EmulateWheelTimeout" "200"
Option "EmulateWheelButton" "2"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
real problem is revealed by xinput list, but unfortunately I found no way
to tune axis min/max values... I am attaching full output of xinput list along,
relevant part is:
"Configured Mouse" id=5 [XExtensionPointer]
Axis 0 :
Min_value is -1
Max_value is -1
Resolution is 1
"Virtual core pointer" id=1 [XPointer]
Axis 0 :
Min_value is 0
Max_value is -1
Resolution is 0
so my wild guess is that Configured Mouse should had Min_value == 0 and may be
resolution to 0? ot set to screen size?
It might be an issue with xserver as well (1:7.3+10) so if you think that it
provides bogus default values for those params -- feel free to clone and
reassign, but I think gimp should handle this situation in a nice way
itself.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gimp depends on:
ii gimp-data 2.4.3-1 Data files for GIMP
ii libaa1 1.4p5-33 ascii art library
ii libart-2.0-2 2.3.19-3 Library of functions for 2D graphi
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.1.2-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-1 simple interprocess messaging syst
ii libexif12 0.6.16-2.1 library to parse EXIF files
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgimp2.0 2.4.3-1 Libraries for the GNU Image Manipu
ii libglib2.0-0 2.14.5-2 The GLib library of C routines
ii libgtk2.0-0 2.12.5-2 The GTK+ graphical user interface
ii libgtkhtml2-0 2.11.1-1 HTML rendering/editing library - r
ii libhal1 0.5.10-5 Hardware Abstraction Layer - share
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii liblcms1 1.16-8 Color management library
ii libmng1 1.0.9-1 Multiple-image Network Graphics li
ii libpango1.0-0 1.18.4-1 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libpoppler-glib2 0.6.2-1 PDF rendering library (GLib-based
ii librsvg2-2 2.20.0-1 SAX-based renderer library for SVG
ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra
ii libwmf0.2-7 0.2.8.4-6 Windows metafile conversion librar
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxmu6 2:1.0.4-1 X11 miscellaneous utility library
ii libxpm4 1:3.5.7-1 X11 pixmap library
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages gimp recommends:
ii gimp-gnomevfs 2.4.3-1 GNOME-VFS URI plugin for GIMP
ii gimp-python 2.4.3-1 Python support and plugins for GIM
-- no debconf information
"Virtual core keyboard" id=0 [XKeyboard]
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
"Virtual core pointer" id=1 [XPointer]
Num_buttons is 32
Num_axes is 2
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is -1
Resolution is 0
Axis 1 :
Min_value is 0
Max_value is -1
Resolution is 0
"cursor" id=2 [XExtensionPointer]
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 32
Num_axes is 6
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 1400
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 1050
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 255
Resolution is 1
Axis 3 :
Min_value is -900
Max_value is 899
Resolution is 1
Axis 4 :
Min_value is -1023
Max_value is 1023
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
"eraser" id=3 [XExtensionPointer]
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 32
Num_axes is 6
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 1400
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 1050
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 255
Resolution is 1
Axis 3 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 4 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
"stylus" id=4 [XExtensionPointer]
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 32
Num_axes is 6
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 1400
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 1050
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 255
Resolution is 1
Axis 3 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 4 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
"Configured Mouse" id=5 [XExtensionPointer]
Num_buttons is 11
Num_axes is 2
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is -1
Max_value is -1
Resolution is 1
Axis 1 :
Min_value is -1
Max_value is -1
Resolution is 1
"Generic Keyboard" id=6 [XExtensionKeyboard]
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
# (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the manual page.
# (Type "man " at the shell prompt.)
#
# This file is automatically updated on package upgrades *only*
# if it has not been modified since the last upgrade of the
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "ctrl:nocaps"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
#Option "ZAxisMapping" "4 5 6 7"
Option "Device" "/dev/input/mice"
Option "EmulateWheel" "on"
Option "EmulateWheelTimeout" "200"
Option "EmulateWheelButton" "2"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
Section "Device"
Identifier "Intel LCD"
Driver "intel"
BusID "PCI:0:2:0"
Option "AllowGLXWithComposite" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "RenderAccel" "true"
Option "DevicePresence" "false"
# Screen 0
# Option "DevicePresence" "true"
# Option "MonitorLayout" "CRT,LFP"
# Option "Clone" "False"
# Option "ForceBIOS" "1024x768=1400x1050"
EndSection
Section "Device"
Identifier "Intel CRT"
Driver "intel"
BusID "PCI:0:2:1"
Screen 1
Option "MonitorLayout" "CRT,LFP"
EndSection
Section "Monitor"
Identifier "LCD"
Option "DPMS"
DisplaySize 245 185
EndSection
Section "Monitor"
Identifier "External CRT"
Option "DPMS"
HorizSync 28-75
VertRefresh 43-100
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel LCD"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
# Viewport 0 0
Modes "1400x1050" "1280x1024" "1024x768" "800x600"
EndSubSection
Option "XAANoOffscreenPixmaps"
Option "AddARGBGLXVisuals" "true"
EndSection
Section "Screen"
Identifier "External Screen"
Device "Intel CRT"
Monitor "External CRT"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
#i Screen 0 "Default Screen" 0 0
# Screen 0 "External Screen" RightOf "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
Option "AIGLX" "on"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS0" # SERIAL ONLY
#Option "Device" "/dev/input/event0" # USB ONLY
Option "Type" "stylus"
#Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS0" # SERIAL ONLY
#Option "Device" "/dev/input/event0" # USB ONLY
Option "Type" "eraser"
#Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0" # SERIAL ONLY
#Option "Device" "/dev/input/event0" # USB ONLY
Option "Type" "cursor"
#Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection