audiobookshelf-app icon indicating copy to clipboard operation
audiobookshelf-app copied to clipboard

Slow and stuttering scrolling of library when there are a large number of books

Open fivestones opened this issue 10 months ago • 6 comments

Steps to reproduce

  1. Put a lot of books in a library. I only barely notice this when I'm using a filter that brings the number of visible books down to around 2500 or 3000, but without a filter (7030 books) it's very apparent.
  2. Click on the library view
  3. Try to scroll.
  4. Not sure if this happens on android, but I'm seeing it on iOS with an iPhone 13 Pro both in the app and when loaded as a web page. I don't see it on MacOS running on a new M2 Mac--even with 7030 books scrolling in the library view is butter smooth there.

Expected behaviour

  • Tell us what should happen I should be able to touch the library view and slide/scroll, and the books under my finger should move as quickly as my finger, smoothly.

Actual behaviour

  • Tell us what happens I have to wait for the scrolling to catch up either my finger. It halts and stutters and eventually moves into place. Just now I scrolled as fast as it would go for 20 seconds and it made it down to where the 86th book (43rd row of two books each) was visible. Along with halting and stuttering, whenever I scroll enough to see a new row of books, I can see the wood background of the shelving but not the shelf itself for a brief time, and there are no books visible there for a brief time either (just on the portion of the screen that had newly been scrolled into view). Then the shelves and the books appear and I am able to scroll further.

Environment data

Audiobookshelf Version: 0.9.66-beta

  • [ ] Android App?
  • [x] iOS App?

Android Issue

Android version:

Device model:

Stock or customized system:

iOS Issue

iOS Version: 17.0.3

iPhone model: iPhone 13 Pro

I'm not sure if the skeuomorphic view has anything to do with this, but that's what I'm using.

If it makes any difference, most of the books are text/ebooks, with just a few audiobooks mixed in. They are a mix of pdf and epub for the most part.

fivestones avatar Oct 15 '23 04:10 fivestones