Bug 317185

Summary: Okular takes a very long time to load chm and does not display it correctly
Product: [Applications] okular Reporter: Jan Binder <wheel>
Component: CHM backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: aacid
Priority: NOR    
Version: 0.16.60   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing the different display
Broken CHM display, 2021 version

Description Jan Binder 2013-03-22 11:50:21 UTC
Okular takes severel miutes lo load a larger chm file which is then displayed incorrectly, i.e. missing some content.
CHMsee is much faster and displays the file correctly.

Reproducible: Always

Steps to Reproduce:
1. Open the file.
2. Wait until opened.
3. Compare displayed result with the same file opened in CHMsee.
Actual Results:  
File takes a very long time to load and is missing whole sections.

Expected Results:  
File loads quickly and shows all content.
Comment 1 Jan Binder 2013-03-22 11:56:44 UTC
Testcase is too big to attach and can be found at http://intern.sfz-bw.de/~jan.binder/LD.Api.chm
Comment 2 Jan Binder 2013-03-22 11:58:54 UTC
Created attachment 78290 [details]
Screenshot showing the different display

Okular on the left, CHMsee on the right showing the same file.
CHMsee's rendering is much more useful.
Comment 3 Albert Astals Cid 2013-04-07 18:53:14 UTC
Right, our CHM support is a bit lacking at the moment. Unfortunately there's not much people in our current base of developers that have much experience with it which means this bug will probably take a good while to be fixed.

Thanks a lot for the report :-)
Comment 4 Justin Zobel 2021-03-09 23:59:28 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 5 Jan Binder 2021-03-10 17:32:51 UTC
Created attachment 136560 [details]
Broken CHM display, 2021 version

Now the okular chm renderer produces a scrollbar that is not interactive.
Still slow, now my PC has an SSD and 32GB of RAM and that seems to help a little.