Acclorite / book-story

Material3 eBook reader - Book's Story. Built with Jetpack Compose. Free & Open Source & Ad Free. 7 supported file formats (.txt, .pdf, .epub, .fb2, .zip, .html, .htm), 5 supported languages. Lots of customization.
GNU General Public License v3.0
214 stars 9 forks source link

Chapters in Reader #17

Open uniquePWD opened 1 month ago

uniquePWD commented 1 month ago

There should be an easy way to jump anywhere in a book.

Acclorite commented 1 month ago

If you bring bottom and top bar, you have slider, moving it you can easily jump anywhere. If you mean something different, please care to explain in details.

uniquePWD commented 1 month ago

If you bring bottom and top bar, you have slider, moving it you can easily jump anywhere. If you mean something different, please care to explain in details.

I loaded a book into Books Story, I know I was on chapter 879. I have no idea what percentage that is, but I know the chapter. The slider isn't really helpful as it requires learning a new way to mark progress and different devices and screen sizes get in the way of something like percentage.

Acclorite commented 1 month ago

Look. Percentage is calculated relatively and it does not matter whether your screen size is small or big. Exact scroll index & offset are saved. Basically, if you change your screen size, the progress should remain the same - you will see exact paragraph on the top of the screen. In simple words, screen size does not matter for percentage.

I understand what you are trying to say, having some kind of bind towards chapter, but as of now reader is basically parsed TXT file, which then loads at the exact percentage. This thing always works as expected because even if you delete book's file, your text will remain as it is saved in app's internal storage at the stage of adding a book.

For now I can say that this is quite complicated topic, many things will be needed to be done and rewritten. I added this to my TODO, but as of now it is Frozen. Thanks for the explanation.