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@winehq.org Reporter: andrej.skvortzov@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
https://bugs.winehq.org/show_bug.cgi?id=39921
andrej.skvortzov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.skvortzov@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39921
--- Comment #1 from andrej.skvortzov@gmail.com --- Created attachment 53316 --> https://bugs.winehq.org/attachment.cgi?id=53316 bad looking icons in wine-1.9.0.37
https://bugs.winehq.org/show_bug.cgi?id=39921
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |joseph.kucia@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 |
https://bugs.winehq.org/show_bug.cgi?id=39921
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=39921
Tolik tolikk91@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tolikk91@yandex.ru
--- Comment #2 from Tolik tolikk91@yandex.ru --- Created attachment 55797 --> https://bugs.winehq.org/attachment.cgi?id=55797 the same thing is observed in Bricscad
https://bugs.winehq.org/show_bug.cgi?id=39921
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #3 from winetest@luukku.com --- bug 41347 has the same regression id.
https://bugs.winehq.org/show_bug.cgi?id=39921
--- Comment #4 from winetest@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.
https://bugs.winehq.org/show_bug.cgi?id=39921
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@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?
https://bugs.winehq.org/show_bug.cgi?id=39921
Fabian Maurer dark.shadow4@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@web.de --- Still broken as of wine-3.21
https://bugs.winehq.org/show_bug.cgi?id=39921
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- Bug is still as in comment 5 with wine-6.21.
https://bugs.winehq.org/show_bug.cgi?id=39921
YAL yal@csoftcom.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yal@csoftcom.com
--- Comment #8 from YAL yal@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).
https://bugs.winehq.org/show_bug.cgi?id=39921
--- Comment #9 from YAL yal@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.
https://bugs.winehq.org/show_bug.cgi?id=39921
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED CC| |huw.davies@physics.ox.ac.uk
--- Comment #10 from Huw Davies huw.davies@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.
https://bugs.winehq.org/show_bug.cgi?id=39921
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|NOTOURBUG |INVALID
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- Changing to 'INVALID' and closing.
https://bugs.winehq.org/show_bug.cgi?id=39921
David marineworks@tiscalinet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marineworks@tiscalinet.it
--- Comment #12 from David marineworks@tiscalinet.it --- (In reply to YAL from comment #8)
It works fine for me !!!! Thanks a lot for your kind interest ! David