Bug 339403 - If I set up a wallpaper slideshow, it's lost with a new session
Summary: If I set up a wallpaper slideshow, it's lost with a new session
Status: RESOLVED DUPLICATE of bug 321781
Alias: None
Product: plasma4
Classification: Plasma
Component: wallpaper-image (show other bugs)
Version: 4.11.11
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Paolo Capriotti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-25 23:28 UTC by Tony Green
Modified: 2014-09-28 19:18 UTC (History)
2 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 Tony Green 2014-09-25 23:28:17 UTC
I set up a wallpaper slideshow (right-click on desktop => default desktop settings => View => wallpaper-slideshow => add folder) and set it to change images every 10 minutes.

Then I log out and back in again. My slideshow now longer works and I just get the default wallpapers. Going back to the config shows nothing that I set up remaining.

A little bit of digging shows that the configuration is stored in ~/.kde/share/config/plasma-desktop-appletsrc. If I log out of KDE and log into XFCE, then look at this file, it sill contains the correct configuration.

[Containments][88][Wallpaper][image]
slideTimer=10
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

However, as soon as I log back into KDE, this section of the file no longer contains the correct settings, so presumably **something** is resetting it as I log in.

Interestingly (significantly or not I don't know) when I go into the setup panel again after setting up the slideshow, my directory isn't shown where it was listed when I added it.

There may be more information I can supply, but I'm not sure where to look, so please feel free to ask for more.

Reproducible: Always

Steps to Reproduce:
See details above.

Actual Results:  
No slideshow with new session.

Expected Results:  
Slideshow should persist over sessions.
Comment 1 Christoph Feck 2014-09-26 11:47:48 UTC
Are you indeed using KDE Workspace 4.11.11 or 4.11.12? Could be a duplicate of bug 327580, which is fixed in 4.11.12.
Comment 2 Tony Green 2014-09-26 23:33:00 UTC
(In reply to Christoph Feck from comment #1)
> Are you indeed using KDE Workspace 4.11.11 or 4.11.12? Could be a duplicate
> of bug 327580, which is fixed in 4.11.12.

Hi Christoph,

I am on 4.11.11. So you're probably correct.

As I'm on Debian Testing, I expect 4.11.12 should arrive fairly soon, so I'll update on the situation then.

Thanks.
Comment 3 Tony Green 2014-09-28 18:51:37 UTC
OK, 4.11.12 now installed. And unfortunately the problem is still with me.

Slightly irregular; I set up the slideshow and did a complete reboot - the slideshow was still there. Then I logged out and back in and I'd lost it.

A bit of googling about this problem brought up a suggestion that it might be due to new activities being started automatically, but the slideshow being assigned to a **particular** activity. 

Any new activities **must** be coming into being automatically, as I haven't been creating them (no idea what they're for, to be honest), but looking at successive copies of the config file, it looks to my ignorant eyes as if new activities may well be the cause of the problem.

~/.kde/share/config/plasma-desktop-appletsrc when I first set up a slideshow today:
------------------------------------------------------------------------------------------------------------------
[Containments][88]
ActionPluginsSource=Global
activity=New Activity
activityId=2af6d595-c20a-42b6-8281-c24eb6629d59
desktop=-1
formfactor=0
geometry=0,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][88][ToolBox]
corner=4
offset=81

[Containments][88][Wallpaper][image]
slideTimer=600
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][89]
ActionPluginsSource=Global
activity=New Activity
activityId=fc1449ca-6e40-48f3-84be-d787d588787b
desktop=-1
formfactor=0
geometry=1286,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][89][Wallpaper][image]
slideTimer=310
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][90]
ActionPluginsSource=Global
activity=New Activity
activityId=9bfbd829-81d6-4f7f-b572-eb9ecb5634a4
desktop=-1
formfactor=0
geometry=0,1180,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][90][Wallpaper][image]
slideTimer=310
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][91]
ActionPluginsSource=Global
activity=New Activity
activityId=924a1548-ce39-41d0-b18e-4c211b79e91b
desktop=-1
formfactor=0
geometry=1286,1180,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][91][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][92]
ActionPluginsSource=Global
activity=New Activity
activityId=cfefb845-1808-4e07-b4b3-3f24f3eef45d
desktop=-1
formfactor=0
geometry=0,2360,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][92][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][93]
ActionPluginsSource=Global
activity=New Activity
activityId=4ce263f7-1936-4e88-9377-ea3afeec70b2
desktop=-1
formfactor=0
geometry=1286,2360,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=0
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][93][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[General]
immutability=2
--------------------------------------------------------------------------------------------------------------------------------
Contents of the same file having logged out and having had to configure the slideshow again:
---------------------------------------------------------------------------------------------------------------------------------
[Containments][88]
ActionPluginsSource=Global
activity=New Activity
activityId=2af6d595-c20a-42b6-8281-c24eb6629d59
desktop=-1
formfactor=0
geometry=0,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][88][ToolBox]
corner=4
offset=81

[Containments][88][Wallpaper][image]
slideTimer=600
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][89]
ActionPluginsSource=Global
activity=New Activity
activityId=fc1449ca-6e40-48f3-84be-d787d588787b
desktop=-1
formfactor=0
geometry=1286,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][89][Wallpaper][image]
slideTimer=310
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][90]
ActionPluginsSource=Global
activity=New Activity
activityId=9bfbd829-81d6-4f7f-b572-eb9ecb5634a4
desktop=-1
formfactor=0
geometry=0,1180,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][90][Wallpaper][image]
slideTimer=310
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][91]
ActionPluginsSource=Global
activity=New Activity
activityId=924a1548-ce39-41d0-b18e-4c211b79e91b
desktop=-1
formfactor=0
geometry=1286,1180,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][91][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][92]
ActionPluginsSource=Global
activity=New Activity
activityId=cfefb845-1808-4e07-b4b3-3f24f3eef45d
desktop=-1
formfactor=0
geometry=0,2360,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][92][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][93]
ActionPluginsSource=Global
activity=New Activity
activityId=4ce263f7-1936-4e88-9377-ea3afeec70b2
desktop=-1
formfactor=0
geometry=1286,2360,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=-1
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][93][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][94]
ActionPluginsSource=Global
activity=New Activity
activityId=af60465f-7ef9-47e2-a047-e62b7c1539dd
desktop=-1
formfactor=0
geometry=0,3540,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=0
wallpaperplugin=image
wallpaperpluginmode=Slideshow
zvalue=0

[Containments][94][Wallpaper][image]
slideTimer=610
slidepaths=/images/tokeep/wallpaper
userswallpapers=
wallpaper=
wallpapercolor=0,0,0
wallpaperposition=0

[General]
immutability=2
-----------------------------------------------------------------------------------------------------------------------------
So containments 94 seems to have been created with the new slideshow I configured most recently. Each of the containments sections has a different activityId, which seems to point at the suggestion about new activities being in the right direction. So it could be that my problem is due to new activities being created and not inheriting the previous slideshow setup rather than a bug in the wallpaper code itself. To reiterate, I'm **not** creating new activities deliberately.

This is a completely new KDE installation, with no KDE code having been on my computer before September 25th, so old config files hanging around shouldn't be involved in causing this.
Comment 4 Christoph Feck 2014-09-28 19:18:38 UTC

*** This bug has been marked as a duplicate of bug 321781 ***