After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661872 - When drawing in Gimp with a tablet the line breaks outside the canvas
When drawing in Gimp with a tablet the line breaks outside the canvas
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
2.6.11
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 663000 665451 667179 673261 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-15 22:40 UTC by julien.jorge
Modified: 2014-02-21 23:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screencast of the bug (768.00 KB, video/webm)
2011-10-15 22:46 UTC, julien.jorge
Details

Description julien.jorge 2011-10-15 22:40:39 UTC
Hi,

When I use my Wacom tablet to draw in Gimp, the line drawn breaks outside the canvas for no apparent reason. Please see the attached screencast for an illustration of the problem.

I use Gimp 2.6.11 in Gnome Shell 3.2 as provided by Ubuntu 11.10.

I think that Gimp is not responsible since I did not have the problem with Gimp 2.6.11 and Gnome 2.x from Ubuntu 11.04.
Comment 1 julien.jorge 2011-10-15 22:46:50 UTC
Created attachment 199093 [details]
Screencast of the bug
Comment 2 julien.jorge 2011-10-17 06:49:44 UTC
Actually I have the same problem when using Unity. I move the bug to Gimp until I do more testing.
Comment 3 Alexia Death 2011-10-17 07:44:25 UTC
Most likely not a gimp bug. There is one spot in there, that manipulates the coords as they come in 2.6, but it happens almost all events and would manifest all the time and not on particular installs. My suspects would be either GTK or the wacom driver assuming that the tablet itself is tested to be okay on another machine. X and/or y coordinate is hitting zero randomly. If the bug goes away when you disable it as an extended device its most likely a gtk(or in one specific case driver) bug. I suggest testing the recent development build first tho. Updating your wacom driver cant hurt either.
Comment 4 julien.jorge 2011-10-17 19:21:10 UTC
(In reply to comment #3)
> Most likely not a gimp bug. There is one spot in there, that manipulates the
> coords as they come in 2.6, but it happens almost all events and would manifest
> all the time and not on particular installs. My suspects would be either GTK or
> the wacom driver assuming that the tablet itself is tested to be okay on
> another machine.

The tablet worked fine with Gimp 2.6.11 before updating to Ubuntu 11.10. I do not know if they have made any changes in their package for their update. Also I have tested it with MyPaint and it worked fine too, pressure included.

> X and/or y coordinate is hitting zero randomly. If the bug
> goes away when you disable it as an extended device its most likely a gtk(or in
> one specific case driver) bug. I suggest testing the recent development build
> first tho. Updating your wacom driver cant hurt either.

Indeed, the bug goes away when the tablet is disabled in the extended devices. The drawing is correct but the pressure is not handled.

Thus gtk seems to be the cause of the bug. I would like to reproduce the bug in an other software than Gimp to confirm this.
Comment 5 Alexia Death 2011-10-18 04:48:03 UTC
Ive had a confirmation from another source that this bug indeed does not manifest in 2.7. That pinpoints it to a specific feature in X/GTK, namely the event history buffer used to get more exact event info. Its broken very often and can be broken by both GTK and the driver. There are drivers out there that fill it wrong as matter of course. Nothing but gimp out there uses the event history buffer as far as I know and at 2.7 we silently disable its use because it crops up bugs more often than its of use. So you could try updating the driver as first step. if it breaks there, reporting a bug against the driver is appropriate.
Comment 6 julien.jorge 2011-10-26 06:24:24 UTC
Indeed I do not have the problem with Gimp 2.7. I have installed an older version of the driver, the one from the previous version of Ubuntu, and the problem was still here.

Since Gimp is clearly not the cause of the problem, I have reported the bug at Ubuntu for further investigations: http://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/881821
Comment 7 Michael Natterer 2011-10-29 18:24:12 UTC
*** Bug 663000 has been marked as a duplicate of this bug. ***
Comment 8 Alexia Death 2011-12-04 18:47:22 UTC
*** Bug 665451 has been marked as a duplicate of this bug. ***
Comment 9 Alexia Death 2011-12-04 19:37:47 UTC
From ubuntu bug is clear that this is not driver specific and may be caused by X.
Comment 10 Michael Schumacher 2012-01-02 12:26:52 UTC
So, according to https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/863154, should we resolve this as NOTGNOME?
Comment 11 Alexia Death 2012-01-02 13:20:57 UTC
Resolving as notgnome, as GIMP was impacted by a bug in X. Additionally, use of history buffer is off by default in master and has been so for a while. Recommended workaround for distributors is back-porting this commit from master:
http://git.gnome.org/browse/gimp/commit/?id=dbf844c012894166e312470f0d98560d5e426613

The trade off is minimal amount of quality in pen strokes, the gain is usable gimp.
Comment 12 Michael Schumacher 2012-01-03 13:45:23 UTC
*** Bug 667179 has been marked as a duplicate of this bug. ***
Comment 13 Michael Schumacher 2014-02-21 23:22:41 UTC
*** Bug 673261 has been marked as a duplicate of this bug. ***