Skip to content

Playlist layout editor and collection filtering fixes + other small notes

Tuomas Nurmi requested to merge nurmi/amarok:playlistAndOtherFixes into master

Years are now properly included in collection filtering dates again, so e.g. lastplayed:>1.3.2000 returns all the tracks and not only those played after 1.3.2024.

Fixed playlist layout editor items getting completely permanently disabled if set to have automatic width.

Fixed removed playlist layout editor tokens not actually getting removed from the layout and returning on reload of the playlist layout.

I also had a look at disabling the Apply button in the layout editor when noting to apply (BR 322016), but the playlist layout editor behaves a bit peculiarly, some of the changes getting applied and saved even with nothing pressed (and not being reverted on cancel). Getting it work reliably with current structure might not be easy; I believe a model-view'ing the layout editor might make the code easier to comprehend and more reliable. Maybe later.

Merge request reports