My l&f package specifies a default theme with a custom wallpaper however the wallpaper plugin still shows Next, however if I use theme.wallpaperPathForSize() from the lock screen then the right wallpaper image is picked up.
Is the session started from a clean one or there was already an appletsrc? (if a wallpaer is saved, is not supposed to override the user choice)
It's always a clean session from the live CD.
hmm, can't reproduce if i start with a theme that has this added to the metadata file [Wallpaper] defaultWallpaperTheme=Green_Leaves defaultFileSuffix=.png defaultWidth=1920 defaultHeight=1080 but not a saved wallpaper in the appletsrc yet, the right wallpaper is picked. is the default plasma theme picked from l&f yet? is that correct at first start?
I did one more test. At the first session (no saved config) it keeps using Next as a wallpaper picture. If I logout and login again it shows my wallpaper. To logout I right click the desktop and select Leave. When the logout window is shown I notice it has the right wallpaper which is loaded with this code: theme.wallpaperPathForSize(...) this means that somehow Plasma knows what is the default wallpaper but the wallpaper plugin has some issues. Could it be because the wallpaper name contains a dash?
I think that the reason is that the plasma theme gets assigned too late, and somehow the wallpaper was already assigned when the theme was switched. where exactly the plasma theme is assigned in that session? does it come from a plasmarc or somewhere else?
The theme is specified by my l&f package (defaults file) not by /etc/xdg/kdeglobals and the "theme" object from QML recognize the theme. It's the wallpaper plugin that keeps showing the Next wallpaper If I remove ~/.config and add the following lines to /etc/xdg/kdeglobals then the wallpaper plugin loads the picture as specified by the maui desktoptheme: [Theme] name=maui Looks like the wallpaper plugin is not affected by the configuration provided by l&f. Hope this helps tracking down the issue.
Git commit 030f536383376d8448675bfafeec88e4f775fa9d by Marco Martin. Committed on 15/08/2014 at 15:54. Pushed by mart into branch 'mart/LookAndFeelKCM'. use the proper l&f package, with LookAndFeelAccess still not enough but a part of 337757 M +4 -12 shell/shellcorona.cpp M +0 -2 shell/shellcorona.h http://commits.kde.org/plasma-workspace/030f536383376d8448675bfafeec88e4f775fa9d
Can you test it again after above commit? to me it seems to fix it if i have a kdeglobals with a different lookandfeel package and no plasmarc at all
Closing as no-one responded to Marco in ages. Please re-open if it doesn't fix it.
A rather similar issue here, also in live mode, selected wallpaper is not used. Difference is, the Live session gets a ~/.config/ plasma-org.kde.plasma.desktop-appletsrc with custom settings. All settings are kept (example, switch from kickoff to kicker, add the volume-control plasmoid, switch from taskmanager to icons-only), but the line that sets the wallpaper is removed on start of the live session. File in use, with line 91 being removed on start of the live session: https://github.com/KaOSx/live-uefi/blob/master/configs/shared/overlay/home/live/.config/plasma-org.kde.plasma.desktop-appletsrc#L90 Which results in "Next" being the set wallpaper Once logged into live mode, change wallpaper to desired setting, logout and in again, correct wallpaper settings are maintained.
Looks like configuration from l&f is honored and appletsrc is not then. Reopening.
Cannot reproduce with various LNF packages today. Please re-open if you can reproduce.