Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHM files do not open #372

Closed
HananKrishna opened this issue Sep 26, 2024 · 6 comments
Closed

CHM files do not open #372

HananKrishna opened this issue Sep 26, 2024 · 6 comments

Comments

@HananKrishna
Copy link

According to the Flathub page for Okular, the program should be capable of running CHM files. But instead I see the following error message pop-up on my screen inside the Okular window.

Could not open file:///var/home/user/Downloads/file.chm. 
Can not find a plugin which is able to handle the document being passed.

This is on Okular 24.08.1
OS is Fedora Linux 40 Kinoite.

Is there any possible way I can try fixing this, or is CHM support dropped from Okular?

@Erick555
Copy link
Contributor

Erick555 commented Sep 27, 2024

According to buildlog CHM support should be enabled:

...
 * LibZip, A library for reading, creating, and modifying zip archives, <https://libzip.org/>
   Support CHM files in okular. You can make the dependency optional adding LibZip to the FORCE_NOT_REQUIRED_DEPENDENCIES cmake option
...

It's interesting that opening CBR files also stopped working.

@HananKrishna
Copy link
Author

I see there is discussion regarding CBR in issue #331. There is also a pull request #368 that unsuccessfully tries to resolve this.

Is this a problem related to libzip or is it still an issue with the Okular flatpak?

@tsdgeos
Copy link
Collaborator

tsdgeos commented Oct 21, 2024

Okular does not support CHM files anymore unfortunately

@tsdgeos tsdgeos closed this as completed Oct 21, 2024
@HananKrishna
Copy link
Author

HananKrishna commented Oct 22, 2024

Would the following merge req at KDE be best to note as confirmation on CHM henceforth being unsupported on Okular?

https://invent.kde.org/graphics/okular/-/merge_requests/968

@tsdgeos
Copy link
Collaborator

tsdgeos commented Oct 22, 2024

Why do you need more confirmation than my confirmation?

@HananKrishna
Copy link
Author

For reference if anyone else comes around searching for it.
Having multiple spaces on the internet pointing to the code-source that states this change is a good idea as a form of redundant clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants