http://bugs.winehq.org/show_bug.cgi?id=11838
Summary: Y axis inverted in tablet with OpenCanvas 1.1? Product: Wine Version: 0.9.55. Platform: Other OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: wintab32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://winehq.org/pipermail/wine-users/2008-March/029502.html says:
"I'm having some oddness with Wine running OpenCanvas 1.1, the old free version with networking. My system is running Ubuntu 7.10
Under Wine 0.9.46, the version in the ubuntu repositories, openCanvas seems to work fine, albeit pressure sensitivity is missing. Unfortunately the program isn't much without the pressure sensitivity.
Under Wine 0.9.55 from this site, pressure sensitivity works... however the tablet behaves very oddly when drawing on the canvas. The Y axis seems inverted, so if I draw in the top left, ink appears in the bottom left. There are also minor oddities such as sudden vertical lines of ink suddenly appearing. Finally the program frequently hangs with divide by zero exceptions.
The tablet works perfectly fine under applications such as Inkscape and Gimp."
FWIW, I think you can download OpenCanvas 1.1 from http://wistinga.online.fr/opencanvas/ but I don't know what the authoritative site is anymore, if there is one.
http://bugs.winehq.org/show_bug.cgi?id=11838
--- Comment #1 from Dan Kegel dank@kegel.com 2008-03-05 17:52:06 --- User also reports a crash:
First chance exception: divide by zero in 32-bit code (0x7e3e957f). Backtrace: =>1 0x7e3e957f figure_deg+0x5f(x=0x0, y=0x14) [winex11.drv/wintab.c:749] 2 0x7e3e9b5b motion_event+0xcb(hwnd=0x300a0, event=0x34fc04) [winex11.drv/wintab.c:852] 3 0x7e3c691c process_events+0x1ec(display=0x73bb83d0, mask=0x4ff) [winex11.drv/event.c:269] 4 0x7e3c6b37 X11DRV_MsgWaitForMultipleObjectsEx+0x107(count=0x1, handles=0x34fcd4, timeout=0xffffffff, mask=0x4ff, flags=<?>) [winex11.drv/event.c:303] 5 0x7ebe9c9c MsgWaitForMultipleObjectsEx+0xec(count=<?>, pHandles=0x0, timeout=0xffffffff, mask=0x4ff, flags=0x0) [user32/message.c:3225] 6 0x7ebe9d4e WaitMessage+0x3e() [user32/message.c:3192] ... 0x7e3e957f figure_deg+0x5f [winex11.drv/wintab.c:749] in winex11: fstpl 0x0(%esp) 749 rc = (int) 10 * (atan( (FLOAT)abs(y) / (FLOAT)abs(x)) / (3.1415 / 180));
I'll attach a patch that switches to atan2, don't know if it helps yet.
http://bugs.winehq.org/show_bug.cgi?id=11838
--- Comment #2 from Dan Kegel dank@kegel.com 2008-03-05 17:52:41 --- Created an attachment (id=11146) --> (http://bugs.winehq.org/attachment.cgi?id=11146) Simple patch to switch to atan2, which should be safer.
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xixsimplicityxix@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=11838
--- Comment #3 from John Klehm xixsimplicityxix@gmail.com 2008-09-29 02:34:43 --- Oh, wild guess here, probably related to http://bugs.winehq.org/show_bug.cgi?id=11943
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #4 from John Klehm xixsimplicityxix@gmail.com 2008-09-29 18:04:19 --- I've been debugging this a bit I think I've got it. Fixes opencanvas 1.1 atleast, hopefully the other programs that have the inverted y axe thing as well.
Tested for regressions with Photoshop CS2 and openCanvas 4.5 and they seem to be working ok.
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |xixsimplicityxix@gmail.com Status|ASSIGNED |NEW
--- Comment #5 from John Klehm xixsimplicityxix@gmail.com 2008-09-29 18:16:41 --- I think I've got the fix submitted.
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #6 from John Klehm xixsimplicityxix@gmail.com 2008-09-29 18:18:26 --- Hrmm guess I really don't know how to use bugzilla well. Sorry for the noise.
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|xixsimplicityxix@gmail.com |wine-bugs@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=11838
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #7 from John Klehm xixsimplicityxix@gmail.com 2008-10-02 23:21:38 --- Fix comitted today http://source.winehq.org/git/wine.git/?a=commit;h=b77f0a16726a962ede71b12128...
http://bugs.winehq.org/show_bug.cgi?id=11838
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2008-10-10 10:09:09 --- Closing bugs fixed in 1.1.6.
https://bugs.winehq.org/show_bug.cgi?id=11838
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b77f0a16726a962ede71b121286 | |11d4826581448 CC| |focht@gmx.net Hardware|Other |x86 OS|other |Linux