Bug 399360 - Okular CHM cannot open any chm file and input chinese
Summary: Okular CHM cannot open any chm file and input chinese
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: CHM backend (show other bugs)
Version: 1.5.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-04 05:27 UTC by Evel
Modified: 2023-01-15 05:11 UTC (History)
2 users (show)

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


Attachments
Cannot open this file correctly. (363.53 KB, application/vnd.ms-htmlhelp)
2018-10-04 05:27 UTC, Evel
Details
left nagivator require GB2312, right side require utf-8 to show Chinese correctly (1.10 MB, application/vnd.ms-htmlhelp)
2018-10-04 13:48 UTC, Evel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evel 2018-10-04 05:27:18 UTC
Created attachment 115399 [details]
Cannot open this file correctly.

SUMMARY

I always cannot open any CHM file from my XFCE4 desktop of Manjaro(4.14.71-1 Kernel). Would you please take a look at the issue?

STEPS TO REPRODUCE
1. Open the okular
2. Click open a *.chm file from local path
3. Click open, then a popup will show to me. Could not open file:xxx. 


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I try to input Chinese also not works in any input field.
Comment 1 Evel 2018-10-04 05:30:15 UTC
I am not sure where I can get the debug info for your reference when open a *.chm file. If requied, please tell me how to get it and I will submit later.
Comment 2 Yuri Chornoivan 2018-10-04 05:41:19 UTC
Works fine here. CHM backend 0.1.4.

Can you try to locate Okular CHM backend?

locate libchm

