Following D27407 provide kconf update script to fix user configuration for widgetStyle when Breeze global theme is applied
Details
In kdeglobals, group KDE, shoud replace the entry widgetStyle=breeze with widgetStyle=Breeze, otherwise does nothing.
Then, in KCM Application Style, Breeze style should be highlighted/selected.
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
How do I trigger this to get run? Restarting plasmashell or opening the Style KCM didn't seem to do it.
To run the update script, just apply the patch and rebuild plasma-desktop.
To confirm it has run in .config/kconf_updaterc at the end you will see
[style_widgetstyle_default_breeze.upd] done=StyleWidgetStyleDefaultBreeze,StyleRemoveGeneralWidgetStyle
And in .config/kdeglobals should have updated widgetStyle entry in group KDE
This fix the issue for Breeze theme, but according to bug description (https://bugs.kde.org/show_bug.cgi?id=417515) some configuration file may also have oxygen instead of Oxygen and maybe the case for fusion and window them style.
Did that.
To confirm it has run in .config/kconf_updaterc at the end you will see
[style_widgetstyle_default_breeze.upd] done=StyleWidgetStyleDefaultBreeze,StyleRemoveGeneralWidgetStyle
I see the following:
[style_widgetstyle_default_breeze.upd] ctime=1582046255 done=StyleWidgetStyleDefaultBreeze mtime=1582046231
And in .config/kdeglobals should have updated widgetStyle entry in group KDE
I still see widgetStyle=breeze (not capitalized) in the file. :(
Weird, I've tested again, and works like expected on my machine.
Is it the widgetStyle entry from KDE group ?
I have also an entry named widgetStyle in group General but we are not interested in that one.
kcms/style/style_widgetstyle_default_breeze.pl | ||
---|---|---|
9 | This will fix only for Breeze theme |
Works : replace widgetStyle in group KDE and selects the application style in systemsettings; Does not edit widgetStyle in group General
+1 on fixing whatever lowercased the value in the first place. Comment by @bport
I think I did--for me at least. But I won't block this because I'm not sure if my kdesrc-build-built setup is capable of testing kconfig patches adequately.
kcms/style/style_widgetstyle_default_breeze.pl | ||
---|---|---|
9 | Sure but that would be a different patch isn't it? (both should be rolled out together though) Now I wonder if there are more than "breeze" that we'd like to fix in the process? Just to avoid having several config updates to deploy. |