[Bug 38073] New: GdipDrawPath graphics object has no HDC ( graphical glitches in Adobe Premiere Pro)
https://bugs.winehq.org/show_bug.cgi?id=38073 Bug ID: 38073 Summary: GdipDrawPath graphics object has no HDC ( graphical glitches in Adobe Premiere Pro) Product: Wine Version: 1.7.36 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs(a)winehq.org Reporter: fincer89(a)hotmail.com Distribution: --- Created attachment 50722 --> https://bugs.winehq.org/attachment.cgi?id=50722 gdiplus trace log sample (Adobe Premiere Pro CS3) Current GDIPlus library functionality makes some program windows to be rendered in a wrong way or not rendered at all (black areas). One affected program is Adobe Premiere Pro CS3. See sample images provided. Terminal output (without tracing): fixme:gdiplus:GdipDrawPath graphics object has no HDC fixme:gdiplus:GdipDrawPath graphics object has no HDC fixme:gdiplus:GdipDrawPath graphics object has no HDC fixme:gdiplus:GdipDrawPath graphics object has no HDC Trace log is provided as an attachment, too. Some practical examples described below. Bug example 1: If you right click to get a popup settings window in the program, the window is black until you move your cursor on it. Cursor movement makes features such as texts inside the popup window rendered correctly (though the popup window borders still stay black). This is repeatable every time. Bug example 2: If you shrink the main application window (do not minimize it to the toolbar) and then maximize it again, some features which were previously rendered correctly, are now either unrendered (black areas) or rendered in a wrong way. Bug example 3: Wrong GUI rendering leads also to partially or completely disabled functionality in Premiere Pro, such as: Video & audio tracks are not rendered correctly in the timeline sequence. You can't see important information of your project audio/video tracks on the left side as you normally would do, thus preventing you to change any settings relevant to the tracks themselves. -- 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=38073 --- Comment #1 from Pekka Helenius <fincer89(a)hotmail.com> --- Created attachment 50723 --> https://bugs.winehq.org/attachment.cgi?id=50723 Premiere Pro CS3, grapgical glitches (gdiplus), example 1 -- 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=38073 --- Comment #2 from Pekka Helenius <fincer89(a)hotmail.com> --- Created attachment 50724 --> https://bugs.winehq.org/attachment.cgi?id=50724 Premiere Pro CS3, grapgical glitches (gdiplus), example 2 -- 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=38073 Pekka Helenius <fincer89(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GdipDrawPath graphics |GdipDrawPath graphics |object has no HDC ( |object has no HDC |graphical glitches in Adobe |(graphical glitches in |Premiere Pro) |Adobe Premiere Pro CS3) -- 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=38073 --- Comment #3 from Pekka Helenius <fincer89(a)hotmail.com> --- Created attachment 50725 --> https://bugs.winehq.org/attachment.cgi?id=50725 Premiere Pro CS3, no glitches (as reference to the previous pics) This screenshot was taken when the program was opened in unmaximized state on Wine. All controls are visible as expected. However, doing *anything* that has an effect on program controls may cause GUI to glitch as seen in previous screenshots (example 1 & 2). -- 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=38073 --- Comment #4 from Pekka Helenius <fincer89(a)hotmail.com> --- gdiplus: Reimplement GdipDrawPath :: 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=38073 wine(a)kalvdans.no-ip.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)kalvdans.no-ip.org -- 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=38073 Jeff D. Hanson <jhansonxi(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhansonxi(a)gmail.com --- Comment #5 from Jeff D. Hanson <jhansonxi(a)gmail.com> --- I believe AutoTRAX Design Express 6 is affected by this bug: fixme:gdiplus:GdipDrawPath graphics object has no HDC Has similar symptoms. Native gdiplus results in an error "Application Failure: Parameter is not valid" and abort. -- 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=38073 --- Comment #6 from Jeff D. Hanson <jhansonxi(a)gmail.com> --- Created attachment 53349 --> https://bugs.winehq.org/attachment.cgi?id=53349 AutoTRAX main window screenshot -- 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=38073 --- Comment #7 from Jeff D. Hanson <jhansonxi(a)gmail.com> --- Note that AutoTRAX has a trial download available: https://www.kov.com/Download -- 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=38073 Andrew Certain <certain(a)thecertains.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |certain(a)thecertains.com --- Comment #8 from Andrew Certain <certain(a)thecertains.com> --- This behavior also appears on Photo Supreme. A free trial version is available: http://www.idimager.com/WP/?page_id=20 Happy to attach screen shots or perform other troubleshooting if it would be helpful. -- 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=38073 cwillu(a)cwillu.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cwillu(a)cwillu.com --- Comment #9 from cwillu(a)cwillu.com --- Similar bug using GenuTax (free download at http://www.genutax.ca); makes it unusable. -- 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=38073 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #10 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 55524 --> https://bugs.winehq.org/attachment.cgi?id=55524 Inperformant fix for the "graphics object has no HDC" issue Also affects a program called "flowgorithm". However, I created a patch, while I assume it's not very performant it solves the issue for me. Can someone try i with Adobe and the other programs it appears in? -- 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=38073 --- Comment #11 from Fincer <fincer89(a)hotmail.com> --- Created attachment 55532 --> https://bugs.winehq.org/attachment.cgi?id=55532 Wine 1.9.17 32-bit with HDC patch + Adobe Premiere Pro CS3 Tested your patch with wine 1.9.17 + Adobe Premiere Pro CS3 (x86). I got no terminal complaints about HDC. There are still minor glitches visible but the situation has somewhat improved, though (see attachment). -- 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=38073 --- Comment #12 from Fincer <fincer89(a)hotmail.com> --- P.S. Compared to native GDIPlus, with this patch it takes longer to start Premiere Pro CS3, however. -- 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=38073 --- Comment #13 from Fabian Maurer <dark.shadow4(a)web.de> --- Yeah, it's slower since it renders into an temporary HDC and then blends the result onto the image. Thing is, the function for that uses "GdipBitmapGetPixel" and "GdipBitmapSetPixel" internally, so it's not too performant. But it looks a lot better. -- 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=38073 --- Comment #14 from Vincent Povirk <madewokherd(a)gmail.com> --- Created attachment 55534 --> https://bugs.winehq.org/attachment.cgi?id=55534 partial implementation Here's a WIP to show what it will eventually look like. I wanted to get dash patterns in there before submitting it. -- 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=38073 Vincent 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=38073 --- Comment #15 from Fabian Maurer <dark.shadow4(a)web.de> --- Does this WIP already work? Because it crashes the program for me. -- 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=38073 --- Comment #16 from Vincent Povirk <madewokherd(a)gmail.com> --- It's missing features, but I don't expect it to crash. -- 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=38073 katsunori.kumatani(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katsunori.kumatani(a)gmail.co | |m --- Comment #17 from katsunori.kumatani(a)gmail.com --- On wine 1.9.21, this works fine. But it has no anti-aliasing, is that a missing feature or unrelated? Shouldn't this bug be marked as NEW by the way? -- 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=38073 --- Comment #18 from Vincent Povirk <madewokherd(a)gmail.com> --- Yes, there's no anti-aliasing in Wine's 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=38073 Fincer <fincer89(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89(a)hotmail.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=38073 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download CC| |xerox.xerox2000x(a)gmail.com Ever confirmed|0 |1 --- Comment #19 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Vincent Povirk from comment #14)
Created attachment 55534 [details] partial implementation
Here's a WIP to show what it will eventually look like. I wanted to get dash patterns in there before submitting it.
Hi, isn`t this bug already fixed? AFAICT the fixme:gdiplus:GdipDrawPath graphics object has no HDC is not even present anymore in current source of gdiplus I tried flowgorithm (from comment 10) and i don`t see this issue, though i see another crash. Could you retest (preferably Adobe Premiere Pro CS3). I set this bug as confirmed as several comments indicate it was present in other programs as well -- 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=38073 --- Comment #20 from Andrew Certain <certain(a)thecertains.com> --- I tried the latest 64-bit version of Photo Supreme Server and it no longer displays this bug (still doesn't run, though). -- 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=38073 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #21 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Andrew Certain from comment #20)
I tried the latest 64-bit version of Photo Supreme Server and it no longer displays this bug (still doesn't run, though).
Thanks for testing. I tried it too from http://trial.idimager.com/setup64_PhotoSupremePostgreSQL_V4.exe and it doesn`t run indeed, but it`s not due to gdiplus issue ( tried native gdiplus, didn`t help) You could open a new bugreport for that if you want. Anyway, i think the initial issue is fixed, and new follow-up issues should be tracked by new bugreports -- 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=38073 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #22 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.8. -- 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 (1)
-
wine-bugs@winehq.org