Bug 371763

Summary: Slideshow wallpaper configuration lost after switch to other wallpaper type
Product: [Plasma] plasmashell Reporter: Guo Yunhe <i>
Component: Image & Slideshow wallpaper pluginsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.8.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Guo Yunhe 2016-10-27 19:47:19 UTC
Steps to reproduce:

1. Open wallpaper config dialog
2. Set wallpaper type to Slideshow and choose some folders.
3. Click "Apply" button.
4. Switch wallpaper type to "Plain Color".
5. Switch back to "Slideshow".

Result:

Folders disappeared.

Expected:

Config dialog would remember Slideshow options, like selected folders and change period.
Comment 1 Marco Martin 2016-10-31 13:45:47 UTC
Git commit 07ae9bbc4608700f7fd1fb6c2fba274923b9b794 by Marco Martin.
Committed on 31/10/2016 at 13:45.
Pushed by mart into branch 'master'.

set context proeprties before reloading the qml

doing setSource then immediately after rootContext()->setContextProperty
makes the property binding evaluated right at startup to be broken,
also fail any access to said contextproperty until the point of
Conponent.onCompleted
Change-Id: Ie10afcf3c5b1693db49b5c240c9d2a4f3c47db21

M  +1    -1    src/scriptengines/qml/plasmoid/wallpaperinterface.cpp

http://commits.kde.org/plasma-framework/07ae9bbc4608700f7fd1fb6c2fba274923b9b794