Bug 335475 - FR: panel and widget settings should be saved
Summary: FR: panel and widget settings should be saved
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: panel (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 14:22 UTC by Aleksey Midenkov
Modified: 2018-01-23 22:25 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 Aleksey Midenkov 2014-05-28 14:22:58 UTC
Related reports: 189852, 200341, 166807, 254884

I will not write to these reports, because they are limited to some narrow topic. I will try to develop a vision of how it should work and after that will focus on specific requirements.

What we have now: widget on panel (f.ex. Digital Clock). Remove it and add again -- and all settings are lost. Panel with bunch of widgets. Remove panel -- and all widget settings from it are lost!

What is expected: removing widget do not lose configuration. Removing panel and adding it again restores its previous outlook intact.

Complications: same widget with different configurations on different panels. Multiple panels with different widgets.

Risks: stale configurations.

** How it should work. **

Case 1: two panels (A, B) having same widget with different configs A:R1, B:R2. Suppose, that default config for widget R is R0.

Remove R from A, put R to A. Config R1 restored.
Remove R from B, put R to B. Config R2 restored.
Remove R from A, put R to B. Config R0 restored.

For the sake of brevity I'll write 'Ra' instead 'R from/to A'. 'Rb' instead 'R from/to B'.

Remove Ra, remove Rb, put Ra, config R1 restored, put Rb, config R2 restored.

Case 2: two panels (A, B), one widget Ra (config R1).

Remove Ra, put Rb. R1 restored.
This works somehow differently because config migrated from panel A to panel B.

Remove Ra, put Rb. R1 restored. Put Ra. R1 restored.
Now config got duplicated!

Remove Ra, put Ra. R1. Put Ra. R0!
Second widget came with default config!


To be continued...

Reproducible: Always
Comment 1 Nate Graham 2018-01-23 22:25:17 UTC
Plasma 4 has been unsupported for several years. If you think this feature should come to Plasma 5, please file a new bug.