https://bugs.winehq.org/show_bug.cgi?id=43889
Bug ID: 43889 Summary: Gradient is inverted when using gdiplus Product: Wine Version: 2.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Created attachment 59505 --> https://bugs.winehq.org/attachment.cgi?id=59505 Image using normal GDI
When viewing a checklist element in Enterprise Architect, the gradient is inverted when using the Enhanced-2 renderer (GDIPlus)
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 59506 --> https://bugs.winehq.org/attachment.cgi?id=59506 GDIPlus Image
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Use the instruction here to install Enterprise Architect https://www.sparxsystems.com/support/faq/enterprise-architect-WINE.html
Create a new Diagram in the Project Browser Create a Checklist element on that diagram.
From Ribbon "Start" -> "Workspace" -> "Preferences"
Select "Diagram -> Appearance" where the renderer type can be changed.
https://bugs.winehq.org/show_bug.cgi?id=43889
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.sparxsystems.com | |/products/ea/trial/request. | |html Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Could you attach a small code fragment that reproduces this issue?
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 62497 --> https://bugs.winehq.org/attachment.cgi?id=62497 +gdiplus log
Attached is a trace of a single draw of the correct drawing of gradients.
This line is where the LinearGradientBrush brushed is crated.
02e2:trace:gdiplus:GdipCreateLineBrushFromRect (0x4e1e274, ffd6f2ff, fff5fcff, 1, 0, 0x4e1e234
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 62781 --> https://bugs.winehq.org/attachment.cgi?id=62781 patch
Hi, Alistair.
Please try this one. It seems to work better, but rendering differs between modes and I don't know if that's expected.
https://bugs.winehq.org/show_bug.cgi?id=43889
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Please test with current wine-git, see 0937186f7d15fed60f77fa2014d650f4d0b6b20b.
https://bugs.winehq.org/show_bug.cgi?id=43889
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |0937186f7d15fed60f77fa2014d | |650f4d0b6b20b
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed. Thanks
https://bugs.winehq.org/show_bug.cgi?id=43889
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc1.