[Bug 39920] New: [REGRESSION] In Nanocad 5.1 the file open/import dialog does not open
https://bugs.winehq.org/show_bug.cgi?id=39920 Bug ID: 39920 Summary: [REGRESSION] In Nanocad 5.1 the file open/import dialog does not open Product: Wine Version: 1.9.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs(a)winehq.org Reporter: andrej.skvortzov(a)gmail.com Regression SHA1: bbf2cce16041e90d621a1f5889ea1bd760e21a0e Distribution: --- Nanocad 5.0 works great with wine 1.4.1, but in wine 1.9.0.37 it's not possible anymore to open or import file in NanoCad. That make the CAD useless. I bisected the problem to commit: [bbf2cce16041e90d621a1f5889ea1bd760e21a0e] comdlg32: Do not modify dialog resource directly. I reverted this commit on the latest wine (1.9.0.37) and that fixed my issue with file open dialog. 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. Select menu File->Open. or Click on "Open" icon on the toolbar. Dialog window will not open. -- 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=39920 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=39920 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|[REGRESSION] In Nanocad 5.1 |Nanocad 5.: file |the file open/import dialog |open/import dialog does not |does not open |open -- 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=39920 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de, | |thomas.faber(a)reactos.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=39920 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |ftp://ftp.nanocad.com/nanoc | |ad/nanoCAD50(2000).ZIP Keywords| |download Ever confirmed|0 |1 --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> --- Confirming the regression in wine 1.9.18. http://source.winehq.org/git/wine.git/commitdiff/bbf2cce16041e90d621a1f5889e... comdlg32: Do not modify dialog resource directly. author: Thomas Faber <thfabba(a)gmx.de> Fri, 20 Jul 2012 06:33:08 +0000 (08:33 +0200) committer: Alexandre Julliard <julliard(a)winehq.org> Fri, 20 Jul 2012 12:02:31 +0000 (14:02 +0200) -- 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=39920 --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> --- Created attachment 55648 --> https://bugs.winehq.org/attachment.cgi?id=55648 patch For absolutely unknown reasons "dwSize = SizeofResource(COMDLG32_hInstance, hRes)" receives zero as value. hRes is not NULL, otherwise a previous error would have been triggered. I don't know if the patch is correct or not, it just works. -- 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=39920 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- It looks like it also need some version of dotnet. Bruno, what did you use for testing? -- 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=39920 --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Nikolay Sivov from comment #3)
It looks like it also need some version of dotnet. Bruno, what did you use for testing?
If you try in a clean prefix the program will crash "Loading modules". So prior to installing the app winetricks dotnet35. The Open/Import dialogs still do not open in 2.0-rc1. -- 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=39920 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |bunglehead(a)gmail.com --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 56723 --> https://bugs.winehq.org/attachment.cgi?id=56723 patch 2 Zero size is "normal" in this case, that's apparently how resource entry is set up by application. Attached patch doesn't modify template regardless of where it comes from, deferring style changes to initialization time. I think it's better to wait after 2.0 with it, as it should be split to fix SetWindowLong separately, and that's unrelated to this regression. Please retest. -- 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=39920 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6c4aaf776faf6bf465e3a06bb68 | |a7c7e998b68be Assignee|bunglehead(a)gmail.com |wine-bugs(a)winehq.org Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- Fixed with 6c4aaf776faf6bf465e3a06bb68a7c7e998b68be. Please test. -- 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=39920 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.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=39920 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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=39920 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #8 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.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.
participants (1)
-
wine-bugs@winehq.org