| Summary: | 'Discard changes' while editing 'Processes' page also resets columns shown | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | Kishore Gopalakrishnan <kishore96> |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | ahiemstra, kde, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.24.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Kishore Gopalakrishnan
2022-03-20 06:37:13 UTC
The configuration for which columns are active is stored in the same location as other page configuration. This is written to disk after some time once values have changed. At the same time, "Discard Changes" forces a reload of the page configuration from disk. If this happens while the previous changes have not been written yet, those changes are lost. One thing we could try is shortening the timeout for the save timer, which reduces the chance of this happening, though it would still be possible to trigger it. (In reply to Arjen Hiemstra from comment #1) > The configuration for which columns are active is stored in the same > location as other page configuration. This is written to disk after some > time once values have changed. At the same time, "Discard Changes" forces a > reload of the page configuration from disk. If this happens while the > previous changes have not been written yet, those changes are lost. > > One thing we could try is shortening the timeout for the save timer, which > reduces the chance of this happening, though it would still be possible to > trigger it. Would it make sense to always save the current configuration when the user enters edit mode (before they can make any changes)? |