http://bugs.winehq.org/show_bug.cgi?id=15341
Summary: Artrage 2.5 Starter and Full editions: Precice tablet mode has inverted Y axis. Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wintab32 AssignedTo: wine-bugs@winehq.org ReportedBy: azathothgr@gmail.com
When using 'precise tablet mode' in ArtRage 2.5 starter or full [http://www.artrage.com/artragedown.html] the Y axis is inverted.
Adding the following after line 204 in wintab32/context.c fixes it, but I don't know if it's a proper solution, breaks other programs, or understand what the code is actually supposed to do (besides flipping y).
context.c:line 204: /* flip the Y axis */ if (ptr->context.lcOutExtY > 0) packet->pkY = ptr->context.lcOutExtY - packet->pkY;
changed to : /* flip the Y axis */ if (ptr->context.lcOutExtY > 0) packet->pkY = ptr->context.lcOutExtY - packet->pkY;
if (ptr->context.lcOutExtY < 0) packet->pkY = abs(ptr->context.lcOutExtY) - packet->pkY;
http://bugs.winehq.org/show_bug.cgi?id=15341
--- Comment #1 from Austin English austinenglish@gmail.com 2008-09-20 12:16:00 --- Created an attachment (id=16172) --> (http://bugs.winehq.org/attachment.cgi?id=16172) patch in git format
http://bugs.winehq.org/show_bug.cgi?id=15341
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=15341
--- Comment #2 from V.platanias azathothgr@gmail.com 2008-09-21 08:18:39 --- Forgot to mention that debugging reports a _negative_ context extent lcOutExtY but of the same abs value as the tablet extent, which is the max_value for that axis, while the values are the same for the X axis. Perhaps the problem's there, or it's getting inverted twice.
I'm attaching a trace+wintab32 which shows this.
http://bugs.winehq.org/show_bug.cgi?id=15341
--- Comment #3 from V.platanias azathothgr@gmail.com 2008-09-21 08:19:58 --- Created an attachment (id=16193) --> (http://bugs.winehq.org/attachment.cgi?id=16193) wintab32 trace, shows maxvalues and context values for each axis
http://bugs.winehq.org/show_bug.cgi?id=15341
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xixsimplicityxix@gmail.com
--- Comment #4 from John Klehm xixsimplicityxix@gmail.com 2008-09-29 18:25:25 --- Ahh wish I had seen this bug before I spent my time figuring out what you already did here. :/ You are right as far as my testing on Photoshop CS2 and openCanvas 4.5 have shown. I sent a very similiar patch in just a few minutes ago.
http://bugs.winehq.org/show_bug.cgi?id=15341
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from John Klehm xixsimplicityxix@gmail.com 2008-09-30 11:08:41 --- Duplicate of bug 11943
*** This bug has been marked as a duplicate of bug 11943 ***
http://bugs.winehq.org/show_bug.cgi?id=15341
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-30 11:19:57 --- Closing.