regorxxx / Playlist-Manager-SMP

A playlist manager for foobar2000, using Spider Monkey, to save and load (auto)playlists on demand, synchronizing, ... along many more utilities.
https://regorxxx.github.io/foobar2000-SMP.github.io/scripts/playlist-manager-smp/
GNU Affero General Public License v3.0
56 stars 5 forks source link

[FEATURE] Improve how UI jumps around when deleting a playlist #84

Closed stephen147 closed 6 months ago

stephen147 commented 6 months ago

Reported this one before.

See the gif. Deleting a playlist the UI scroll jumps about. This may be true for other actions. (Edit: happens when playlists are dup'd)

Font size is 13 if that has any bearing on this bug.

2024 05 25 (16-00-01)

regorxxx commented 6 months ago

Jump is intentional since the entire tree is rebuilt and tries to center the last selected/highlighted playlist on current view after refreshing. This is not a bug. You may find it annoying and I could offer a setting to disable it or tweak it to try to maintain the position in some cases, but not a bug.

regorxxx commented 6 months ago

Closing it as a bug since is not a bug, BUT I'm open for feedback about improving it and will appreciate if you test it (and report it here) in a few days after I tweak how it works.