spicetify-playlist-icons icon indicating copy to clipboard operation
spicetify-playlist-icons copied to clipboard

Scroll jumping when clicking on playlists

Open Updog36 opened this issue 2 years ago • 4 comments

Whenever I click on a playlist, it randomly scroll jumps up, which is extremely annoying when trying to play a playlist from the sidebar, as in video related

https://user-images.githubusercontent.com/94653983/183094655-eb954cfd-9064-409d-bc33-66cf0e469c1c.mp4

Any idea why this might be?

Updog36 avatar Aug 05 '22 14:08 Updog36

I've never seen that happen before, and I use playlist icons on mac and windows on different spotify/spicetify versions.

Sadly if I can't reproduce it, I can't do anything about it.

jeroentvb avatar Aug 05 '22 16:08 jeroentvb

I just had a look at it again. It might have to do with the big playlist icons. Spotify does some weird de-rendering when items are out of view, so those icons never worked as smooth as the small icons.

Can you try the small icons and see if the jumping is still an issue?

jeroentvb avatar Aug 09 '22 06:08 jeroentvb

Works fine with the small icons.

Bizarre coding - why would they de-render minor things like the sidebar? That still doesn't fix their memory leak issues (which are bound to happen after just a few dozen searches in one session) so I don't see what's there to it.

Updog36 avatar Aug 09 '22 08:08 Updog36

I'm not sure either. It was the biggest challenge to overcome when making this extension, because the playlist icons get de-rendered as well, and I had to manually watch for changes and add them back when they spawned back in.

I just did manage to reproduce the jumping behaviour too with the large playlist icons. Will have to look into it, but I can't guarantee I can fix it. If it's too annoying you can use the small icons for now.

jeroentvb avatar Aug 09 '22 08:08 jeroentvb

Closing this issue as these 'playlist list icons' are only rendered in legacy mode. Spotify now renders the icons themselves, so this shouldn't happen anymore.

jeroentvb avatar Oct 20 '23 18:10 jeroentvb