2021-09-19, 10:35
(2021-09-19, 02:14)Tired Dad Wrote:(2021-09-19, 01:16)Tired Dad Wrote: @beatmasterrs I don't know what the error that swaps the colour for the profiles is, but i think I've tracked down how it happens. I started with a fresh install of Kodi 19.1 under Windows and added AZR. I then added two profiles and gave them different colours. All profiles kept their colours, but logging out of the user profiles logged me back into the master profile in about 3-5 seconds.
When I removed the checkbox for the "startup window" in the Extras setting, the "automatically logging back into the master profile" bug disappears, but now all the profiles pick up their colours from the master profile when I log into them. Changing the colours in any profile results in all profiles getting that same colour pallette. The reason: the master profile's settings.xml is being written to on exit for any other profile [the timestamp changes to show it is being written after logging out of another user's profile], and it appears that the next user profile I log into then inherits the colour settings from here.
There is a workaround however. Setting the master profile's settings.xml file to read-only prevents the profiles from overwriting each others' colour palette. I'm going to do some more testing, but this seems to be the culprit so far. I'll have to grab the various xml files from before and after for both the master profile and a user and run them through a text comparison program to see what changes.
Sigh. Never mind. The same problem came back under a different machine running 1.1.59. Back to the drawing board
There is nothing you can do from the skin side to prevent this behavior, as it is related to the Kodi profile system.
Have you created an issue ticket at the KODi github site?