Bug 335975

Summary: mobi file is not fully displayed
Product: [Applications] okular Reporter: Nerijus Baliūnas <nerijus>
Component: mobipocket backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=475975
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: epub file (displays correctly)
mobi file (displays incorrectly)

Description Nerijus Baliūnas 2014-06-08 22:17:06 UTC
(I'd suggest adding mobi or mobipocket backend to bugzilla)

Attached epub file is displayed correctly, while mobi lacks some parts of text. For example, page 10-11 has the text in epub:

"– Tikrai? Buvai pratęs elgtis su manimi ganėtinai storžieviškai! 
– Tai, – pareiškė jis, – kas kita. Broliai tam ir yra, kad būtų storžieviai ir retkarčiais
mandagiai elgtųsi su seserimis. Apie ką gi mąstei? 
– Tėtis, – lėtai pradėjo Dorotėja, – neturėtų pageidauti, kad būčiau amžiams
gyvendinta Londone, net jei – ir Arnsvort rezidencijoje."

while mobi file has:

"– Tikrai? Buvai pratęs elort rezidencijoje."

Kindle reader displays mobi file correctly, the same as epub example above.

Reproducible: Always
Comment 1 Nerijus Baliūnas 2014-06-08 22:19:11 UTC
Created attachment 87076 [details]
epub file (displays correctly)
Comment 2 Nerijus Baliūnas 2014-06-08 22:19:42 UTC
Created attachment 87077 [details]
mobi file (displays incorrectly)
Comment 3 Albert Astals Cid 2014-06-17 22:09:35 UTC
Yep :/ Sadly we don't have much people around with mobipocket expertise so it may take a while for the bug to be fixed (if you know how to code, this is your oportunity!).

Thanks for reporting the bug :)
Comment 4 Nerijus Baliūnas 2014-06-17 22:54:51 UTC
The same happens with FBReader, so I reference here its bug report - https://github.com/geometer/FBReader/issues/255 (if they use the same code for mobipocket support and fix it first).
Comment 5 Nerijus Baliūnas 2014-09-18 11:26:35 UTC
FBReader fixed it by writing their own mobipocket engine - https://github.com/geometer/FBReader/issues/255#issuecomment-55952380 :

It's our own engine, and it is GPL'd as FBReader itself. This new engine is written in C++ instead of the old one written in Java. In fact it is based on our FBReader C++ code, it was improved and fixed last few weeks.
Comment 6 Albert Astals Cid 2014-09-18 18:43:22 UTC
Thanks for the heads up, maybe someone can make our generator use your library or similar if has time.
Comment 7 Nerijus Baliūnas 2024-07-09 22:29:07 UTC
Just tested the latest okular-24.05.0-1.fc40 - the bus is still here.