Bug 451985 - Okular cannot open any CHM files
Summary: Okular cannot open any CHM files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 09:20 UTC by Christian Ullrich
Modified: 2022-03-28 20:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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