![]() |
2008-03-20
, 18:51
|
|
Posts: 3,220 |
Thanked: 326 times |
Joined on Oct 2005
@ "Almost there!" (Monte Christo, Count of)
|
#62
|
This may be a more general X problem - because I get something very like this on a desktop PC running a Slackware 11.0 derivative.
After noticing one time that random strokes in mtPaint get interrupted for no apparent reason, I investigated the problem - and this is what I found out:
When some programs (Kate for one) are running in the background, and mouse is moved vigorously enough with a button pressed, X may generate spurious button-release events, and follow them by equally spurious button-press events some random time later. Any X client gets affected, and no app-level workaround seems possible - I used xev to dump X event stream, and the spurious events appearing in there are absolutely indistinguishable from normal ones.
And in mtPaint, a button release event terminates current stroke, and a button press event starts a new stroke.
-= With best regards, Dmitry Groshev, maintainer of mtPaint =-
![]() |
2008-03-20
, 18:55
|
Posts: 330 |
Thanked: 57 times |
Joined on May 2007
@ BKNYC
|
#63
|
![]() |
2008-03-20
, 20:46
|
Posts: 28 |
Thanked: 6 times |
Joined on Jan 2008
|
#64
|
![]() |
2008-03-20
, 21:19
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#65
|
This may be a more general X problem - because I get something very like this on a desktop PC running a Slackware 11.0 derivative.
After noticing one time that random strokes in mtPaint get interrupted for no apparent reason, I investigated the problem - and this is what I found out:
When some programs (Kate for one) are running in the background, and mouse is moved vigorously enough with a button pressed, X may generate spurious button-release events, and follow them by equally spurious button-press events some random time later. Any X client gets affected, and no app-level workaround seems possible - I used xev to dump X event stream, and the spurious events appearing in there are absolutely indistinguishable from normal ones.
And in mtPaint, a button release event terminates current stroke, and a button press event starts a new stroke.
-= With best regards, Dmitry Groshev, maintainer of mtPaint =-
So it's impossible to have a decent drawing application on a Linux/X tablet?
![]() |
2008-03-20
, 21:51
|
|
Posts: 3,220 |
Thanked: 326 times |
Joined on Oct 2005
@ "Almost there!" (Monte Christo, Count of)
|
#67
|
![]() |
2008-03-20
, 22:09
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#68
|
![]() |
2008-03-21
, 08:14
|
Posts: 2 |
Thanked: 2 times |
Joined on Mar 2008
|
#69
|
Anyway, on the topic - i ran a xev on it and it seems that after time any events just stop until the stylus is released. No presses/releases. Weird.
![]() |
2008-03-21
, 08:53
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#70
|
did you find my sourceforge post?