johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.42k stars 295 forks source link

When zoom in, the book keeps flushing #1408

Closed kuchaguangjie closed 1 month ago

kuchaguangjie commented 1 month ago

Need to restore zoom, and reopen the book to fix it.

johnfactotum commented 1 month ago

Can you provide more information? What type of book are you opening? And what exactly do you mean by "flushing"?

Note that zooming is currently unsupported for fixed layout books.

kuchaguangjie commented 1 month ago

An .epub book with hundreds of pages. Flushing like when u press F5 on desktop. On ubuntu 22.04.

johnfactotum commented 1 month ago

Well, I'm still not entirely sure what you mean exactly, but I don't think I can reproduce the behavior. For reflowable books, if there are a lot of pages, that is, a lot of CSS columns, it does take some time to reflow when zooming, but that's it.

Which version of Foliate are you using? And is there a specific book or other conditions, such as the zoom level, window size, font, etc. that trigger the behavior?

kuchaguangjie commented 1 month ago

<Programming.in.Lua 4th.epub> This is the book, it's a big book. Version 2.6.4 on ubuntu. ctrl + to zoom a little bit will cause the issue. And it will flushing for more than 1 minute, then I just close it.

johnfactotum commented 1 month ago

In that case the issue would be essentially the same as #459 and fixed in version 3.