https://bugs.winehq.org/show_bug.cgi?id=44640
Bug ID: 44640 Summary: Enterprise Architect now longer draw diagram correctly with gdiplus Product: Wine Version: 3.2 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Created attachment 60642 --> https://bugs.winehq.org/attachment.cgi?id=60642 +gdiplus log
Elements placed on diagram no longer draw their borders when using gdiplus.
https://bugs.winehq.org/show_bug.cgi?id=44640
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://www.sparxsystems.com | |/products/ea/trial/request. | |html CC| |madewokherd@gmail.com Regression SHA1| |0943fcf3761be29a011328f1eb5 | |847aaee6ed835
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Reverting the following commit fixes the issue.
0943fcf3761be29a011328f1eb5847aaee6ed835
Author: Vincent Povirk vincent@codeweavers.com 2018-03-01 02:49:29
gdiplus: Silently ignore empty rectangles in GdipAddPathRectangles.
https://bugs.winehq.org/show_bug.cgi?id=44640
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdi32 |gdiplus
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- To make Enterprise Architect use gdiplus Tools -> Options Then Diagram -> Appearance Change the Renderer to "Enhanced - 2"
https://bugs.winehq.org/show_bug.cgi?id=44640
--- Comment #3 from Vincent Povirk madewokherd@gmail.com --- There are a lot of calls that look like this.
006a:trace:gdiplus:GdipSetClipRectI (0x2b346048, 71, 5, 901, -420, 0)
Note the negative height. With the patch, this becomes an empty clip region. However, in my testing on Windows, that appears to be correct.
Maybe there's another problem calculating the rectangle that was hidden before?
https://bugs.winehq.org/show_bug.cgi?id=44640
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- It seems like inverting the y axis using the world transform changes native's behavior, so that it matches what gdiplus did before, at least for clipping regions.
https://bugs.winehq.org/show_bug.cgi?id=44640
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- I sent some patches that may help: https://www.winehq.org/pipermail/wine-devel/2018-March/123811.html
I have not tested whether these fix the application.
https://bugs.winehq.org/show_bug.cgi?id=44640
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |989c29870f3bdd3f67ca5bb9a2c | |5dfd42659f7aa Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=989c29870f3bdd3f67ca5bb9a...
https://bugs.winehq.org/show_bug.cgi?id=44640
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.5.
https://bugs.winehq.org/show_bug.cgi?id=44640
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://www.sparxsystems.com |https://web.archive.org/web |/products/ea/trial/request. |/20180425031128/http://spar |html |xsystems.com.au/bin/easetup | |.msi Summary|Enterprise Architect now |Enterprise Architect 13.5 |longer draw diagram |now longer draw diagram |correctly with gdiplus |correctly with gdiplus