[Bug]: Shift click doesn't select all books in between #1968

Open
opened 2026-04-25 00:01:53 +02:00 by adam · 7 comments
Owner

Originally created by @kanjieater on GitHub (May 8, 2024).

What happened?

I was going to select a large group of audiobooks to work around the rate limiting:
https://github.com/advplyr/audiobookshelf/issues/1570

So i tried to use this feature
https://github.com/advplyr/audiobookshelf/issues/1020

But when you scroll it seems to revert back to single click instead of selecting the range between the items clicked.

In addition, The feature also doesn't work on the search results, where I tried to select a range of results.

What did you expect to happen?

Select all the books in a range with the shift modifier key pressed and a click, https://github.com/advplyr/audiobookshelf/issues/1020

Steps to reproduce the issue

  1. Hold shift and click a book
  2. scroll down a few hundred books
  3. Click the last book
  4. it won't select the books in between

Audiobookshelf version

v2.9.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

No response

Additional Notes

No response

Originally created by @kanjieater on GitHub (May 8, 2024). ### What happened? I was going to select a large group of audiobooks to work around the rate limiting: https://github.com/advplyr/audiobookshelf/issues/1570 So i tried to use this feature https://github.com/advplyr/audiobookshelf/issues/1020 But when you scroll it seems to revert back to single click instead of selecting the range between the items clicked. In addition, The feature also doesn't work on the search results, where I tried to select a range of results. ### What did you expect to happen? Select all the books in a range with the shift modifier key pressed and a click, https://github.com/advplyr/audiobookshelf/issues/1020 ### Steps to reproduce the issue 1. Hold shift and click a book 2. scroll down a few hundred books 3. Click the last book 4. it won't select the books in between ### Audiobookshelf version v2.9.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs _No response_ ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:01:53 +02:00
Author
Owner

@advplyr commented on GitHub (May 8, 2024):

I can confirm that it doesn't work on the search page. It is working on the library page when scrolling for me though. Can you test that again?

Also, you don't need to hold shift when selecting the first book. You only need to hold shift when selecting the second book.

@advplyr commented on GitHub (May 8, 2024): I can confirm that it doesn't work on the search page. It is working on the library page when scrolling for me though. Can you test that again? Also, you don't need to hold shift when selecting the first book. You only need to hold shift when selecting the second book.
Author
Owner

@kanjieater commented on GitHub (May 10, 2024):

I can confirm that it doesn't work on the search page. It is working on the library page when scrolling for me though. Can you test that again?

Also, you don't need to hold shift when selecting the first book. You only need to hold shift when selecting the second book.

Thanks. The holding or not holding is good to know. I could still reproduce the bug though.

https://www.dropbox.com/scl/fi/8eztkmira7d3nh8iysn7g/chrome_j4bJhogftU.gif?rlkey=wwxh9le88h7zdext7oqvvpwba&st=dpu2kqgo&dl=0

@kanjieater commented on GitHub (May 10, 2024): > I can confirm that it doesn't work on the search page. It is working on the library page when scrolling for me though. Can you test that again? > > Also, you don't need to hold shift when selecting the first book. You only need to hold shift when selecting the second book. Thanks. The holding or not holding is good to know. I could still reproduce the bug though. https://www.dropbox.com/scl/fi/8eztkmira7d3nh8iysn7g/chrome_j4bJhogftU.gif?rlkey=wwxh9le88h7zdext7oqvvpwba&st=dpu2kqgo&dl=0
Author
Owner

@advplyr commented on GitHub (May 11, 2024):

I was able to reproduce it by clicking the scrollbar and going to the bottom like you did in the video.

I'm not sure how to solve this since the bookshelf is only loading in items as they become visible. We can't select an item that we don't even have an ID for.

I don't think it will be supported so we'll need to show an alert or something to let the user know.

@advplyr commented on GitHub (May 11, 2024): I was able to reproduce it by clicking the scrollbar and going to the bottom like you did in the video. I'm not sure how to solve this since the bookshelf is only loading in items as they become visible. We can't select an item that we don't even have an ID for. I don't think it will be supported so we'll need to show an alert or something to let the user know.
Author
Owner

@kanjieater commented on GitHub (May 11, 2024):

Oh ok interesting. When you click the last element in the list, would it be possible to fetch everything in between on that interaction?

Alternatively a "Crtl+A" style option that just selects everything could mostly do the same thing

@kanjieater commented on GitHub (May 11, 2024): Oh ok interesting. When you click the last element in the list, would it be possible to fetch everything in between on that interaction? Alternatively a "Crtl+A" style option that just selects everything could mostly do the same thing
Author
Owner

@advplyr commented on GitHub (May 11, 2024):

Yeah but depending on the amount of items that need to be fetched this can take time and so the UI has to be updated to reflect that it is pulling all the items. Then we don't necessarily want to load that much data into the browser if you have 100k items for example. To support this I think we would need to build the bookshelf in a different way.

@advplyr commented on GitHub (May 11, 2024): Yeah but depending on the amount of items that need to be fetched this can take time and so the UI has to be updated to reflect that it is pulling all the items. Then we don't necessarily want to load that much data into the browser if you have 100k items for example. To support this I think we would need to build the bookshelf in a different way.
Author
Owner

@v4u6h4n commented on GitHub (Feb 13, 2025):

Just wondering if mass item selection (holding shift) could be added to podcast episode selection?

@v4u6h4n commented on GitHub (Feb 13, 2025): Just wondering if mass item selection (holding shift) could be added to podcast episode selection?
Author
Owner

@TobiasDax commented on GitHub (Dec 4, 2025):

Adding my voice to this. not being able to select multiple podcast episodes is a horrible oversight.

@TobiasDax commented on GitHub (Dec 4, 2025): Adding my voice to this. not being able to select multiple podcast episodes is a horrible oversight.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1968