Bug 439807 - When trying to open a .fb2 file, a blank page opens.
Summary: When trying to open a .fb2 file, a blank page opens.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: fictionbook backend (show other bugs)
Version: 21.04.3
Platform: Manjaro Linux
: NOR major
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-13 15:29 UTC by Driglu4it
Modified: 2022-01-04 05:45 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Driglu4it 2021-07-13 15:29:08 UTC
SUMMARY
When trying to open a .fb2 file, a blank page opens.

STEPS TO REPRODUCE
1. Open any .fb2 file

KNOWN FIX
Delete okularGenerator_fax.so & restart okular


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.4.131-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 1 Yaroslav Sidlovsky 2021-07-13 15:44:49 UTC
I observe same bug on Fedora 34 x86_64, okular-21.04.3.

Bug caused by non unique id "okular_fax" in the KPlugin json configuration: https://invent.kde.org/graphics/okular/-/blob/5447aa1021a2313c4e4cfddbd3a0abb86270ee13/generators/fictionbook/libokularGenerator_fb.json#L124.

Same id is used by the fax generator plugin.
Comment 2 Yaroslav Sidlovsky 2021-07-13 15:58:59 UTC
https://invent.kde.org/graphics/okular/-/merge_requests/453
Comment 3 Albert Astals Cid 2021-07-14 01:09:46 UTC
Git commit 8dc58c7617abcacf9325e5b93a5e38149f6e2aaf by Albert Astals Cid, on behalf of Yaroslav Sidlovsky.
Committed on 13/07/2021 at 22:00.
Pushed by aacid into branch 'master'.

Fix non unique KPlugin Id for fictionbook generator

M  +1    -1    generators/fictionbook/libokularGenerator_fb.json

https://invent.kde.org/graphics/okular/commit/8dc58c7617abcacf9325e5b93a5e38149f6e2aaf
Comment 4 Albert Astals Cid 2021-07-14 19:58:42 UTC
Git commit 504eec7688e7139e9d193fc2b3ddafac0f835b6f by Albert Astals Cid, on behalf of Yaroslav Sidlovsky.
Committed on 14/07/2021 at 19:58.
Pushed by aacid into branch 'release/21.08'.

Fix non unique KPlugin Id for fictionbook generator
(cherry picked from commit 8dc58c7617abcacf9325e5b93a5e38149f6e2aaf)

M  +1    -1    generators/fictionbook/libokularGenerator_fb.json

https://invent.kde.org/graphics/okular/commit/504eec7688e7139e9d193fc2b3ddafac0f835b6f