https://bugs.winehq.org/show_bug.cgi?id=47667
--- Comment #11 from macdis macdis@gmail.com --- (In reply to Fabian Maurer from comment #10)
Confirming the issue(s). Got page search (Ctrl-F) to work with the following steps:
- Create fresh WINERPEFIX with WINEARCH=win32
- Copy hhctrl.ocx from XP system32 into wine system32
- Add dll override for "hhctrl.ocx"
- winetricks -q ie8
- Add dll override for "ieframe"
For global search, add the following steps:
- Copy itircl.dll from XP system32 into wine system32
- wine regsvr32 itircl.dll
This is a bunch of independent issues though, and must be split into different bug reports.
Question, does this only happen for some CHM files or for all of them?
This almost works. Ctrl-F works fine. However, two major things do not quite work yet:
1. The table of contents does not display in the "Contents" tab, either initially or when viewing different parts of the document. This would usually be the case (I'm attaching a screenshot of a working table of contents window from my Parallels installation). A table of contents does appear in the *main* window (i.e., the home page of the document), but I can no longer navigate through the subdocuments manually via the "Contents" tab. (Manual navigation via the "Contents" tab is the one thing that worked in the Wine native viewer.)
2. After a global search, I can select *one* passage to view from the results of the search. However, I cannot select any other passages after that. In other words, the search results links go dead after one selection.
Perhaps both of these issues are really just one issue, such as a navigation problem via the tabs windows ("Contents", "Search")?
To respond to your question: I don't have a lot of CHM files to test, but I did look at a few from an XP installation. Your technique usually allows a table of contents to be displayed and navigation generally works. In some documents, in the search window I can select from a list of keywords (if the document has keywords defined). However, in global searches, I can only select one result (as described above--I can't select any other results afterwards.