Follow-up Comment #2, bug #19569 (project mypaint):

I ran into the same issue with MyPaint 1.0.0 64 bit on Windows 7 64 bit with
the Monoprice (UC-Logic rebranded) TWA60.  I can draw just fine with the
tablet when pressure is disabled, but when I enable pen input (screen or
window) the color history pops up under my pen and scrolls rapidly through the
colors when I try to draw.

When I run the Input Device Test, x and y seem reasonable, pressure == 0.0000
always, the upper byte of state moves around a lot, and button is anything
from 1 to about 14.  The events with random buttons also spray the dialog
output rather quickly compared to my working setup below.  I'm guessing the
rapid output is because of the way events are suppressed.

Gimp 2.8 also seems to exhibit similar behavior when pressure input is
configured/enabled.  While trying to draw on the image, context menus are
flickering very rapidly under the cursor.

Sample output of Input Device Test with MyPaint 1.0.0 64 bit (which does not
work correctly)


298810  BUTTON_RELEASE x=-409.87 y=  16.79 pressure= 0.0000 state=0x0900
button=2
298810    BUTTON_PRESS x=-408.69 y=  17.19 pressure= 0.0000 state=0x0b00
button=2
298825  BUTTON_RELEASE x=-407.10 y=  17.43 pressure= 0.0000 state=0x0900
button=2
298825  BUTTON_RELEASE x=-405.08 y=  17.51 pressure= 0.0000 state=0x0800
button=1
298825    BUTTON_PRESS x=-399.87 y=  17.59 pressure= 0.0000 state=0x0d00
button=3
298825  BUTTON_RELEASE x=-396.76 y=  17.59 pressure= 0.0000 state=0x0c00
button=1
298841  BUTTON_RELEASE x=-390.30 y=  17.59 pressure= 0.0000 state=0x0d00
button=9
298841    BUTTON_PRESS x=-386.94 y=  17.59 pressure= 0.0000 state=0x0f00
button=2
298857  BUTTON_RELEASE x=-384.00 y=  17.59 pressure= 0.0000 state=0x0e00
button=1
298857  BUTTON_RELEASE x=-381.22 y=  17.59 pressure= 0.0000 state=0x0a00
button=3
298857  BUTTON_RELEASE x=-378.96 y=  17.59 pressure= 0.0000 state=0x0800
button=2
298872  BUTTON_RELEASE x=-374.00 y=  17.59 pressure= 0.0000 state=0x0b00
button=3
298888    BUTTON_PRESS x=-373.41 y=  17.59 pressure= 0.0000 state=0x0b00
button=6
298888  BUTTON_RELEASE x=-373.16 y=  17.59 pressure= 0.0000 state=0x0900
button=2
298888    BUTTON_PRESS x=-373.16 y=  17.59 pressure= 0.0000 state=0x0d00
button=3
298888  BUTTON_RELEASE x=-373.33 y=  17.59 pressure= 0.0000 state=0x0900
button=3
298903    BUTTON_PRESS x=-373.92 y=  17.59 pressure= 0.0000 state=0x0b00
button=2
298903  BUTTON_RELEASE x=-374.50 y=  17.59 pressure= 0.0000 state=0x0a00
button=1
298903  BUTTON_RELEASE x=-375.34 y=  17.59 pressure= 0.0000 state=0x0800
button=2
298919    BUTTON_PRESS x=-376.60 y=  17.59 pressure= 0.0000 state=0x1900
button=5
298919  BUTTON_RELEASE x=-377.11 y=  17.59 pressure= 0.0000 state=0x1800
button=1
298935  BUTTON_RELEASE x=-377.70 y=   7.54 pressure= 0.0000 state=0x1800
button=1
298935  BUTTON_RELEASE x=-377.70 y= -27.31 pressure= 0.0000 state=0x1900
button=2
298950    BUTTON_PRESS x=-377.36 y= -41.43 pressure= 0.0000 state=0x1b00
button=2
299527   PROXIMITY_OUT



Out of frustration, I eventually tried MyPaint 0.9.1 32 bit.  After overcoming
some glitches with the Input Device Dialog, I was able to successfully get
pressure sensitivity working.  At some point I noticed that I had grabbed the
32 bit version of 0.9.1 (there was no 64 bit version available).  On a hunch I
tried the 32 bit version of 1.0.0.  Success!

The output of Input Device Test with MyPaint 1.0.0 32 bit (which works
correctly):


492316   MOTION_NOTIFY x= 436.68 y= 179.88 pressure= 0.0000 state=0x0000
     -    FOCUS_CHANGE
492363   MOTION_NOTIFY x= 436.43 y= 179.88 pressure= 0.0000 state=0x0000
...      MOTION_NOTIFY 546 events suppressed
495436   MOTION_NOTIFY x= 446.09 y= 135.62 pressure= 0.2158 state=0x0100
495452  BUTTON_RELEASE x= 445.17 y= 135.06 pressure= 0.0000 state=0x0000
button=1
495452   MOTION_NOTIFY x= 444.58 y= 134.58 pressure= 0.0000 state=0x0000
...      MOTION_NOTIFY 40 events suppressed
496107   MOTION_NOTIFY x= 470.70 y= 137.13 pressure= 0.0000 state=0x0000
496622   PROXIMITY_OUT


I tried to find a 32 bit version of Gimp 2.8 to confirm, but I couldn't find a
32 bit installer.  Does gimp include both 32 bit and 64 bit libraries with
their windows installer?

At some point while trying to debug, I tried running MyPaint on my Linux Mint
install, and pressure sensitivity worked just fine. However, a different bug
reared it's head and made it unusable (pen randomly going to x,0 0,y or 0,0
then jumping back to actual location).

Anyway, I have a feeling this is an alignment/size/structure packing GTK 64
bit Windows issue, but I hope this information helps.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19569>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to