When a user switches their active color scheme, the colors KCM writes the new colors to the user's kdeglobals file, from which they are read by other apps.
This presents a problem when VDG wants to change the colors of any of the default themes we ship: doing so does not update any of the colors in users' kdeglobals files until the next time they switch color schemes and then go back to one of the default ones.
We can mitigate this by writing a kconf update script every time we update one of the shipped color schemes, but this is a pain in the butt. It also does not work for color schemes that users get from store.kde.org; when they get updated, there is no way for the colors in users' kdeglobals files to get refreshed to match the new ones.
Is there a technical reason why we need to continue writing colors into the kdeglobals file rather than just specifying the name of a color scheme and having that color scheme's file get read as needed?
If that's not changeable, could we maybe have kded or something else get notified when the colors in the scheme file change, so it can update the colors in the kdeglobals file? Or if that's impossible, could we refresh the colors in the kdeglobals file on login if there are any differences between the ones in the config file and the one in the color scheme itself?