http://bugs.winehq.org/show_bug.cgi?id=34115
Bug #: 34115 Summary: rotated FillRect problem Product: Wine Version: 1.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: ralf.habacker@freenet.de Classification: Unclassified
Created attachment 45361 --> http://bugs.winehq.org/attachment.cgi?id=45361 testcase source
A filled rectangle drawing with gdi function FillRect() is not drawn correctly when using dc rotation set with SetWorldTransform.
http://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #1 from Ralf Habacker ralf.habacker@freenet.de 2013-07-23 05:01:45 CDT --- Created attachment 45362 --> http://bugs.winehq.org/attachment.cgi?id=45362 screenshot showing the problem
The visible line indicates the left side of the rectangle, which isn't followed by the filled rectangle.
http://bugs.winehq.org/show_bug.cgi?id=34115
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2013-07-23 11:35:30 CDT --- can you add a screenshot from native windows?
Builds with cl drawcircle.cpp user32.lib gdi32.lib but I had to add #define _USE_MATH_DEFINES 1 to avoid drawcircle.cpp(19) : error C2065: 'M_PI' : undeclared identifier
http://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2013-07-23 11:45:50 CDT --- Created attachment 45368 --> http://bugs.winehq.org/attachment.cgi?id=45368 Windows XP screenshot
http://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #4 from Ralf Habacker ralf.habacker@freenet.de 2013-07-23 12:28:58 CDT --- (In reply to comment #2)
Builds with cl drawcircle.cpp user32.lib gdi32.lib but I had to add #define _USE_MATH_DEFINES 1 to avoid drawcircle.cpp(19) : error C2065: 'M_PI' : undeclared identifier
Thanks for this pointer, I cross compiled on linux, seems that mingw defines this by default.
http://bugs.winehq.org/show_bug.cgi?id=34115
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45361|0 |1 is obsolete| |
--- Comment #5 from Ralf Habacker ralf.habacker@freenet.de 2013-07-24 01:32:29 CDT --- Created attachment 45377 --> http://bugs.winehq.org/attachment.cgi?id=45377 testcase source (including msvc compile fix)
https://bugs.winehq.org/show_bug.cgi?id=34115
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #7 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 50838 --> https://bugs.winehq.org/attachment.cgi?id=50838 testcase binary
https://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #8 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Austin English from comment #6)
Is this still an issue in current (1.7.37 or newer) wine?
yes. issue is still present in 1.7.37
If so, please attach the terminal output in 1.7.37.
Running the test app did not produce any output. Should I add a dedicated WINEDEBUG setting and run again ?
https://bugs.winehq.org/show_bug.cgi?id=34115
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- Still valid 1.9.7 and staging 1.9.7
https://bugs.winehq.org/show_bug.cgi?id=34115
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #10 from winetest@luukku.com --- (In reply to super_man from comment #9)
Still valid 1.9.7 and staging 1.9.7
Still valid wine 2.11 and staging 2.11 exactly the same bad behaviour as comment 1 shows.
https://bugs.winehq.org/show_bug.cgi?id=34115
Bartosz gang65@poczta.onet.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65@poczta.onet.pl
https://bugs.winehq.org/show_bug.cgi?id=34115
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.22.
https://bugs.winehq.org/show_bug.cgi?id=34115
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #12 from Ralf Habacker ralf.habacker@freenet.de --- See this links
- https://www.winehq.org/pipermail/wine-devel/2021-February/180513.html - https://www.winehq.org/pipermail/wine-devel/2021-February/180514.html
for associated test cases added to the embedded gdi32 tests.
https://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #13 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 69345 --> https://bugs.winehq.org/attachment.cgi?id=69345 Images generated on Windows10 with the patches mentioned https://bugs.winehq.org/show_bug.cgi?id=34115#c12
https://bugs.winehq.org/show_bug.cgi?id=34115
--- Comment #14 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 69346 --> https://bugs.winehq.org/attachment.cgi?id=69346 Images generated with wine with the patches mentioned at https://bugs.winehq.org/show_bug.cgi?id=34115#c12
https://bugs.winehq.org/show_bug.cgi?id=34115
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #69345|Images generated on |Images generated on description|Windows10 with the patches |Windows10 with the patches |mentioned |mentioned at |https://bugs.winehq.org/sho |https://bugs.winehq.org/sho |w_bug.cgi?id=34115#c12 |w_bug.cgi?id=34115#c12
https://bugs.winehq.org/show_bug.cgi?id=34115
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45377|0 |1 is obsolete| |
--- Comment #15 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 77288 --> https://bugs.winehq.org/attachment.cgi?id=77288 testcase source (update)
https://bugs.winehq.org/show_bug.cgi?id=34115
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50838|0 |1 is obsolete| |
--- Comment #16 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 77289 --> https://bugs.winehq.org/attachment.cgi?id=77289 testcase binary