Does it work in the main backend application (Kchmviewer)?
Comment 3 Evel 2018-10-04 13:45:00 UTC
(In reply to Yuri Chornoivan from comment #2)
> Works fine here. CHM backend 0.1.4.
> 
> Can you try to locate Okular CHM backend?
> 

Thanks Yuri. I think that's because my XFCE4 desktop which is not same with KDE? 
Here is my locate info about the libchm and okular

[evel@evel-arch ~]$ locate libchm
/usr/lib/libchm.so
/usr/lib/libchm.so.0
/usr/lib/libchm.so.0.0.0
[evel@evel-arch ~]$ locate okular
/usr/share/app-info/icons/archlinux-arch-extra/128x128/okular_okular.png
/usr/share/app-info/icons/archlinux-arch-extra/64x64/okular_okular.png
/usr/share/icons/Vertex-Maia/apps/48x48/apps/okular.svg
/usr/share/icons/Vertex-Maia/apps/scalable/okular.svg
/usr/share/icons/Vibrancy-Colors/apps/16/okular.png
/usr/share/icons/Vibrancy-Colors/apps/22/okular.png
/usr/share/icons/Vibrancy-Colors/apps/24/okular.png
/usr/share/icons/Vibrancy-Colors/apps/256/okular.png
/usr/share/icons/Vibrancy-Colors/apps/32/okular.png
/usr/share/icons/Vibrancy-Colors/apps/48/okular.png
/usr/share/icons/Vibrancy-Colors/apps/64/okular.png
/usr/share/icons/Vibrancy-Colors/apps/96/okular.png
/usr/share/mime/application/vnd.kde.okular-archive.xml
/usr/share/zsh/functions/Completion/X/_okular


kchmviewer always works to open the file, but it have another issue of the utf-8 of content always not same with the navigator code issue. for example, the navigator always required GB3212, but the web content always required to swith to utf-8 and then the content will show correctly.
Comment 4 Evel 2018-10-04 13:48:33 UTC
Created attachment 115411 [details]
left nagivator require GB2312, right side require utf-8 to show Chinese correctly
Comment 5 Evel 2018-10-04 13:49:20 UTC
[evel@evel-arch ~]$ locate okular chm
/home/evel/.kchmviewer
/home/evel/.xchm
/home/evel/.cache/evolution/addressbook/25f9ae14208f72f056cc30a71dbdf667a5b2ba35/attachments
/home/evel/.cache/evolution/addressbook/388f7a477b537847b5e661fff77d290e0048447c/attachments
/home/evel/.cache/evolution/addressbook/4e3cc01bc5b6c1e3eaebb522a8e7f69dab0f7d1a/attachments
/home/evel/.cache/evolution/addressbook/563f319917ebf26af1f23f018ab7311f33e72d8b/attachments
/home/evel/.cache/evolution/addressbook/5e62b7be98410d71dc2cffc2a3c3104e70ab497d/attachments
/home/evel/.cache/evolution/addressbook/6ff6ec6d51371c2ae89abe80b64c27987f4ed378/attachments
/home/evel/.cache/evolution/addressbook/7f1b7b0271ae3e4dcab7ec55d50ef66dba2b3b8e/attachments
/home/evel/.cache/evolution/addressbook/8342b8f24710151aa80aab1e0b68b4cbb6d0fb07/attachments
/home/evel/.cache/evolution/addressbook/89351d156e4f4a1a37b3d4465ca7570c57c5041f/attachments
/home/evel/.cache/evolution/addressbook/96785e0772ab0c7509b1a47bbd8694c2ff305ff7/attachments
/home/evel/.cache/evolution/addressbook/9af7809482f64c95b0caffc507cc7aa98e9180a4/attachments
/home/evel/.cache/evolution/addressbook/ad72630a441a2e97d314ee1dc86a778730909338/attachments
/home/evel/.cache/evolution/addressbook/ba8dfe9eaa9d31a5590b3c751f9b16f3cb8e2a8e/attachments
/home/evel/.cache/evolution/addressbook/d714d6c565603c61695fb09d8db3c91e623a50cb/attachments
/home/evel/.cache/evolution/calendar/0ab22df2f772a1472925d3c6493f6864e01c394a/attachments
/home/evel/.cache/evolution/calendar/225d808c8e3ca1cc3b27568e4dce55df5b6fada5/attachments
/home/evel/.cache/evolution/calendar/270014f6fa13143fffbad82b660a5dda654ca8a5/attachments
/home/evel/.cache/evolution/calendar/2f0539f78d62238f66867c567dce50ab97583b5c/attachments
/home/evel/.cache/evolution/calendar/34fa05b64b17a76ee2598cfb1d2450bc31a22fca/attachments
/home/evel/.cache/evolution/calendar/37d5877ae13d1eb19d062e58508620ad84c38a3b/attachments
/home/evel/.cache/evolution/calendar/4761a4952f4e0804b0aada04d8a42f97cdfa6ac0/attachments
/home/evel/.cache/evolution/calendar/498c2ccfe1b6c5225b0a31f16e3bfa1ce653f2d4/attachments
/home/evel/.cache/evolution/calendar/59d10f26b56b1a04d315ebecfbdda01223d98995/attachments
/home/evel/.cache/evolution/calendar/5fbb2d5d7c064e9d88d8a3edd91a1000b42462cf/attachments
/home/evel/.cache/evolution/calendar/78d26df80944211c805f768b22f7d29f1200bd91/attachments
/home/evel/.cache/evolution/calendar/82984b25df80ad677a9938a3101160f7b65788db/attachments
/home/evel/.cache/evolution/calendar/83baf9d9b6a2c8007e997829c5ac786c04e3f9b6/attachments
/home/evel/.cache/evolution/calendar/958d270133a9142cc860c96d07b66a76b09e5da8/attachments
/home/evel/.cache/evolution/calendar/95d506e3d8b58cd81cfde574af7dd73e73ed7282/attachments
/home/evel/.cache/evolution/calendar/a0a56431fcddf0f57313b956d269638652b99ae1/attachments
/home/evel/.cache/evolution/calendar/a71b596f58cdb5fbe5ff9a8a9d78fc1efcd3bab4/attachments
/home/evel/.cache/evolution/calendar/b964013ef269b10bf15831e81d0e9fdfe0a269af/attachments
/home/evel/.cache/evolution/calendar/dbbc2b7b8b168394b6425a1e36567100ef50a731/attachments
/home/evel/.cache/evolution/calendar/dcd1583079b9f8478593bca252aa3b3e0689ec24/attachments
/home/evel/.cache/evolution/calendar/e387f00f3b20be4ebfc01acdc6089efa15a7ae6c/attachments
/home/evel/.cache/evolution/calendar/e4ed9343d4905541f098d1abae66ed243195ff77/attachments
/home/evel/.cache/evolution/calendar/e83097960d0e3503cc536a3402916745f57d0090/attachments
/home/evel/.cache/evolution/calendar/f0f882bc68cc2eb37570fb73ff6b4046463b8526/attachments
/home/evel/.cache/evolution/calendar/f87f6f6efbbdce526fc54d9dca9dceea5644f755/attachments
/home/evel/.cache/evolution/memos/1bf62242fe77108753d4b6a38ac67a1f9bca5a65/attachments
/home/evel/.cache/evolution/tasks/fa83db4d9b7ac0dedd40b2d807f169c449d7c875/attachments
/home/evel/.config/Ulduzsoft/kchmviewer.conf
/home/evel/.cpan/build/Tk-804.034-0/PNG/zlib/contrib/dotzlib/DotZLib.chm
/home/evel/.kchmviewer/AutoHotkey.kchmviewer
/home/evel/.kchmviewer/C 参考手册 2017.12.20.kchmviewer
/home/evel/.kchmviewer/C++ Library Reference.idx
/home/evel/.kchmviewer/C++ Library Reference.kchmviewer
/home/evel/.kchmviewer/C++ 参考手册 第一部分 2017.12.20.idx
/home/evel/.kchmviewer/C++ 参考手册 第一部分 2017.12.20.kchmviewer
/home/evel/.kchmviewer/C++参考手册chm版.kchmviewer
/home/evel/.kchmviewer/C-C  函数手册.kchmviewer
/home/evel/.kchmviewer/Javascript教程.kchmviewer
/home/evel/.kchmviewer/Windows程序设计.kchmviewer
/home/evel/.kchmviewer/cpp_primer4_cn.kchmviewer
/home/evel/.kchmviewer/cppreference-zh-20180809.kchmviewer
/home/evel/.kchmviewer/c语言参考手册.kchmviewer
/home/evel/.kchmviewer/python352.kchmviewer
/home/evel/.kchmviewer/w3cschool菜鸟教程20141021.kchmviewer
/home/evel/.local/share/Steam/tenfoot/resource/images/welcomeupdates/controller_update_gyro_touchmenu.jpg
/home/evel/.local/share/Steam/tenfoot/resource/layout/touchmenu.xml
/home/evel/.local/share/Steam/tenfoot/resource/layout/library/controller_sourcemode_touchmenu.xml
/home/evel/.local/share/Steam/tenfoot/resource/layout/tips/controller_update_touchmenu.xml
/home/evel/.local/share/Steam/tenfoot/resource/styles/touchmenu.css
/home/evel/.thunderbird/sqjqtovw.default/ExQuilla/outlook.office365.com/mailbox-attachments
/home/evel/.thunderbird/sqjqtovw.default/ExQuilla/outlook.office365.com/mailbox-attachments/78.gif
/home/evel/.thunderbird/sqjqtovw.default/ExQuilla/outlook.office365.com/mailbox-attachments/img_1.jpg
/home/evel/.thunderbird/sqjqtovw.default/ExQuilla/outlook.office365.com/mailbox-attachments/xvjlgjnh.jpg
/home/evel/.thunderbird/sqjqtovw.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAttachment.js
/home/evel/Document/cppreference-zh-20180809.chm
/home/evel/Tool/WPS/office6/mui/en_US/resource/help/common.chm
/home/evel/Tool/WPS/office6/mui/zh_CN/templates/wps/GB9704 electronic document templates/notifications issued a single chapter (downlink short signature with attachments).wpt
/home/evel/Tool/nodejs/lib/node_modules/npm/node_modules/fast-json-stable-stringify/benchmark
/home/evel/Tool/nodejs/lib/node_modules/npm/node_modules/fast-json-stable-stringify/benchmark/index.js
/home/evel/Tool/nodejs/lib/node_modules/npm/node_modules/fast-json-stable-stringify/benchmark/test.json
/home/evel/WinBack/LenovoDrivers/My Documents/荣耀手机备份/documents/C-C  函数手册.chm
/home/evel/WinBack/My Documents/download/C++ Library Reference.chm
/home/evel/WinBack/My Documents/download/C++参考手册chm版.chm
/home/evel/WinBack/My Documents/download/C++参考手册chm版.chw
/home/evel/WinBack/Tool/soft/program/VSCode/resources/app/extensions/emmet/node_modules/@emmetio/css-parser/benchmark.html
/home/evel/WinBack/Tool/soft/program/VSCode/resources/app/extensions/emmet/node_modules/@emmetio/css-parser/benchmark.js
/home/evel/WinBack/code/Book/AutoHotkey.chm
/home/evel/WinBack/code/Book/C++ Library Reference.chm
/home/evel/WinBack/code/Book/C++参考手册chm版.chm
/home/evel/WinBack/code/Book/C-C  函数手册.chm
/home/evel/WinBack/code/Book/Windows程序设计.chm
/home/evel/WinBack/code/Book/cpp_primer4_cn.chm
/home/evel/WinBack/code/Book/python352.chm
/home/evel/下载/kchmviewer-7.7
/home/evel/下载/kchmviewer-7.7.tar.gz
/usr/bin/chm_http
/usr/bin/chmcmd
/usr/bin/chmem
/usr/bin/chmextract
/usr/bin/chmls
/usr/bin/chmod
/usr/bin/chmorph
/usr/bin/enum_chmLib
/usr/bin/enumdir_chmLib
/usr/bin/extract_chmLib
/usr/bin/kchmviewer
/usr/bin/mbedtls_benchmark
/usr/bin/test_chmLib
/usr/include/chm_lib.h
/usr/include/KF5/KIOCore/kio/chmodjob.h
/usr/include/evince/3.0/libdocument/ev-attachment.h
/usr/include/evince/3.0/libdocument/ev-document-attachments.h
/usr/include/libdframeworkdbus-2.0/types/searchmap.h
/usr/include/matroska/KaxAttachments.h
/usr/include/poppler/glib/poppler-attachment.h
/usr/include/qt/Qt3DExtras/qgoochmaterial.h
/usr/include/qt/Qt3DExtras/5.11.1/Qt3DExtras/private/qgoochmaterial_p.h
/usr/include/qt/Qt3DRender/5.11.1/Qt3DRender/private/attachmentpack_p.h
/usr/include/qt/QtTest/qbenchmark.h
/usr/include/qt/QtTest/qbenchmarkmetric.h
/usr/include/qt4/Qt/qbenchmark.h
/usr/include/qt4/Qt/qbenchmarkmetric.h
/usr/include/qt4/QtTest/qbenchmark.h
/usr/include/qt4/QtTest/qbenchmarkmetric.h
/usr/include/wx-3.0/wx/richmsgdlg.h
/usr/include/wx-3.0/wx/generic/richmsgdlgg.h
/usr/lib/libchm.so
/usr/lib/libchm.so.0
/usr/lib/libchm.so.0.0.0
/usr/lib/fpc/3.0.4/fpmkinst/x86_64-linux/chm.fpm
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmbase.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmbase.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmfiftimain.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmfiftimain.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmfilewriter.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmfilewriter.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmreader.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmreader.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmsitemap.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmsitemap.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmspecialfiles.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmspecialfiles.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmtypes.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmtypes.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmwriter.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/chmwriter.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/fasthtmlparser.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/fasthtmlparser.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/htmlindexer.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/htmlindexer.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/htmlutil.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/htmlutil.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itolitlsreader.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itolitlsreader.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itolitlstypes.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itolitlstypes.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itsftransform.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/itsftransform.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/lzxcompressthread.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/lzxcompressthread.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslznonslide.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslznonslide.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslzx.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslzx.ppu
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslzxcomp.o
/usr/lib/fpc/3.0.4/units/x86_64-linux/chm/paslzxcomp.ppu
/usr/lib/gcc/aarch64-linux-gnu/8.2.0/plugin/include/machmode.def
/usr/lib/gcc/aarch64-linux-gnu/8.2.0/plugin/include/machmode.h
/usr/lib/gcc/riscv64-linux-gnu/8.2.0/plugin/include/machmode.def
/usr/lib/gcc/riscv64-linux-gnu/8.2.0/plugin/include/machmode.h
/usr/lib/qt/mkspecs/features/benchmark.prf
/usr/lib/vlc/plugins/access/libattachment_plugin.so
/usr/share/app-info/icons/archlinux-arch-community/128x128/kchmviewer_kchmviewer.png
/usr/share/app-info/icons/archlinux-arch-community/128x128/xchm_xchm-48.png
/usr/share/app-info/icons/archlinux-arch-community/64x64/kchmviewer_kchmviewer.png
/usr/share/app-info/icons/archlinux-arch-community/64x64/xchm_xchm-48.png
/usr/share/app-info/icons/archlinux-arch-extra/128x128/okular_okular.png
/usr/share/app-info/icons/archlinux-arch-extra/64x64/okular_okular.png
/usr/share/applications/kchmviewer.desktop
/usr/share/bash-completion/completions/chmem
/usr/share/doc/fpc-3.0.4/libmicrohttpd/examples/benchmark.pp
/usr/share/doc/fpc-3.0.4/libmicrohttpd/examples/benchmark_https.pp
/usr/share/doc/libetonyek/html/structlibetonyek_1_1PAGAttachment-members.html
/usr/share/doc/libetonyek/html/structlibetonyek_1_1PAGAttachment.html
/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample
/usr/share/gtk-doc/html/evince/EvSidebarAttachments.html
/usr/share/gtk-doc/html/libevdocument-3.0/EvAttachment.html
/usr/share/gtk-doc/html/libevdocument-3.0/EvDocumentAttachments.html
/usr/share/gtk-doc/html/ontology/ncal-Attachment.html
/usr/share/gtk-doc/html/ontology/ncal-AttachmentEncoding.html
/usr/share/gtk-doc/html/ontology/nfo-Attachment.html
/usr/share/gtk-doc/html/ontology/nmo-Attachment.html
/usr/share/gtk-doc/html/poppler/PopplerAttachment.html
/usr/share/icons/Adwaita/16x16/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/16x16/status/mail-attachment.png
/usr/share/icons/Adwaita/22x22/status/mail-attachment.png
/usr/share/icons/Adwaita/24x24/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/24x24/status/mail-attachment.png
/usr/share/icons/Adwaita/32x32/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/32x32/status/mail-attachment.png
/usr/share/icons/Adwaita/48x48/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/48x48/status/mail-attachment.png
/usr/share/icons/Adwaita/64x64/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/96x96/status/mail-attachment-symbolic.symbolic.png
/usr/share/icons/Adwaita/scalable/status/mail-attachment-symbolic.svg
/usr/share/icons/HighContrast/16x16/status/mail-attachment.png
/usr/share/icons/HighContrast/22x22/status/mail-attachment.png
/usr/share/icons/HighContrast/24x24/status/mail-attachment.png
/usr/share/icons/HighContrast/256x256/status/mail-attachment.png
/usr/share/icons/HighContrast/32x32/status/mail-attachment.png
/usr/share/icons/HighContrast/48x48/status/mail-attachment.png
/usr/share/icons/HighContrast/scalable/status/mail-attachment.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/chmsee-16x16.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/chmsee-32x32.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/chmsee-icon.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/gnochm.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/okular.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/searchmonkey.svg
/usr/share/icons/Vertex-Maia/apps/48x48/apps/xchm.svg
/usr/share/icons/Vertex-Maia/apps/scalable/chmsee-16x16.svg
/usr/share/icons/Vertex-Maia/apps/scalable/chmsee-32x32.svg
/usr/share/icons/Vertex-Maia/apps/scalable/chmsee-icon.svg
/usr/share/icons/Vertex-Maia/apps/scalable/gnochm.svg
/usr/share/icons/Vertex-Maia/apps/scalable/okular.svg
/usr/share/icons/Vertex-Maia/apps/scalable/searchmonkey.svg
/usr/share/icons/Vertex-Maia/apps/scalable/xchm.svg
/usr/share/icons/Vibrancy-Colors/actions/16/mail-attachment.png
/usr/share/icons/Vibrancy-Colors/actions/22/mail-attachment.png
/usr/share/icons/Vibrancy-Colors/actions/24/mail-attachment.png
/usr/share/icons/Vibrancy-Colors/actions/32/mail-attachment.png
/usr/share/icons/Vibrancy-Colors/actions/48/mail-attachment.png
/usr/share/icons/Vibrancy-Colors/actions/scalable/mail-attachment.svg
/usr/share/icons/Vibrancy-Colors/apps/16/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/16/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/16/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/16/okular.png
/usr/share/icons/Vibrancy-Colors/apps/16/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/16/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/22/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/22/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/22/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/22/okular.png
/usr/share/icons/Vibrancy-Colors/apps/22/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/22/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/24/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/24/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/24/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/24/okular.png
/usr/share/icons/Vibrancy-Colors/apps/24/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/24/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/256/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/256/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/256/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/256/okular.png
/usr/share/icons/Vibrancy-Colors/apps/256/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/256/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/32/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/32/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/32/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/32/okular.png
/usr/share/icons/Vibrancy-Colors/apps/32/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/32/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/48/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/48/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/48/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/48/okular.png
/usr/share/icons/Vibrancy-Colors/apps/48/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/48/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/64/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/64/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/64/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/64/okular.png
/usr/share/icons/Vibrancy-Colors/apps/64/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/64/xchm.png
/usr/share/icons/Vibrancy-Colors/apps/96/chmsee-icon.png
/usr/share/icons/Vibrancy-Colors/apps/96/gnuchm.png
/usr/share/icons/Vibrancy-Colors/apps/96/kchmviewer.png
/usr/share/icons/Vibrancy-Colors/apps/96/okular.png
/usr/share/icons/Vibrancy-Colors/apps/96/searchmonkey.png
/usr/share/icons/Vibrancy-Colors/apps/96/xchm.png
/usr/share/icons/Vibrancy-Colors/status/scalable/mail-attachment-symbolic.svg
/usr/share/icons/Vibrancy-Colors-Dark/status/scalable/mail-attachment-symbolic.svg
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/16/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/22/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/24/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/32/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/48/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/64/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/96/mail-attachment.png
/usr/share/icons/Vibrancy-Colors-Full-Dark/actions/scalable/mail-attachment.svg
/usr/share/icons/gnome/16x16/status/mail-attachment.png
/usr/share/icons/gnome/22x22/status/mail-attachment.png
/usr/share/icons/gnome/24x24/status/mail-attachment.png
/usr/share/icons/gnome/32x32/status/mail-attachment.png
/usr/share/icons/gnome/48x48/status/mail-attachment.png
/usr/share/icons/gnome/scalable/status/mail-attachment-symbolic.svg
/usr/share/libgda-5.0/pixmaps/bin-attachment-16x16.png
/usr/share/man/man1/chmcmd.1.gz
/usr/share/man/man1/chmls.1.gz
/usr/share/man/man1/chmod.1.gz
/usr/share/man/man1/chmod.1p.gz
/usr/share/man/man2/chmod.2.gz
/usr/share/man/man2/fchmod.2.gz
/usr/share/man/man2/fchmodat.2.gz
/usr/share/man/man3/Benchmark.3perl.gz
/usr/share/man/man3/chmod.3p.gz
/usr/share/man/man3/fchmod.3p.gz
/usr/share/man/man3/fchmodat.3p.gz
/usr/share/man/man8/chmem.8.gz
/usr/share/man/zh_CN/man1/chmod.1.gz
/usr/share/man/zh_TW/man1/chmod.1.gz
/usr/share/mime/application/vnd.kde.okular-archive.xml
/usr/share/perl5/core_perl/Benchmark.pm
/usr/share/pixmaps/kchmviewer.png
/usr/share/texinfo/init/chm.pm
/usr/share/xml/docbook/xsl-stylesheets-1.79.2/params/htmlhelp.chm.xml
/usr/share/zsh/functions/Completion/Unix/_chmod
/usr/share/zsh/functions/Completion/Unix/_fetchmail
/usr/share/zsh/functions/Completion/X/_okular
Comment 6 Evel 2018-10-04 13:52:02 UTC
My QT seems too new, it require now newer than QT5.6 but I upgrade to newest QT5.11 so I even cannot build from source code on the kchmviewer.
Comment 7 Yuri Chornoivan 2018-10-08 11:07:13 UTC
(In reply to Evel from comment #6)
> My QT seems too new, it require now newer than QT5.6 but I upgrade to newest
> QT5.11 so I even cannot build from source code on the kchmviewer.

Just tested on the newest Qt (5.11 for my distribution, raw packages from repos).

Yes, the first file's encoding is not recognized right by Okular and kchmviewer. Kchmviwer shows "Table of contents is present but is empty; wrong parsing?" and refuses to show the content. Okular shows a gibberish instead of content (first I was thinking that it is a consequence of the missing Chinese fonts). The second file displays correctly in both applications.

I do not know what to advise. Sorry. This must be a libchm problem, but kchmviewer is abandoned for 2 years and I'm not sure that there is a reason to report the bug to its developer.

Just FYI, kchmviewer can be built on Qt 5.11 (tested) with a simple patch from Debian:

diff --git a/src/src.pro b/src/src.pro
index 2524b5e..c6d5ca4 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -40,7 +40,6 @@ SOURCES += config.cpp \
     textencodings.cpp \
     treeitem_toc.cpp \
     treeitem_index.cpp
-LIBS += -lchm -lzip
 TARGET = ../bin/kchmviewer
 CONFIG += threads \
     warn_on \
@@ -67,10 +66,6 @@ QT += webkit \
     webkitwidgets \
     printsupport
 
-linux-g++*:{
-    LIBS += -lX11
-}
-
 # This is used by cross-build on 64-bit when building a 32-bit version
 linux-g++-32: {
        LIBS += -L.
@@ -112,22 +107,17 @@ unix:!macx: {
     POST_TARGETDEPS += ../lib/libebook/libebook.a
 }
 
+LIBS += -lchm -lzip
+linux-g++*:{
+    LIBS += -lX11
+}
+
 greaterThan(QT_MAJOR_VERSION, 4) {
     # Qt 5
-    greaterThan(QT_MINOR_VERSION, 5) {
-        # Qt 5.6+
-        error("You use Qt5.6+ - QWebEngine is not yet suitable for kchmviewer and is not supported")
-        QT += webengine webenginewidgets
-        DEFINES += USE_WEBENGINE
-        SOURCES += viewwindow_webengine.cpp dataprovider_qwebengine.cpp
-        HEADERS += dataprovider_qwebengine.h viewwindow_webengine.h
-    } else {
-        # Qt 5.0-5.5
         QT += webkit webkitwidgets
         DEFINES += USE_WEBKIT
         SOURCES += viewwindow_webkit.cpp dataprovider_qwebkit.cpp
         HEADERS += dataprovider_qwebkit.h viewwindow_webkit.h
-    }
 } else {
     message("Qt4 is not supported anymore, please do not report any errors")
     QT += webkit webkitwidgets
Comment 8 Justin Zobel 2022-12-01 04:34:55 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-12-16 05:14:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Evel 2022-12-16 05:26:11 UTC
Thanks for tracking on this. I just try the newest version again in my new machine of Deepin Seems not support the chm format again?

dpkg: 处理归档 /var/cache/apt/archives/okular_4%3a17.12.2-2.2+rb1_amd64.deb (--unpack)时出错:
 正试图覆盖 /etc/xdg/okular.categories,它同时被包含于软件包 org.kde.okular 4:17.12.2-2.3+rb1
dpkg-deb: 错误: 粘贴 子进程被信号(断开的管道) 终止了
在处理时有错误发生:
 /var/cache/apt/archives/okular_4%3a17.12.2-2.2+rb1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment 11 Albert Astals Cid 2022-12-16 09:46:41 UTC
You'll have to talk to your distribution, note that 17.12.2 is 5 years old now, so you're missing 5 years of bugfixes
Comment 12 Bug Janitor Service 2022-12-31 05:23:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2023-01-15 05:11:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!