https://bugs.kde.org/show_bug.cgi?id=366390
Bug ID: 366390
Summary: Wallpaper config page not reading current/default
settings when switching wallpaper type
Product: plasmashell
Version: 5.7.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
--
You are receiving this mail because:
You are watching all bug changes.