Bug 366390 - Wallpaper config page not reading current/default settings when switching wallpaper type
Summary: Wallpaper config page not reading current/default settings when switching wal...
Status: RESOLVED DUPLICATE of bug 367546
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 22:09 UTC by Friedrich W. H. Kossebau
Modified: 2016-08-28 00:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2016-08-03 22:09:56 UTC
When opening the Workspace Settings with the Wallpaper tab, on selecting another wallpaper type the appearing config UI elements do not reflect the last applied values (or the default, if never used), but instead seem all reset to the default values of the UI elements (empty string, zero values).

When only opening the Workspace Settings with the Wallpaper tab, the initially displayed config UI elements have the correct values as currently applied. But only then. Once selecting another wallpaper type in the combobox and then selecting the current again (without using "Ok" or "Apply" on the dialog), the displayed values no longer reflect the current settings and are also empty/zero.

From what I see in the UI, it seems when loading the new config.qml into the view for the new wallpaper type, that one does not get its settings injected properly or at all.

Next to that, it seems that on storing the settings to the config file writing of the key/value entries is also duplicated at a more general level, which seems wrong not only because keys could be conflicting. Perhaps that is related. Excerpt of my plasma-org.kde.plasma.desktop-appletsrc:
--- 8< ---
[Containments][9][Wallpaper][General]
Color=255,170,0
Speed=51
[Containments][9][Wallpaper][org.kde.color][General]
Color=255,170,0
[Containments][9][Wallpaper][org.kde.autumn][General]
Speed=51
--- 8< ---

Plasma frameworks is KF5 5.24.

Reproducible: Always

Steps to Reproduce:
Precondition: a wallpaper type != "Color" is currently active
1. Open Workspace Settings, choose Wallpaper tab
2. Select wallpaper type "Color"
3. Click the color button and choose e.g. some green color.
4. Click "Apply"
5. Select another wallpaper type, e.g. "Image"
6. Select again the "Color" wallpaper type


Actual Results:  
The config button for the color is set to "Black"


Expected Results:  
The config button for the color is set to the color selected and applied previously.
Comment 1 David Edmundson 2016-08-28 00:55:47 UTC

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