jpochyla / psst

Fast and multi-platform Spotify client with native GUI
MIT License
8.41k stars 215 forks source link

Buggy Music Selection inside Playlist #501

Open keinsell opened 1 month ago

keinsell commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

I had open playlist and during switching songs the selection always choose one position below the one that was actually clicked. Bug is not presisting through application restarts and what causing it is undiscovered by me.

Nagranie ekranu z 2024-07-23 19-56-04.webm

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Select position that is currently pointed.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context Add any other context about the problem here.

obraz

arch-btw commented 1 month ago

I can confirm this bug, this has been an issue for quite some time but I never got around to reporting it.

What triggers it is when a new song is added to the playlist and the user goes back to the playlist and selects a song.

Behind the scenes the playlist isn't refreshed (only visually) when a new song is added.

So when you click on an item, it plays the item below.

Workaround is restarting psst.

Reproduce:

  1. Start psst and notice that the playlist works correctly
  2. Go to any new song that isn't in the playlist yet, and add it to the playlist (by selecting the heart/like icon)
  3. Go back to the playlist
  4. Play a song
  5. Notice it plays the item below the one that's selected

OS: Arch Linux