http://bugs.winehq.org/show_bug.cgi?id=31823
Bug #: 31823 Summary: Regression: chm help file viewer broken Product: Wine Version: 1.5.14 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: scallegari@arces.unibo.it Classification: Unclassified
The chm help file viewer appears to be unusable, while it was OK in the stable branch.
You can test this with the freely available application LTSPICE, that can be downloaded at http://ltspice.linear.com/software/LTspiceIV.exe.
To reproduce:
- Install the software - Launch it - Press the help button
What happens:
- A help window opens. This window shows the cover page of the LTSPICE manual with the artifact of a weird work in progress sign at the right bottom corner. The window has no buttons on the top and, most important, no navigation panel. Thus, it is completely impossible to navigate the manual. At the same time, wine complains a lot on the console:
fixme:iphlpapi:NotifyAddrChange (Handle 0x11de8e0, overlapped 0x11de8ec): stub fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of group {000214d1-0000-0000-c000-000000000046} fixme:ieframe:ClOleCommandTarget_QueryStatus (0x152cb4)->((null) 1 0x33c58c (nil)) fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of group {000214d1-0000-0000-c000-000000000046} fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of group {000214d1-0000-0000-c000-000000000046} fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:ieframe:ClientSite_GetContainer (0x152cb4)->(0x33c59c) fixme:mshtml:nsChannel_GetContentDisposition (0xfa1680)->(0x33bcc8) fixme:mshtml:nsChannel_GetContentDispositionHeader (0xfa1680)->(0x33b504) fixme:ieframe:ClientSite_GetContainer (0x152cb4)->(0x33d49c) fixme:imm:ImmReleaseContext (0x1033c, 0x155d08): stub fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 29 fixme:ieframe:DocHostUIHandler_GetDropTarget (0x152cb4) fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:mshtml:nsChannel_GetContentDispositionHeader (0x1022558)->(0x33e538) fixme:win:EnumDisplayDevicesW ((null),0,0x33eab8,0x00000000), stub! fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 29 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of group {000214d1-0000-0000-c000-000000000046} fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000} fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
What should happen:
- The help window is shown, with the manual cover page. The window has buttons on the top (e.g. the back button) and a navigation panel, showing how the manual is organized in sections and chapters. Clicking entries in the navigation panel opens the corresponding page of the manual.
A couple of final notes:
- As also reported by wikipedia (https://en.wikipedia.org/wiki/LTspice) the author and maintainer of LTSPICE is making an explicit effort to assure that it runs in wine and is explicitly advertising wine as a way to run LTSPICE on non windows platforms. Due to this, it would be great to see wine providing a good experience for it.
- Unfortunately, I anticipate that I will not be able to run regression tests on my machine. Yet, I hope that this bug report can still help.
http://bugs.winehq.org/show_bug.cgi?id=31823
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download, regression URL| |http://ltspice.linear.com/s | |oftware/LTspiceIV.exe Component|-unknown |hhctrl.ocx CC| |ehoover@mines.edu, | |gyebro69@gmail.com Ever Confirmed|0 |1 Regression SHA1| |b6ed7acce1d0692c05103662107 | |62cda9076a6ce Severity|normal |minor
--- Comment #1 from GyB gyebro69@gmail.com 2012-09-29 04:43:05 CDT --- Confirming. A regression from Wine 1.5.13:
b6ed7acce1d0692c0510366210762cda9076a6ce is the first bad commit commit b6ed7acce1d0692c0510366210762cda9076a6ce Author: Erich Hoover ehoover@mines.edu Date: Fri Aug 31 15:26:26 2012 -0600
hhctrl.ocx: Properly show HTML Help dialogs without Tri-Pane display.
:040000 040000 cfebd2e60162882a8069866fd31dc39d26660409 18938168e82ad66df648e59f277e37cfd8dd4edd M dlls
Reverting the patch on 1.5.14 fixes the problem.
http://bugs.winehq.org/show_bug.cgi?id=31823
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: chm help file |LTSpice: chm help file |viewer broken |viewer broken
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #2 from Erich Hoover ehoover@mines.edu 2012-09-29 09:10:15 CDT --- (In reply to comment #1)
... hhctrl.ocx: Properly show HTML Help dialogs without Tri-Pane display. ... Reverting the patch on 1.5.14 fixes the problem.
That's an odd patch to be causing this problem... I'm going to be busy today, but I should have some time to look into this tomorrow.
http://bugs.winehq.org/show_bug.cgi?id=31823
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|wine-bugs@winehq.org |ehoover@mines.edu
--- Comment #3 from Erich Hoover ehoover@mines.edu 2012-09-30 10:39:20 CDT --- Created attachment 41894 --> http://bugs.winehq.org/attachment.cgi?id=41894 Store all the parameters the first time the WinType is filled in
The regression here looks like it's actually a result of commit 494936452a1719e5a293e3cbae3b9535dbfcfa23. Please try the attached patch and see how that works out.
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #4 from GyB gyebro69@gmail.com 2012-09-30 11:52:45 CDT --- The patch fixes the problem here, and the built-in help appears correctly, except that certain combination of letters (most notably 'fi' in a given word) results in bold fonts. That could be due to another commit after 1.5.12?
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #5 from Erich Hoover ehoover@mines.edu 2012-09-30 11:56:45 CDT --- (In reply to comment #4)
The patch fixes the problem here, and the built-in help appears correctly, ...
Awesome.
... except that certain combination of letters (most notably 'fi' in a given word) results in bold fonts. That could be due to another commit after 1.5.12?
Would you mind doing a regression test and seeing if there's something else responsible for that?
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #6 from GyB gyebro69@gmail.com 2012-09-30 14:11:22 CDT --- (In reply to comment #5)
except that certain combination of letters (most notably 'fi' in a given word) results in bold fonts. That could be due to another commit after 1.5.12?
Would you mind doing a regression test and seeing if there's something else responsible for that?
I've filed bug #31840 about the font issue.
http://bugs.winehq.org/show_bug.cgi?id=31823
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31840
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #7 from Erich Hoover ehoover@mines.edu 2012-09-30 16:14:02 CDT --- (In reply to comment #6)
... I've filed bug #31840 about the font issue.
Awesome, glad to see it's unrelated. I currently have some other patches queued, but after they're resolved then I'll push my HTML Help fixes (both for this bug and Bug #15970).
http://bugs.winehq.org/show_bug.cgi?id=31823
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #8 from Erich Hoover ehoover@mines.edu 2012-10-03 14:37:23 CDT --- (In reply to comment #7)
... I currently have some other patches queued, but after they're resolved then I'll push my HTML Help fixes (both for this bug and Bug #15970).
This bug should be fixed by commit bc2258d678d43062441bbc62f98ad3d7370ab4be, if you could test and confirm that that's the case then it would be greatly appreciated.
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #9 from GyB gyebro69@gmail.com 2012-10-03 14:50:51 CDT --- I can confirm that the help viewer displayed correctly in wine-1.5.14-142-g730479e. I still have the problem with certain characters in the help viewer, as reported in bug #31840.
http://bugs.winehq.org/show_bug.cgi?id=31823
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bc2258d678d43062441bbc62f98 | |ad3d7370ab4be Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #10 from GyB gyebro69@gmail.com 2012-10-05 22:33:17 CDT --- Although the bug reporter hasn't responded yet, I'm marking this bug FIXED.
http://bugs.winehq.org/show_bug.cgi?id=31823
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:34:54 CDT --- Closing bugs fixed in 1.5.15.
http://bugs.winehq.org/show_bug.cgi?id=31823
--- Comment #12 from Sergio Callegari scallegari@arces.unibo.it 2012-10-13 05:28:42 CDT --- I have just received the latest debs, and I confirm that the bug is fixed.