14.0.0B1 Playlist layouts on Home Page not restoring properly

Issue description:

If you make changes to the layout of a playlist, these changes affect all usages of that playlist. Loading other App Styles does not return the layout to the state when said Styles were saved. Only the most recent state is retained.

Affects both regular and Smart playlists. Built-in Home page items are unaffected (i.e. they restore correctly).

Logs:

Upload description: Celorien_StaticLayout

First log contains attempt to load an App Style after making changes to the playlist layout

Additional log: Celorien_HeldLayout

Second log follows deleting the Home Page entry for the playlist, then re-adding it from the Playlist menu. The new entry uses the edited layout from the first test, rather than referring to the default List layout.

Additional information:

Will add more details in about 10 mins Done.

Pic 1: state when saving App Style
Pic 2: changed spacing before track list. Restoring App Style still leaves me with this layout

The “bug” that adds a playlist with its last edited state could be a neat feature to save time, if the user wants to reuse the same layout. The issue is that it cannot be edited independent of other App Styles.

Reproduction steps:

Add a playlist to the Home page, then save an App Style. Now go to “Interface > Home page > (Your Playlist)” and adjust the layout. Make an obvious change like setting it to Grid instead of List.

Load the App Style that you made in the first step. The layout will not revert to “List”.

Media provider:

Local device

Screenshots:

Probably related: restoring an app backup over a clean install will set the Home Page layouts as they were in the backup… but the playlist entries will be pointed at the wrong playlist.

For example, my “Recently added” slot on Home Page now points to my “Tag Tester” playlist. The visual layouts are correct, but they pull tracks from the wrong list.

Removing these entries and re-adding the playlist to the Home Page does not restore the “last edited” state, as in the bug report above. They are added with the default List layout… the first time, anyway.

Can upload a log of this behavior if you want one.