Bug 382731 - kcm_lookandfeel doesn't apply Aurorae theme
Summary: kcm_lookandfeel doesn't apply Aurorae theme
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: 5.10.4
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-25 21:05 UTC by Uri Herrera
Modified: 2017-10-04 20:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uri Herrera 2017-07-25 21:05:36 UTC
The Look and Feel KCM doesn't apply the Aurorae theme that's specified in the package config file. It does apply every other component like color schemes, icon theme, widget theme and Plasma theme.

The defaults file I used had these lines:

[kwinrc][WindowDecoration]
library=$THEME

Simply using the theme name loaded the decoration but that doesn't work anymore and defaults to use Breeze.
Comment 1 Uri Herrera 2017-07-25 21:45:43 UTC
I've also tried with:

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
theme=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
Theme=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
windowDecoration=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
decoration=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
name=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
Name=$X-KDE-PluginInfo-Name=$NAME

[kwinrc][WindowDecoration]
library=org.kde.kwin.aurorae
Style=$X-KDE-PluginInfo-Name=$NAME

None work.
Comment 2 Christoph Feck 2017-08-28 00:51:55 UTC
Martin, any idea?
Comment 3 Christoph Feck 2017-09-20 00:56:42 UTC
Could you try

[kwinrc][org.kde.kdecoration2]
library=org.kde.kwin.aurorae
theme=$THEME
Comment 4 Uri Herrera 2017-09-20 01:27:35 UTC
(In reply to Christoph Feck from comment #3)
> Could you try
> 
> [kwinrc][org.kde.kdecoration2]
> library=org.kde.kwin.aurorae
> theme=$THEME

Hey, ok so i tried this and it loads Aurorae but it doesn't load the theme, it defaults to Plastik.

My theme is at: /usr/share/aurorae/themes/
Comment 5 Christoph Feck 2017-09-20 01:39:28 UTC
I am not sure how aurorae looks up theme keys, but for Plastik, you need to put

theme=kwin4_decoration_qml_plastik

Maybe that helps you find which entry from the theme metadata you need to use as the key.
Comment 6 Uri Herrera 2017-09-20 03:11:59 UTC
(In reply to Christoph Feck from comment #5)
> I am not sure how aurorae looks up theme keys, but for Plastik, you need to
> put
> 
> theme=kwin4_decoration_qml_plastik
> 
> Maybe that helps you find which entry from the theme metadata you need to
> use as the key.

That would be X-KDE-PluginInfo-Name=$NAME though I also tried it that way without any change.

I also noticed that Kwin was giving some errors because it wasn't finding some files:

kwin-decoration.desktop
kwin-effect.desktop
kwin-script.desktop

They seem to have been renamed to:

kwindecoration.desktop
kwineffect.desktop
kwinscript.desktop

I simply used a symlink. No errors now. 

The only hint I have is that when I change the theme from Breeze to an Aurorae theme Kwin outputs: aurorae: Couldn't find QML Decoration ""

(https://github.com/KDE/kwin/blob/master/plugins/kdecorations/aurorae/src/aurorae.cpp#L174)

But I'm not sure what error is about.
Comment 7 Christoph Feck 2017-10-04 19:54:10 UTC
Not finding desktop files is tracked at bug 384037. Do you believe it is related to the decorations?
Comment 8 Uri Herrera 2017-10-04 20:22:26 UTC
Tried it like this:

[kwinrc][org.kde.kdecoration2]
library=org.kde.kwin.aurorae
theme=__aurorae__svg__$themename

And it works. the important bit is: theme=__aurorae__svg__

I don't know why this: __aurorae__svg__

is required imo it should just need the name of the theme.