Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286894 - In the GIMP, Wacom tablet tools don't work in relative mode, or at all.
Summary: In the GIMP, Wacom tablet tools don't work in relative mode, or at all.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mike Auty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 07:27 UTC by Donald Wallace Rouse II
Modified: 2012-12-22 12:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Configuration file for tablet devices in absolute mode (works.fdi,2.80 KB, text/plain)
2009-09-29 07:32 UTC, Donald Wallace Rouse II
Details
Configuration file for tablet devices in relative mode (broken.fdi,2.78 KB, text/plain)
2009-09-29 07:34 UTC, Donald Wallace Rouse II
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donald Wallace Rouse II 2009-09-29 07:27:51 UTC
If I try to set the stylus and eraser on my Wacom tablet to relative mode, the tools do not draw. The cursor (tablet mouse) does not draw regardless of mode. I know that the GIMP sees the tools, because I set each device to a different drawing tool, and the drawing tools change (mouse cursor image changes) when I change devices. The buttons work to pop up menus, etc., and the devices work fine for all other things. One thing that I noticed is that the brush outline seems trapped up in the the upper left-hand corner of the screen, although the mouse cursor moves properly. Also, if I try to move a layer using the "middle mouse" button on the stylus or eraser, the layer just jiggles around, rather than moving. It looks like the GIMP is interpreting relative movement as absolute movement.

Relative mode used to work in a prior version of the GIMP. However, the problem might not be with the GIMP itself, because, in recent months, I have switched from xorg.conf to a HAL .fdi file to configure my tablet, and both xorg-server and linuxwacom (as well as many other packages (like gegl)) have been updated. I don't know where in that transition that relative mode stopped working, so I can't give a better clue as to where the problem may lie.

Reproducible: Always

Steps to Reproduce:
1. Set the wacom tablet devices to relative mode (files follow) and reboot the system.
2. Start up the GIMP and open a new image.
3. Try to write on the image, move layers, etc.
Actual Results:  
If I try to write on the image using the stylus, eraser, or pad mouse (cursor) tablet device, the mouse icon changes to the drawing tool, but the brush outline is trapped in the upper left-hand corner of the screen, and no lines, dots, etc., are drawn.
If I try to move a layer using the button on my stylus/eraser that is assigned to the middle mouse button, the layer just jiggles around, rather than moving.

Note: The cursor (pad mouse) device doesn't draw, regardless of mode.

Other things (pop-up and drop-down menus, color selection and other dialog boxes, etc.) work fine in either mode.

Expected Results:  
I expected to be able to draw in relative mode using my tablet's stylus and eraser. I used to be able to do this.

In the following comments, I attach a .fdi tablet configuration file for absolute mode, which works, and for relative mode, which doesn't.
Comment 1 Donald Wallace Rouse II 2009-09-29 07:32:42 UTC
Created attachment 205558 [details]
Configuration file for tablet devices in absolute mode

File name: /etc/hal/fdi/policy/10-linuxwacom-graphire4-4x5.fdi
Comment 2 Donald Wallace Rouse II 2009-09-29 07:34:21 UTC
Created attachment 205560 [details]
Configuration file for tablet devices in relative mode

File name: /etc/hal/fdi/policy/10-linuxwacom-graphire4-4x5.fdi
Comment 3 Donald Wallace Rouse II 2009-09-29 08:10:04 UTC
Sigh. I forgot to give you the version numbers of everything:

sys-kernel/gentoo-sources-2.6.31-r1
media-gfx/gimp-2.6.7
linuxwacom-0.8.4_p1
x11-base/xorg-server-1.6.3.901-r2
sys-apps/hal-0.5.13-r2

These are the latest versions (as of this date) for ~amd64.
Here is the output of emerge --info, if it will help:

Portage 2.2_rc42 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Tue, 29 Sep 2009 05:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r2, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/bind /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages installsources nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo                 http://gentoo.mirrors.pair.com"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/voyageur /usr/local/portage/layman/devnull /usr/local/portage/layman/roslin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi afs aim alsa amd64 ao apache2 apm atm audiofile avahi bash_completion bcmath bidi bindist blas branding bsf bzip2 cairo calendar caps cddb cdinstall cdparanoia cdr cgi chasen cjk clamav cli cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbus dbx dga directfb djvu doc dri dts dv dvb dvd dvdr encode enscript esd evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac fltk fontconfig foomaticdb fortran freewnn ftp gcj gd gdbm gdm geoip ggi gif gimp ginac glut gmp gnome gnome-keyring gnuplot gnustep gnutls gphoto2 gpm graphviz gsl gstreamer gtk gtkhtml guile hal hardened hddtemp hdf5 htmlhandbook iconv icu idn imagemagick imap imlib inifile innodb iodbc ipv6 isdnlog jack java java6 javascript jbig jpeg jpeg2k kde kerberos kontact krb4 ladspa lame lapack lash latex lcms ldap libcaca libedit libgda libnotify libsamplerate libwww lm_sensors lua lzo m17n-lib mad maildir mailwrapper matroska mbox memlimit mhash migemo mikmod mime mmap mmx mng modplug modules mono motif mp3 mpeg mpi mplayer mudflap multilib musepack musicbrainz mysql mysqli nas ncurses neXt netcdf networkmanager nis nls nntp nocd nptl nptlonly nsplugin ocaml ocamlopt odbc offensive ogg openal openexr opengl openmp osc pam pcntl pcre pdf perl plasma plotutils png portaudio posix postgres ppds pppd prelude profile pulseaudio python qt3 qt4 quicktime raw readline recode reflection rss ruby samba sasl scanner sdl seamonkey semantic-desktop session sharedmem shorten simplexml skey smartcard smp sndfile snmp soap sockets socks5 source sox speex spell sqlite sqlite3 sse sse2 ssl startup-notification subversion suid svg symlink sysfs syslog sysvipc szip taglib tcl tcpd theora threads tidy tiff timidity tk truetype unicode usb vcd vhosts videos vim-syntax vorbis wavpack wddx wmf wxwindows x264 xattr xcb xcomposite xface xft xine xinetd xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd                  authn_dbm authn_default authn_file authz_dbm authz_default                  authz_groupfile authz_host authz_owner authz_user autoindex                  cache dav dav_fs dav_lock dbd deflate dir disk_cache env                  expires ext_filter file_cache filter headers ident imagemap                  include info log_config logio mem_cache mime mime_magic                  negotiation proxy proxy_ajp proxy_balancer proxy_connect                  proxy_http rewrite setenvif so speling status unique_id                  userdir usertrack vhost_alias" CAMERAS="canon directory" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LINGUAS="en_US" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf                   harness ide identity j2ee java mobility nb profiler ruby                   webcommon websvccommon" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Ian 2010-03-27 14:54:02 UTC
I think its a bug in GTK

https://bugzilla.gnome.org/show_bug.cgi?id=154657

Have you been able to fix this?
Comment 5 Mike Auty (RETIRED) gentoo-dev 2012-06-23 19:21:14 UTC
Sorry for not replying to this sooner.  I have no idea how to go about solving this, so the best we can do is track the upstream bug.  Unfortunately that still seems to be open...
Comment 6 Pacho Ramos gentoo-dev 2012-12-22 12:14:08 UTC
Please test again with fully updated system and reopen if still valid