[Bug 39921] New: [REGRESSION] in Nanocad 5.0 icons in menu panel have black background
https://bugs.winehq.org/show_bug.cgi?id=39921 Bug ID: 39921 Summary: [REGRESSION] in Nanocad 5.0 icons in menu panel have black background Product: Wine Version: 1.9.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs(a)winehq.org Reporter: andrej.skvortzov(a)gmail.com Regression SHA1: b81a7d976e3c3de36a01401d125871d3014e6c67 Distribution: --- Created attachment 53315 --> https://bugs.winehq.org/attachment.cgi?id=53315 good looking icons in wine-1.4.1 Nanocad 5.0 works ok with wine 1.4.1, but in wine 1.9.0.37 icons on toolbars have black background. Screenshots are attached. I bisected the problem. The first bad commit is: [ b81a7d976e3c3de36a01401d125871d3014e6c67 ] gdi32: Always use the DIB engine for monochrome bitmap rendering. Nanocad 5.0 is free and can be downloaded here: ftp://ftp.nanocad.com/nanocad/nanoCAD50(2000).ZIP or here http://nanocad.com/page/DownloadNanoCAD It can be used without registration/activation in Demo mode. This is enough to reproduce the bug. Steps to reproduce the problem: 1. Unpack zip archive into ~/nanocad5 2. Install prerequirements WINEARCH=win32 WINEPREFIX=~/.wine/wine-test ./wine ~/nanocad5/PreReq/vcredist_x86.exe 3. Install nanoCad WINEARCH=win32 WINEPREFIX=~/.wine/wine-test ./wine msiexec /i ~/nanocad5/nanoCAD.msi 4. Install nanoCad WINEARCH=win32 WINEPREFIX=~/.wine/wine-test ./wine msiexec /i ~/nanocad5/nanoCAD.msi 5. Run nanoCad. Select Demo mode. WINEARCH=win32 WINEPREFIX=~/.wine/wine-test ./wine ~/.wine/wine-test/drive_c/Program\ Files/Nanosoft/nanoCAD\ en\ 5.0/nCad.exe 6. See icons with black background on toolbars -- 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=39921 andrej.skvortzov(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.skvortzov(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=39921 --- Comment #1 from andrej.skvortzov(a)gmail.com --- Created attachment 53316 --> https://bugs.winehq.org/attachment.cgi?id=53316 bad looking icons in wine-1.9.0.37 -- 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=39921 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |joseph.kucia(a)gmail.com Summary|[REGRESSION] in Nanocad 5.0 |Nanocad 5.0 icons in menu | icons in menu panel have |panel have black background |black background | -- 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=39921 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.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=39921 Tolik <tolikk91(a)yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tolikk91(a)yandex.ru --- Comment #2 from Tolik <tolikk91(a)yandex.ru> --- Created attachment 55797 --> https://bugs.winehq.org/attachment.cgi?id=55797 the same thing is observed in Bricscad -- 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=39921 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #3 from winetest(a)luukku.com --- bug 41347 has the same regression id. -- 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=39921 --- Comment #4 from winetest(a)luukku.com --- (In reply to winetest from comment #3)
bug 41347 has the same regression id.
Even that bug is marked fixed, this bug is still valid wine 2.0.rc3-git which includes the patch that fixed the other bug. -- 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=39921 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 59898 --> https://bugs.winehq.org/attachment.cgi?id=59898 Screenshot showing completely black icons It's worse in wine-2.22, see attached screenshot. Downgrading to wine 1.9.0 makes it show only the black background again. However, with both version it crashes after I selected "Run in demo mode". Can someone confirm that? -- 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=39921 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |ftp://ftp.nanocad.com/nanoc | |ad/nanoCAD50(2000).ZIP Keywords| |download Ever confirmed|0 |1 --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Still broken as of wine-3.21 -- 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=39921 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #7 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug is still as in comment 5 with wine-6.21. -- 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=39921 YAL <yal(a)csoftcom.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yal(a)csoftcom.com --- Comment #8 from YAL <yal(a)csoftcom.com> --- As nanoCAD developer I've investigated this issue and here is conclusion: Long time ago WINE has a kind of bug in MaskBlt. I've made workaround under sort of "is_WINE" dynamic condition flag, that still persist in nanoCAD5 code (it's bad, I know, but we need to satisfy users at that time). MaskBlt already fixed in WINE and it works now exactly like in Windows, but my workaround caused now such drawing effect. I've built patched version of nanoCAD5 dll, so you can test it (zip attached). -- 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=39921 --- Comment #9 from YAL <yal(a)csoftcom.com> --- Created attachment 71587 --> https://bugs.winehq.org/attachment.cgi?id=71587 Fixed nanoCAD5 dll. For testing just unpack it to "bin" folder of installed nanoCAD5 product. -- 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=39921 Huw Davies <huw.davies(a)physics.ox.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED CC| |huw.davies(a)physics.ox.ac.uk --- Comment #10 from Huw Davies <huw.davies(a)physics.ox.ac.uk> --- (In reply to YAL from comment #8)
As nanoCAD developer I've investigated this issue and here is conclusion: Long time ago WINE has a kind of bug in MaskBlt. I've made workaround under sort of "is_WINE" dynamic condition flag, that still persist in nanoCAD5 code (it's bad, I know, but we need to satisfy users at that time). MaskBlt already fixed in WINE and it works now exactly like in Windows, but my workaround caused now such drawing effect.
I've built patched version of nanoCAD5 dll, so you can test it (zip attached).
Ah, that's great, thanks for looking into that. -- 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=39921 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|NOTOURBUG |INVALID --- Comment #11 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Changing to 'INVALID' and closing. -- 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=39921 David <marineworks(a)tiscalinet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marineworks(a)tiscalinet.it --- Comment #12 from David <marineworks(a)tiscalinet.it> --- (In reply to YAL from comment #8) It works fine for me !!!! Thanks a lot for your kind interest ! David -- 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