https://bugs.winehq.org/show_bug.cgi?id=47667
Bug ID: 47667 Summary: Problems with hh.exe reading CHM files Product: Wine Version: 4.0.1 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: macdis@gmail.com
I have experienced serious problems with Wine's internal CHM reader, which does not seem to be compatible with some CHM files.
Running Wine 4.0.1 stable on MacOS Mojave 10.14.6 installed via "brew install wine".
STEPS TO REPRODUCE:
- Open an affected CHM file with "wine hh file.chm"
Note: the CHM files I've tried work flawlessly under Windows XP using native hh.exe.
ACTIONS THAT INITIATE PROBLEMS:
- Attempt to do either a global search (using the "Search" tab)
- Attempt a page search (using Ctrl-F)
- Attempt to navigate through the document with links on the document's home page.
PROBLEMS ENCOUNTERED:
- No results are given for valid searches.
- Home page links do nothing when clicked on.
WHAT DOES WORK:
I can navigate through the document by clicking on links in the "Contents" tab.
SOLUTIONS ATTEMPTED:
- Use a manually installed alternative hh.exe from an original Windows XP and a Windows 7 installation disk. Result: I cannot bypass Wine's internal CHM viewer.
- Use a manually installed alternative hh.exe, renamed hhxp.exe (for example), and changing the registry key at "HKCR\chm.file\shell\open\command" so that it points to hhxp.exe. Result: I cannot bypass Wine's internal CHM viewer.
- Install an alternative CHM viewer, such as kchmviewer. Result: the file opens, but navigation and searching are impossible. This may be a problem with kchmviewer, but I include it here as additional information.
SOLUTION PROPOSED:
- Allow the user to bypass Wine's internal CHM viewer by enabling usage of the standard hh.exe, or allow usage of a manually installed hh.exe from a standard Windows installation.