subject-f / cubarimoe

GNU Affero General Public License v3.0
60 stars 17 forks source link

Laggy scrolling on links with lots of pages #9

Open heybbygurl opened 2 years ago

heybbygurl commented 2 years ago

Specifically on links with more than 100 pages while the reader layout is top-to-bottom. This only happens on chrome, firefox has no issues using the same settings. Also checked with hardware acceleration on and off with no changes. Laggy scrolling starts at ~100 pages and it gets worse with more pages. Tested with tankoubon releases on nhentai and personal uploads on imgur.

Algoinde commented 2 years ago

This is caused by having all images being present in the reader. The full rewrite I am currently working on will not have that problem; as a user-side workaround for the current version you can refresh the page to clear all the previously loaded images from memory.

heybbygurl commented 2 years ago

I should've clarified that it is laggy from the start, even with page preload set to the minimum.

Algoinde commented 2 years ago

That is interesting, then. I'll see if there's a quick way to make Chrome behave the same way as Firefox.