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 591017 - Tablet pan is not working as fast as it should
Tablet pan is not working as fast as it should
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.6.5
Other All
: Normal minor
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-08-06 23:29 UTC by Dan
Modified: 2009-08-14 05:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (3.34 KB, patch)
2009-08-07 19:12 UTC, Sven Neumann
committed Details | Review

Description Dan 2009-08-06 23:29:52 UTC
Please describe the problem:
When i use my pen tablet(wacom bamboo), and i pan around an image on GIMP, using one of the buttons of the pencil, and i move it, it pans rather slow, not like the mouse does.

Steps to reproduce:
1.Open GIMP with Tablet plug in
2.Pan Around with the pencil button 


Actual results:
The panning is very slow, when you use the mouse(three click mouses) works a lot faster

Expected results:
It should be more responsive

Does this happen every time?
Yes

Other information:
Comment 1 Sven Neumann 2009-08-07 18:55:26 UTC
The problem is most likely caused by the fact that tablets send a lot more motion events than a mouse. Might make sense to use event-compression for panning. That would likely solve this problem.

It would still be interesting to know what platform you are experiencing this on. Please specify the operating system.
Comment 2 Sven Neumann 2009-08-07 19:12:49 UTC
Created attachment 140148 [details] [review]
proposed patch

Please try this patch and test if it helps with your problem.
Comment 3 Dan 2009-08-08 05:20:46 UTC
I'm experiencing this on Windows Vista(the problem seems more notorious) but also in Ubuntu Linux. How i apply this proposed patch?(i know how to compile in linux but how to merge?) i'm very sorry to ask this, but i need some help. thanks 
Comment 4 Sven Neumann 2009-08-08 10:52:47 UTC
man patch
Comment 5 Dan 2009-08-12 23:00:02 UTC
i can confirm this bug is fixed by using the patch, thanks =) the movement now is very responsive, and no lag occurs.
Comment 6 Sven Neumann 2009-08-13 18:27:20 UTC
Thanks for testing the patch. Pushed and merged to the gimp-2-6 branch:

commit 60f11e18ae0d2cd257c9629069564a0d98bb01fe
Author: Sven Neumann <sven@gimp.org>
Date:   Fri Aug 7 21:11:45 2009 +0200

    Bug 591017 – Tablet pan is not working as fast as it should
    
    Use motion event compression for display scrolling.

 app/display/gimpdisplayshell-callbacks.c |   29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)

Comment 7 Dan 2009-08-14 01:09:44 UTC
Sven, without opening another bug report, can i ask if this fixes a trouble i notice too, selecting a complex brush and make it a BIG(using the scale dialog) makes also a big lag when you only move the cursor around, happens with mouse BUT with tablet the thing is just unusable(and GIMP can become unresponsive!) i'm using Windows right now and cannot test it on my other linux pc.
Comment 8 Martin Nordholts 2009-08-14 05:11:49 UTC
Hi Dan, no, please open new bug reports for new issues.