Skip to content

Deleting song(s) from playlist search deletes wrong song(s)

Description

When using the search menu inside a playlist, if you try to delete any song(s) from the playlist, it will delete different song(s) than what was selected.

Selecting the Nth item in the search list will delete the Nth song in the playlist, not the actual song selected.

This includes multiple selections. Deleting songs 1,3,5 in the search list will delete songs 1,3,5 in the playlist.

Expected behavior

The song that was selected should be deleted.

Actual behavior

The song with the same index as the one selected in search is deleted.

Steps to reproduce

  1. Create a new playlist with multiple songs.
  2. Open the playlist, click the search button in the corner.
  3. Type in the name of a song in the middle of the playlist.
  4. Click the 3 dots next to the first song in the search list and click Delete.
  5. Exit the search menu.
  6. See that the deleted song is still in the playlist, notice the first song in the playlist was deleted instead.

Context

App version

3.5.1

Android version

12 (One UI 4.1)

Device model

Samsung Galaxy S22 Ultra

App mode

Smartphone