Bug 439807

Summary: When trying to open a .fb2 file, a blank page opens.
Product: [Applications] okular Reporter: Driglu4it <Dr>
Component: fictionbook backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: major CC: nate, soshial, zawertun
Priority: NOR    
Version: 21.04.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 21.08
Sentry Crash Report:

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