[Bug]: If cursor is active in the description field, then the description field doesn't update if you click on the left or right arrow. #2557

Closed
opened 2026-04-25 00:08:22 +02:00 by adam · 8 comments
Owner

Originally created by @ZLoth on GitHub (Feb 8, 2025).

What happened?

As part of HTML-ing the descriptions in my library, I am now going back to remove the words "PLEASE NOTE: When you purchase this title, the accompanying PDF will be available in your Audible Library along with the audio." from the descriptions. After I removed it from two books, the description stopped updating even though I clicked on the left and right arrows.

Addendum: It appears that if you have the cursor active in the description field, then the description field doesn't update.

What did you expect to happen?

The description should update after I click on the left and right arrows no matter how many edits I perform.

Steps to reproduce the issue

  1. Go to Library.
  2. Set sort to Ebooks: ebook and Title to ascending.
  3. Edit a book.
  4. Place cursor in description field.
  5. Click on the left or right arrow.

WHAT SHOULD HAPPEN: The book description should change with the book
WHAT REALLY HAPPENS: The book description doesn't change with the book

PREVOUSLY:

  1. Go to Library.
  2. Set sort to Ebooks: ebook and Title to ascending.
  3. Edit the description and click on "Save"
  4. Click on the right arrow to the next book
  5. Edit the descriotion and click on "Save"
  6. Click on the right arrow to the next book

WHAT SHOULD HAPPEN: The book description should change with the book
WHAT REALLY HAPPENS: The book description doesn't change with the book

https://github.com/user-attachments/assets/84228b8d-c419-4774-8ebb-6533b552c587

Audiobookshelf version

2.19.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

2025-02-08 06:58:32.208

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/items?filter=ebooks.ZWJvb2s%253D&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"}

2025-02-08 06:58:35.516

DEBUG

[ApiCacheManager] count: 3 size: 447579

2025-02-08 06:58:35.516

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218?include=filterdata"}

2025-02-08 06:58:35.546

DEBUG

[ApiCacheManager] count: 3 size: 447579

2025-02-08 06:58:35.546

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/items?filter=ebooks.ZWJvb2s%253D&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"}

2025-02-08 06:59:10.032

DEBUG

[Book] "The Double Helix" changed keys: [ 'description' ]

2025-02-08 06:59:10.119

DEBUG

[ApiCacheManager] book.afterUpdate: Clearing cache

2025-02-08 06:59:10.207

DEBUG

[ApiCacheManager] libraryItem.afterUpdate: Clearing cache

2025-02-08 06:59:10.246

DEBUG

[ApiCacheManager] libraryItem.afterUpdate: Clearing cache

2025-02-08 06:59:10.247

DEBUG

[LibraryItem] Saved metadata for "The Double Helix" file to "/audiobooks/Audiobooks/Non-Fiction/Double Helix - A Personal Account of the Discovery of the Structure of DNA/metadata.json"

2025-02-08 06:59:10.247

DEBUG

[LibraryItemController] Updated library item media The Double Helix

2025-02-08 06:59:19.505

DEBUG

[Book] "Europe" changed keys: [ 'description' ]

2025-02-08 06:59:19.579

DEBUG

[ApiCacheManager] book.afterUpdate: Clearing cache

2025-02-08 06:59:19.617

DEBUG

[ApiCacheManager] libraryItem.afterUpdate: Clearing cache

2025-02-08 06:59:19.673

DEBUG

[ApiCacheManager] libraryItem.afterUpdate: Clearing cache

2025-02-08 06:59:19.673

DEBUG

[LibraryItem] Saved metadata for "Europe" file to "/audiobooks/Audiobooks/Non-Fiction/Europe - A History/metadata.json"

2025-02-08 06:59:19.674

DEBUG

[LibraryItemController] Updated library item media Europe

Additional Notes

No response

Originally created by @ZLoth on GitHub (Feb 8, 2025). ### What happened? As part of HTML-ing the descriptions in my library, I am now going back to remove the words "PLEASE NOTE: When you purchase this title, the accompanying PDF will be available in your Audible Library along with the audio." from the descriptions. After I removed it from two books, the description stopped updating even though I clicked on the left and right arrows. Addendum: It appears that if you have the cursor active in the description field, then the description field doesn't update. ### What did you expect to happen? The description should update after I click on the left and right arrows no matter how many edits I perform. ### Steps to reproduce the issue 1. Go to Library. 2. Set sort to Ebooks: ebook and Title to ascending. 3. Edit a book. 4. Place cursor in description field. 5. Click on the left or right arrow. WHAT SHOULD HAPPEN: The book description should change with the book WHAT REALLY HAPPENS: The book description doesn't change with the book PREVOUSLY: 1. Go to Library. 2. Set sort to Ebooks: ebook and Title to ascending. 3. Edit the description and click on "Save" 4. Click on the right arrow to the next book 5. Edit the descriotion and click on "Save" 6. Click on the right arrow to the next book WHAT SHOULD HAPPEN: The book description should change with the book WHAT REALLY HAPPENS: The book description doesn't change with the book https://github.com/user-attachments/assets/84228b8d-c419-4774-8ebb-6533b552c587 ### Audiobookshelf version 2.19.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 ```shell 2025-02-08 06:58:32.208 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/items?filter=ebooks.ZWJvb2s%253D&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"} 2025-02-08 06:58:35.516 DEBUG [ApiCacheManager] count: 3 size: 447579 2025-02-08 06:58:35.516 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218?include=filterdata"} 2025-02-08 06:58:35.546 DEBUG [ApiCacheManager] count: 3 size: 447579 2025-02-08 06:58:35.546 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/items?filter=ebooks.ZWJvb2s%253D&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"} 2025-02-08 06:59:10.032 DEBUG [Book] "The Double Helix" changed keys: [ 'description' ] 2025-02-08 06:59:10.119 DEBUG [ApiCacheManager] book.afterUpdate: Clearing cache 2025-02-08 06:59:10.207 DEBUG [ApiCacheManager] libraryItem.afterUpdate: Clearing cache 2025-02-08 06:59:10.246 DEBUG [ApiCacheManager] libraryItem.afterUpdate: Clearing cache 2025-02-08 06:59:10.247 DEBUG [LibraryItem] Saved metadata for "The Double Helix" file to "/audiobooks/Audiobooks/Non-Fiction/Double Helix - A Personal Account of the Discovery of the Structure of DNA/metadata.json" 2025-02-08 06:59:10.247 DEBUG [LibraryItemController] Updated library item media The Double Helix 2025-02-08 06:59:19.505 DEBUG [Book] "Europe" changed keys: [ 'description' ] 2025-02-08 06:59:19.579 DEBUG [ApiCacheManager] book.afterUpdate: Clearing cache 2025-02-08 06:59:19.617 DEBUG [ApiCacheManager] libraryItem.afterUpdate: Clearing cache 2025-02-08 06:59:19.673 DEBUG [ApiCacheManager] libraryItem.afterUpdate: Clearing cache 2025-02-08 06:59:19.673 DEBUG [LibraryItem] Saved metadata for "Europe" file to "/audiobooks/Audiobooks/Non-Fiction/Europe - A History/metadata.json" 2025-02-08 06:59:19.674 DEBUG [LibraryItemController] Updated library item media Europe ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:08:22 +02:00
adam closed this issue 2026-04-25 00:08:23 +02:00
Author
Owner

@ZLoth commented on GitHub (Feb 8, 2025):

Here is a second recording of the issue along with the HAR file capture.

https://github.com/user-attachments/assets/63d4b97f-22b8-4bdd-a7c6-ab0f30e70f70

HAR File capture.zip

@ZLoth commented on GitHub (Feb 8, 2025): Here is a second recording of the issue along with the HAR file capture. https://github.com/user-attachments/assets/63d4b97f-22b8-4bdd-a7c6-ab0f30e70f70 [HAR File capture.zip](https://github.com/user-attachments/files/18718846/HAR.File.capture.zip)
Author
Owner

@ZLoth commented on GitHub (Feb 8, 2025):

One thing for certain... it's a bleeping intermittent issue, so it may not be immediately reproducable.

@ZLoth commented on GitHub (Feb 8, 2025): One thing for certain... it's a _bleeping_ intermittent issue, so it may not be immediately reproducable.
Author
Owner

@D3r3k23 commented on GitHub (Feb 8, 2025):

I think I have the same issue in podcasts, it only happens if the cursor is in the description field. If it's in another one, then it does update.

@D3r3k23 commented on GitHub (Feb 8, 2025): I think I have the same issue in podcasts, it only happens if the cursor is in the description field. If it's in another one, then it does update.
Author
Owner

@ZLoth commented on GitHub (Feb 8, 2025):

I think I have the same issue in podcasts, it only happens if the cursor is in the description field. If it's in another one, then it does update.

I think you have stumbled onto a root cause.

https://github.com/user-attachments/assets/8daf1439-91ed-459f-81c3-804505a7bfee

@ZLoth commented on GitHub (Feb 8, 2025): > I think I have the same issue in podcasts, it only happens if the cursor is in the description field. If it's in another one, then it does update. I think you have stumbled onto a root cause. https://github.com/user-attachments/assets/8daf1439-91ed-459f-81c3-804505a7bfee
Author
Owner

@mikiher commented on GitHub (Feb 8, 2025):

Thanks for reporting. Looks like @advplyr beat me to fixing this... :)

@mikiher commented on GitHub (Feb 8, 2025): Thanks for reporting. Looks like @advplyr beat me to fixing this... :)
Author
Owner

@advplyr commented on GitHub (Feb 8, 2025):

Hah sorry I should have commented but I knew it was only going to take a few minutes.

@advplyr commented on GitHub (Feb 8, 2025): Hah sorry I should have commented but I knew it was only going to take a few minutes.
Author
Owner

@ZLoth commented on GitHub (Feb 8, 2025):

Thank you @advplyr and @mikiher for fixing this. Looking forward to the release.

@ZLoth commented on GitHub (Feb 8, 2025): Thank you @advplyr and @mikiher for fixing this. Looking forward to the release.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2025):

Fixed in v2.19.1.

@github-actions[bot] commented on GitHub (Feb 12, 2025): Fixed in [v2.19.1](https://github.com/advplyr/audiobookshelf/releases/tag/v2.19.1).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2557