Under certain conditions, drag-and-drop actions on the home page may add the wrong album to the queue

App version

Production

Issue description

Under certain conditions, the random albums section on the home page may add the wrong album to the queue when using the drag-and-drop feature.

If you first add an album to the queue via drag-and-drop and then refresh the random albums results. And then drag and drop new album from the same position, the album added to the queue will be the one that was originally in that position (i.e., the album you initially dragged and dropped into the queue), rather than the new album.

Device type

Phone

Media provider

Subsonic (Open)

Steps to reproduce

  1. Go to the home page.
  2. Drag and drop an album from the random albums section into the queue.
  3. Refresh the random albums results.
  4. Drag and drop the refreshed album from the same location as in step 2.
  5. The album added to the queue will be the same one from step 2, not the refreshed album.
    (Even if you repeat steps 3–4, the album added will still be the one from step 2.)

Additional information

Video of the issue reproduction. Sorry, the background music got recorded too.

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

linger0517

thanks will be fixed in next release.