View Single Post
Old 04-04-2021, 08:31 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's simply an artifact of your book being very small and the last file being only a single page. When displaying the start of a file the viewer considers the progress to be 0%. Since that file is 6% of the total the total progress is 94%. This is not normally a problem because for a typical book, one screenful of progress is less than 1% and/or the last file is more than one page long.
Since for a single page file *both* start and end are present on screen it is ambiguous which one should be used as the progress.

I can change the algorithm to special case files that render in a single page to report the progress at the start as 100% instead of 0%. That will fix your issue.
kovidgoyal is offline   Reply With Quote