[Bug 39453] New: Graphs not rendering using gdiplus
https://bugs.winehq.org/show_bug.cgi?id=39453 Bug ID: 39453 Summary: Graphs not rendering using gdiplus Product: Wine Version: 1.7.52 Hardware: x86 OS: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: gdiplus Assignee: wine-bugs(a)winehq.org Reporter: ldv1452(a)gmail.com Created attachment 52566 --> https://bugs.winehq.org/attachment.cgi?id=52566 Comparison builtin gdiplus vs native gdiplus Certain graphs (e.g. box plots) and graph components (e.g. axes) are not rendered while using builtin gdiplus. This happens irrespective of the OS and is solved when using native gdiplus (see attached examples). The problem can be observed using this software: https://sourceforge.net/projects/fruits/files/FRUITS2_installer.msi/download a file needs to be loaded and run (by pressing Estimate in the software) to generate the graphs: https://sourceforge.net/projects/fruits/files/simple_CN_model.frt/download I created the software (using Visual Studio). If requested I can provide the source code. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 ldv1452(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52566|Comparison builtin gdiplus |Output using native gdiplus description|vs native gdiplus | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 ldv1452(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52566|0 |1 is obsolete| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #1 from ldv1452(a)gmail.com --- Created attachment 52567 --> https://bugs.winehq.org/attachment.cgi?id=52567 Comparison of output using builtin gdiplus vs native gdiplus -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #2 from Vincent Povirk <madewokherd(a)gmail.com> --- Are you by any chance drawing lines/curves onto Bitmap objects? That doesn't work for most pixel formats currently (it may work for RGB formats with no alpha channel). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #3 from ldv1452(a)gmail.com --- (In reply to Vincent Povirk from comment #2)
Are you by any chance drawing lines/curves onto Bitmap objects? That doesn't work for most pixel formats currently (it may work for RGB formats with no alpha channel).
Do you mean superimposing the lines on a bitmap? If so, that is not the case. I'm using Visual Studio functions to draw different graph types (e.g. box plots, column graphs) in a very similar way to what is done using Excel. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #4 from Vincent Povirk <madewokherd(a)gmail.com> --- Then, you're not using gdiplus directly but using some intermediate library? Does this patch have any effect? https://www.winehq.org/pipermail/wine-patches/2013-February/122317.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #5 from ldv1452(a)gmail.com --- (In reply to Vincent Povirk from comment #4)
Then, you're not using gdiplus directly but using some intermediate library?
Does this patch have any effect? https://www.winehq.org/pipermail/wine-patches/2013-February/122317.html
Indeed: System.Web.DataVisualization.dll. However, the issues are only solved if I use the native gdiplus. As for the patch, I would not know how to apply it! I developed the software for a specific scientific purpose and my programming knowledge is limited (working with Visual Basic). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://sourceforge.net/pro | |jects/fruits/files/FRUITS2_ | |installer.msi/download --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to ldv1452 from comment #5)
(In reply to Vincent Povirk from comment #4)
Then, you're not using gdiplus directly but using some intermediate library?
Does this patch have any effect? https://www.winehq.org/pipermail/wine-patches/2013-February/122317.html
Indeed: System.Web.DataVisualization.dll. However, the issues are only solved if I use the native gdiplus.
As for the patch, I would not know how to apply it! I developed the software for a specific scientific purpose and my programming knowledge is limited (working with Visual Basic).
http://wiki.winehq.org/Patching -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #7 from winetest(a)luukku.com --- Seems to require dotnet45 or at least it starts with that version. I have opened 3 test files (1,2 and 3) and pressed estimate, it complains with one of them something being wrong, but the 2 other examples work. It's really hard to tell if anything is missing. I don't get a match with the picture attached here earlier. Not with builtin or native version in the picutre. Can you test newer wine to confirm what you see? Example 3 was too complex to show for some reason. wine 1.9.21-git. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov(a)gmail.com Keywords| |source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 David Kahurani <k.kahurani(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k.kahurani(a)gmail.com --- Comment #8 from David Kahurani <k.kahurani(a)gmail.com> --- Created attachment 74581 --> https://bugs.winehq.org/attachment.cgi?id=74581 X and Y offsets to GdipTranslateWorldTransform -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #9 from David Kahurani <k.kahurani(a)gmail.com> --- It appears to me that the issue is still there. I injected into this process on Windows 7, hooked onto the API 'GdipTranslateWorldTransform' and dumped the arguments. This is because I see the application requesting suspicious transform while tracing on Wine. The dump is attached and as can be seen, the requested transforms are not suspicious. Meanwhile, tracing on Wine gives some suspicious transform requests like 0024:trace:gdiplus:GdipCreateMatrix (0032F28C) 0024:trace:gdiplus:GdipGetWorldTransform (00015DB8, 0179D328) 0024:trace:gdiplus:GdipGetWorldTransform 1.000000, 0.000000, -0.000000, 1.000000, 0.000000, 0.000000 0024:trace:gdiplus:GdipTranslateWorldTransform (00015DB8, 335553.69, 16.00, 0) 0024:trace:gdiplus:GdipTranslateMatrix (00015DFC, 335553.69, 16.00, 0) 0024:trace:gdiplus:GdipCreateRegion 0032F290 0024:trace:gdiplus:GdipCreateRegion => 0179D348 Essentially, this process is literally requesting to draw in space. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #10 from David Kahurani <k.kahurani(a)gmail.com> --- Woops, I posted in the wrong thread :-( -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Bartosz <gang65(a)poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65(a)poczta.onet.pl --- Comment #11 from Bartosz <gang65(a)poczta.onet.pl> --- In logs there are fixme warnings: fixme:gdiplus:GdipWidenPath unimplemented pen alignment 1 (PenAlignmentInset) More information: https://learn.microsoft.com/en-us/windows/win32/api/gdipluspen/nf-gdipluspen... Do you think it could be the case? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 --- Comment #12 from Bartosz <gang65(a)poczta.onet.pl> --- Created attachment 75178 --> https://bugs.winehq.org/attachment.cgi?id=75178 How it looks like with Wine 8.16 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Jeff Smith <whydoubt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |whydoubt(a)gmail.com --- Comment #13 from Jeff Smith <whydoubt(a)gmail.com> --- As far as I can see, the issue has been fixed. When I ran it, I was able to see the lines that were missing in the original comparison image (the box plots on the left graph, and the axes on both graphs). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39453 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #14 from Esme Povirk <madewokherd(a)gmail.com> --- Reported fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=39453 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.6. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla