http://bugs.winehq.org/show_bug.cgi?id=35985
Bug ID: 35985 Summary: Microsoft Paint draws rounded-corner rectangle instead of sharp corner Product: Wine Version: 1.7.15 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Nachanon_Vetjasit@hotmail.com
Created attachment 48106 --> http://bugs.winehq.org/attachment.cgi?id=48106 Screenshot and output image from WINE 1.7.15 and Windows XP SP3
I've used Microsoft Paint on WINE, most tools work fine. But I found that when I set line thickness to > 1px (using Line tool) then use Rectangle tool to create a rectangle, those rectangle will have round corners, rather than a regular sharp corner that it produces on Windows.
Screenshot from WINE (1.7.15) and Windows (XP SP3) also attached, output file from both configuration also attached too. First rectangle is 5px-thick, second is 11px-thick (select 5px and press ^+ 6 times).
Note: For knot on the top-left corner of rectangle (invisible in the screenshot, but it's there, and got into the output), I've filed it as a different issue: bug #35984
Microsoft Paint 5.1.2600.5512 (mspaint.exe from Windows XP SP3) mfc42u.dll 6.2.8071.0 picked from Windows XP SP3, placed with the same directory as mspaint.exe WINE: 1.7.15 (git), set to Windows version XP WINE installed without XInput2, OSMesa, OpenCL, CMS, GStreamer, and OSS support System: Debian GNU/Linux 5.0 "Lenny" i386
http://bugs.winehq.org/show_bug.cgi?id=35985
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Still need logs. http://wiki.winehq.org/Bugs
https://bugs.winehq.org/show_bug.cgi?id=35985
--- Comment #2 from Nachanon Vetjasit Nachanon_Vetjasit@hotmail.com --- Created attachment 51181 --> https://bugs.winehq.org/attachment.cgi?id=51181 Trace log from Microsoft Paint under WINE 1.7.39
This bug still exists under current WINE 1.7.39, and symptoms are apparently the same (rounded-corner stroke, including an unwanted knot at top-left corner of the rectangle).
The attached file (mspaint-wine1.7.39.log.bz2) is a trace log from Microsoft Paint:
WINEDEBUG=trace+accel,trace+animate,trace+bitmap,trace+clipping,trace+quartz,trace+palette,trace+msimg32,trace+graphics,trace+ddraw,trace+xrender,trace+gdi,trace+gdiplus,trace+bitblt wine mspaint.exe
In this experiment, blue-colored line [rgb(0,128,255) #0080FF] with 11px thickness was used. The rectangle was created by holding mouse button at top-left corner, and drag in south-east direction then release the button.
Note: I found that if I started the rectangle from bottom-right corner (instead of top-left), the unwanted knot will appear at bottom-right corner instead of top-left corner too.
Microsoft Paint 5.1.2600.5512 (mspaint.exe from Windows XP SP3) mfc42u.dll 6.2.8071.0 from Windows XP SP3, placed under the same directory as mspaint.exe WINE: 1.7.39 (git), set to Windows version XP, installed without XInput2, OSMesa, OpenCL, libpcap, CMS, GStreamer and OSS support System: Debian GNU/Linux 5.0 "Lenny" i386
https://bugs.winehq.org/show_bug.cgi?id=35985
--- Comment #3 from Nachanon Vetjasit Nachanon_Vetjasit@hotmail.com --- Created attachment 51664 --> https://bugs.winehq.org/attachment.cgi?id=51664 Relay log and output image from Microsoft Paint under WINE 1.7.44
I realized that previous trace log attempt was not emitting much useful information. So I re-attempted to capture debug log using a regular relay/tid channel instead:
$ WINEDEBUG=+relay,+tid wine mspaint.exe &> ~/mspaint-wine1.7.44.relay.tid.log
Note: the rectangle stroke used is still 11px-thick with rgb(0,128,255) a.k.a. #0080FF color, drawn from top-left to bottom-right. Relevant GDI calls might be found near "0080FF" occurrences in this log.
Microsoft Paint (mspaint.exe) 5.1.2600.5512 from Windows XP SP3 mfc42u.dll 6.2.8071.0 from Windows XP SP3 WINE: 1.7.44 (git), set to Windows version XP WINE installed without XInput2, OSMesa, OpenCL, libpcap, CMS, GStreamer and OSS support System: Debian GNU/Linux 5.0 "Lenny" i386
https://bugs.winehq.org/show_bug.cgi?id=35985
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.1?