-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When going from Reader to 'History' + 'View full size cover' and back to Reader #4346
Comments
I can reproduce it. Cool Reader / original crengine is supposed to be able to open multiple books simultaneously. |
OK, not cause of my changes :) And I think there's no change needed on crengine side. There are just a few settings (that ends up being accounted in a GlobalHash) that are (re)set when creating a new CRE document. I'll move these in a new cre.cpp method Also, setting a default fallback font (which ends up in |
When a main document is opened for displaying, some other document openings (for getting metadata or cover image) could affect the main document. Split some code from CreDocument:init() into another new method CreDocument:setupDefaultView(), that will only be called by ReaderUI when opening the main document (and not by these other openings like Book inforation, View cover...) Also speed up some of these other openings (Search, Screensaver) by using doc:loadDocument(false) to load only metadata and avoid parsing the HTML. Details in #4346 (comment)
@gerhaher : can you confirm this is fixed in today's nightly |
Seems OK, I can't trigger it. |
Issue
When reading a book and open 'History' and 'View full size cover' and then go back to reading you end up on some previous page of the book and the page counting is messy.
Steps to reproduce
If you go to file manager and then reopen the book the page counting returns to correct values, but (if you have page forward or something similar) you are still on the same previous place in the book.
The text was updated successfully, but these errors were encountered: