You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xreader 2.0.2
Cinnamon 4.0.6 Distro: Linux Mint 19.1 Tessa
When opening the epub file only the first page is displayed.
It is impossible to turn pages with PgUp, PgDn, cursors or mouse.
To reproduce:
Please try debian-handbook.epub freely available at https://debian-handbook.info/get/now/
This book has extensive menu for navigation which is not available in xreader.
You can browse it continuously or navigate with index in FBReader and Bookworm.
You can not browse or read any page by any means in xreader.
In context: Debian 9 blocks opening epub in the Document Viewer.
After playing with some alternate XDG_* variables (see here), I've discovered that xreader dislikes something with ~/.local/share/mime/mime.cache. IDK what exactly this file is for, but deleting it seemed to fix the bug. Do be warned: since I have no idea what this file does (hence me experimenting in an alternate XDG_DATA_HOME directory) I can't guarantee that this will have no negative effects. I plan on investigating this further.
Update: I've discovered aformentioned the $XDG_DATA_HOME/mime/mime.cache file can be rebuilt with update-mime-database $XDG_DATA_HOME/mime, in case anyone deleted this file and needs to re-build it. That said, once I rebuilt it on my machine, the error returned. For now, I'm going to modify my *.desktop file, and simply load a non-default XDG_DATA_HOME variable. That won't fix the bug, but it should at least give me a usable workaround.
On that note, I'm guessing that the problem is with some third-party program setting some non-default mime type.
Since I have no idea these other files/directories are, I've decided to upload the entire directory, in hopes that someone who does know more will figure the bug out. See below.
I see the content correctly, just the TOC shows up only the two entries shown also in the screenshot of the OP. I use 2.0.2 on LM19.1 Cinnamon, btw....
Activity
tsjnachos117 commentedon May 10, 2019
After playing with some alternate XDG_* variables (see here), I've discovered that xreader dislikes something with
~/.local/share/mime/mime.cache. IDK what exactly this file is for, but deleting it seemed to fix the bug. Do be warned: since I have no idea what this file does (hence me experimenting in an alternate XDG_DATA_HOME directory) I can't guarantee that this will have no negative effects. I plan on investigating this further.tsjnachos117 commentedon May 10, 2019
Update: I've discovered aformentioned the
$XDG_DATA_HOME/mime/mime.cachefile can be rebuilt withupdate-mime-database $XDG_DATA_HOME/mime, in case anyone deleted this file and needs to re-build it. That said, once I rebuilt it on my machine, the error returned. For now, I'm going to modify my *.desktop file, and simply load a non-defaultXDG_DATA_HOMEvariable. That won't fix the bug, but it should at least give me a usable workaround.On that note, I'm guessing that the problem is with some third-party program setting some non-default mime type.
Since I have no idea these other files/directories are, I've decided to upload the entire directory, in hopes that someone who does know more will figure the bug out. See below.
mime.tar.gz
Piiit commentedon Jun 26, 2019
I see the content correctly, just the TOC shows up only the two entries shown also in the screenshot of the OP. I use 2.0.2 on LM19.1 Cinnamon, btw....
brainchild0 commentedon Mar 11, 2020
I also find that Xreader displays only top-level navigation entries in the TOC (index) pane, for open EPUB documents.
This issue is likely to affect many users, as nested navigation is not uncommon in ebooks.
Bugfix #266
clefebvre commentedon Sep 4, 2026
EPUB support was removed from Xreader and reimplemented in Xepub: https://github.com/xapp-project/xepub.