http://bugs.winehq.org/show_bug.cgi?id=10140
Summary: Most grayscale JPEGs cause abnormal rendering artifacts in CDisplay Product: Wine Version: 0.9.47. Platform: PC OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: justivo@gmail.com
Created an attachment (id=8719) --> (http://bugs.winehq.org/attachment.cgi?id=8719) example file for testing
I've noticed this bug two years ago when I first tried Wine. I never reported it. I always expected that it was something obvious that would get fixed soon, and now here we are with version 0.9.47 and the bug still rampant. So it is not something obvious.
In Windows I frequently used the comic book reader called CDisplay[1]. When I moved on, I brought the software with me and tried it in Wine. In most cases -- because many of my scanned comic books are old and black and white -- I was unable to read the book. A weird graphical glitch, which would not output any useful debug message, would prevent me from reading the book. I managed to track, after some experimenting, that the problem was caused by most (but not all) grayscale JPEG files. A RGB colored one would not suffer from this problem.
I believe it may be a GDI+ glitch.
Since 2005 at least I've seen this problem, and it went on in every update of Wine, clean install or not. Besides the rendering glitch, the program works otherwise fine.
While the problem seemingly only affects CDisplay, it's possible that it may affect some videogames, or even Photoshop itself, and as such it may be worth checking it out.
Attached is an example file that triggers the problem. CDisplay is a freeware application. The link for download is below.
[1] http://www.geocities.com/davidayton/CDisplay.html
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #1 from Austin English austinenglish@gmail.com 2007-10-26 04:36:17 --- Using the file you attached, the program simply acts like its loading the image, but never does. It's not a hang, as the program is still responsive. Are you experiencing the same behavior on this image? Do you have any other images to test, and/or did you use any workarounds/registry entries/etc that are different from a clean .wine?
http://bugs.winehq.org/show_bug.cgi?id=10140
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Austin English austinenglish@gmail.com 2007-10-26 04:41:33 --- Nevermind, seems I had a runaway process eating up CPU. Confirming in wine 0.9.47, kubuntu gusty. Screenshot to follow.
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #3 from Austin English austinenglish@gmail.com 2007-10-26 04:42:03 --- Created an attachment (id=8779) --> (http://bugs.winehq.org/attachment.cgi?id=8779) Screenshot under kubuntu gusty
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #4 from Ivo Emanuel Gonçalves justivo@gmail.com 2007-10-26 05:53:42 --- Seeing your attachment, I can see the same problem. It has been happening in all versions of Wine I have tested since 2005, clean install or not. I'm still not sure what causes it. And yes, I can post more images like this if you'd like to see them. The only thing they will have in common is that they are grayscale JPEGs.
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #5 from Lei Zhang thestig@google.com 2008-01-18 17:45:25 --- Can you try using the native gdiplus.dll and see if the problem goes away?
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #6 from Ivo Emanuel Gonçalves justivo@gmail.com 2008-01-19 15:43:33 --- (In reply to comment #5)
Can you try using the native gdiplus.dll and see if the problem goes away?
Nope, same exact problem. It's either not a problem with gdiplus (maybe DirectDraw instead) or Wine's API has something wrong on how it interacts with gdiplus.
http://bugs.winehq.org/show_bug.cgi?id=10140
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdiplus |-unknown
--- Comment #7 from Austin English austinenglish@gmail.com 2008-06-16 15:48:53 --- Is this still an issue in current (1.0-rc5 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #8 from Ivo Emanuel Gonçalves justivo@gmail.com 2008-09-27 12:37:32 --- (In reply to comment #7)
Is this still an issue in current (1.0-rc5 or newer) wine?
Yes, it is. Didn't test in 1.1.5 (I now have stable 1.0), but I very much doubt it's been fixed there. This bug's been around for years. I used to care because Linux didn't have a good comic book reader back then and I had to use Windows' CDisplay, but Comix has filled this niche, so I'm not directly affected by the rendering problem anymore.
However, I worry the bug may affect image editors like Photoshop, Paintshop and what have you, but if they don't complain I guess it doesn't.
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #9 from Ivo Emanuel Gonçalves justivo@gmail.com 2008-09-27 12:38:56 --- (In reply to comment #8)
if they don't complain I guess it doesn't.
They, the users of those applications. Sorry this wasn't clear.
http://bugs.winehq.org/show_bug.cgi?id=10140
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.geocities.com/dav | |idayton/CDisplay.html Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=10140
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.geocities.com/da |http://cdisplay.techknight. |vidayton/CDisplay.html |com/setup.zip CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=10140
--- Comment #10 from André H. nerv@dawncrow.de 2009-09-20 07:01:50 --- still present in wine 1.1.29
http://bugs.winehq.org/show_bug.cgi?id=10140
Wolfram Sang wolfram@the-dreams.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfram@the-dreams.de
--- Comment #11 from Wolfram Sang wolfram@the-dreams.de 2011-02-06 12:18:56 CST --- Just checked: Another dupe of bug #4432, meanwhile fixed since 1.3.10 (with http://source.winehq.org/git/wine.git/?a=commitdiff;h=27d2b9b81490ca41c23ac3... ) \o/
http://bugs.winehq.org/show_bug.cgi?id=10140
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2011-02-06 14:27:46 CST --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=10140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2011-02-18 12:37:36 CST --- Closing bugs fixed in 1.3.14.
http://bugs.winehq.org/show_bug.cgi?id=10140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=10140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
https://bugs.winehq.org/show_bug.cgi?id=10140
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |27d2b9b81490ca41c23ac3ad1fe | |057a8d8f44aea