Bug 371763 - Slideshow wallpaper configuration lost after switch to other wallpaper type
Summary: Slideshow wallpaper configuration lost after switch to other wallpaper type
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: 5.8.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 19:47 UTC by Guo Yunhe
Modified: 2016-10-31 13:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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