Bug 451985

Summary: Okular cannot open any CHM files
Product: [Applications] okular Reporter: Christian Ullrich <chris>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version: 21.12.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Ullrich 2022-03-28 09:20:12 UTC
SUMMARY
***
Okulor claims to support the CHM (compiled HTML help) file format. All CHM files I try to open result in an error message.
***

STEPS TO REPRODUCE
1. Install Okulor 21.12.3 from the Microsoft Store as recommended.
2. Start the application.
3. File/Open ...
4. Pick a .chm file and open it.

OBSERVED RESULT
"Could not open file:///C:/..."

EXPECTED RESULT
Okulor should display the CHM file's content.

SOFTWARE/OS VERSIONS
Windows: 11

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-03-28 20:18:52 UTC
Git commit dbcda67ab986a46815c154d49d414b4d2cbdcb61 by Albert Astals Cid.
Committed on 28/03/2022 at 20:17.
Pushed by aacid into branch 'release/22.04'.

Fix opening CHM files on Windows

This is part of 451985 the other part is that KF5.91 windows build of
khtml was broken, seems the 5.92 one is good, so once we release 22.04.0
it should be all good hopefully.

M  +1    -7    generators/chm/lib/ebook_chm.cpp

https://invent.kde.org/graphics/okular/commit/dbcda67ab986a46815c154d49d414b4d2cbdcb61