- KOReader version:all
- Device:all
Issue
onPageUpdate() methods runs twice on book open. It should run only one.
Steps to reproduce
Open new document in format epub or doc. For new and previously opened books.
I think that that line https://github.com/koreader/koreader/blame/master/frontend/apps/reader/modules/readerrolling.lua#L450 may be redundant for new books.
That line https://github.com/koreader/koreader/blame/master/frontend/apps/reader/modules/readerrolling.lua#L467 may be redundant for previously opened books.
I think that self:_gotoXPointer(self.xpointer) shouldn't be run when opening documents.
Issue
onPageUpdate()methods runs twice on book open. It should run only one.Steps to reproduce
Open new document in format epub or doc. For new and previously opened books.
I think that that line https://github.com/koreader/koreader/blame/master/frontend/apps/reader/modules/readerrolling.lua#L450 may be redundant for new books.
That line https://github.com/koreader/koreader/blame/master/frontend/apps/reader/modules/readerrolling.lua#L467 may be redundant for previously opened books.
I think that
self:_gotoXPointer(self.xpointer)shouldn't be run when opening documents.