Bug 198823

Summary: "Contents" in okular don't link anywhere properly for CHM file
Product: [Applications] okular Reporter: Darin McBride <Tanktalus>
Component: CHM backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: CHM file whose contents don't actually link

Description Darin McBride 2009-07-03 20:33:50 UTC
Version:           4.2.4 (using KDE 4.2.4)
Compiler:          4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

This isn't true for all CHM files, but I am trying to view one that it is true for, and these things are nearly unreadable unless you go through the contents.  I'll try to attach the CHM file I'm having problems with once the bug is finished being created.
Comment 1 Darin McBride 2009-07-03 20:36:52 UTC
Created attachment 35023 [details]
CHM file whose contents don't actually link
Comment 2 Pino Toscano 2009-07-06 17:20:11 UTC
SVN commit 992313 by pino:

a couple of fixes for the resolution of page urls:
- resolve percent-encoded urls
BUG: 198823
- when asking for the page of an url, strip the anchor, if present


 M  +9 -2      generator_chm.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=992313
Comment 3 Pino Toscano 2009-07-06 17:21:53 UTC
Forgot to add that it will be fixed in KDE 4.3.0.

Thanks for the report and the test case!