El dimecres, 12 d’octubre de 2016, a les 19:54:39 CEST, Olivier Churlaud va escriure: > Hello, > > I'm working on the Color KCM. The default theme doesn't work, because it > cannot find the default values. > (https://bugs.kde.org/show_bug.cgi?id=370305)
I don't understand what you mean with "cannot find the default values". The defaults are provided in code either as parameter to the readEntry() function or in the <default> tag of .kcfg files. > I'm therefore wondering: where are theses values stored? Thiago said "in > XDG_CONFIG_DIRS". I would not call that defaults but systemwide/distribution overrides (in case they exist) > I looked there, but I do not see any default values for > the colors. I however found some hardcoded values in the colorkcm code. Those colors are the defaults, no? > How are the "default" values supposed to be handled? I don't really understand the question, you seem like you already found out where the default values are. Maybe if you point to some code we can help you better :) Cheers, Albert > > I think kbroulik worked on this as well, so maybe he (or others) have > inputs? > > Thank you, > Olivier