Red Hat Bugzilla – Bug 821135
ebook-viewer modifies the ebook it reads
Last modified: 2012-05-25 05:41:26 EDT
Description of problem:
ebook-viewer modifies the epub files it reads
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cp some.epub original.epub
2. ebook-viewer some.epub
3. cmp original.epub some.epub
cmp reports a difference
original.epub and some.epub should stay identical
The difference between the two epub files can be seen after unzipping them:
diff -r m/META-INF/calibre_bookmarks.txt m1/META-INF/calibre_bookmarks.txt
< calibre_current_page_bookmark^7# *:eq(0) > *:eq(1) > *:eq(0) >
*:eq(4) > *:eq(6) |0.19047619047619047
> calibre_current_page_bookmark^15# *:eq(0) > *:eq(1) > *:eq(0) > *:eq(8) > *:eq(43) |0.3619791666666667
So what happens is that ebook-viewer probably annotates the epub file so it can remember the current page after quitting. But it should put this information in some file that it owns, not the epub itself.
Would you be willing to file this request upstream?
Or would you prefer I do so? I'd be happy to, but you are closer to the issue and have data at hand and a stake in solving it.
(In reply to comment #1)
> Would you be willing to file this request upstream?
Sure, but I can't log in to my newly created launchpad account. I end up on a page that says
If you proceed, the following information will be available to Launchpad:
Full name: Andras Simon
Email address: firstname.lastname@example.org
Yes, sign me in/Cancel
Why I should sign in when I already seem to be signed in is a mystery, but never mind. Whatever I do, I get back to this same page. Yes, I tried this with cookies removed, but to no avail.
> Or would you prefer I do so? I'd be happy to, but you are closer to the issue
> and have data at hand and a stake in solving it.
In light of the above, I'd appreciate it if you did...
Ah, seems it was already reported in the past:
So, options seem to be:
a) disable "remeber last page when closing"
b) use a different format from epub
c) live with the files changing.
(In reply to comment #3)
> Ah, seems it was already reported in the past:
> So, options seem to be:
> a) disable "remeber last page when closing"
> b) use a different format from epub
> c) live with the files changing.
d) not using ebook-viewer
Thanks for looking into this!