Summary: | Impossible to set Aurorae window decoration; Kwin always uses Breeze | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
Component: | aurorae | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kde, nate |
Priority: | NOR | Keywords: | regression |
Version: | 5.17.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kwin/e0df390dbc241409532c26a632490d03e19fb3da | Version Fixed In: | 5.18.0 |
Attachments: | kwinrc |
Description
Patrick Silva
2020-01-21 10:55:29 UTC
Confirmed. I can't reproduce. Can you post ~/.config/kwinrc after modifying. Created attachment 125287 [details]
kwinrc
[org.kde.kdecoration2] BorderSize=Normal BorderSizeAuto=true ButtonsOnLeft=MFS ButtonsOnRight=IAX CloseOnDoubleClickOnMenu=true ShowToolTips=true theme=__aurorae__svg__Breezemite This line is missing: library=org.kde.kwin.aurorae :/ It's missing from mine too. However I see that this line has been added: theme=__aurorae__svg__McMojave Found it. <code>#if HAVE_BREEZE_DECO const QString s_defaultPlugin { QStringLiteral(BREEZE_KDECORATION_PLUGIN_ID) }; #else const QString s_defaultPlugin { QStringLiteral("org.kde.kwin.aurorae") }; #endif </code> HAVE_BREEZE_DECO is undefined for the KCM, so it doesn't save the entry Git commit e0df390dbc241409532c26a632490d03e19fb3da by David Edmundson. Committed on 21/01/2020 at 18:41. Pushed by davidedmundson into branch 'Plasma/5.18'. [kcms/kwindecoration] Fix saving of window decoration plugin Summary: In the KCFG autogenerated code we check for HAVE_BREEZE_DECO without including the relevant file. This always fails, and so we save the default plugin name/library as org.kde.kwin.aurorae This doesn't match kwin's concept of the default and so we just fail to load it. Test Plan: Reproduced Saved a config Reviewers: #kwin, ngraham Reviewed By: ngraham Subscribers: ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D26814 M +1 -0 kcmkwin/kwindecoration/kwindecorationsettings.kcfg https://commits.kde.org/kwin/e0df390dbc241409532c26a632490d03e19fb3da |