Bug 490936

Summary: System Monitor: Edit mode quietly saves changes and doesn't close automatically
Product: [Applications] plasma-systemmonitor Reporter: neobrain <bugs.7ng0x>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, nate, plasma-bugs-null, rm
Priority: NOR Keywords: usability
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description neobrain 2024-07-28 16:37:43 UTC
SUMMARY
The state management behind page Edit mode is surprising in multiple ways that need revisiting. I'm creating a single bug since they seem related from an implementation point-of-view:

* Switching pages doesn't exit edit mode: When editing a page, switching to another page doesn't move the original page out of edit mode. Other page-full KDE applications (like system settings) don't have pages with "hidden state" like this.
* Quitting System Monitor saves all pending modifications **without asking confirmation**. I'm not aware of other applications that require explicit "Save Changes" to apply changes but then silently apply them on exit.

Instead, whenever the user switches pages or exits System Monitor, the user should be prompted with a dialog to ask whether chances should be discarded or applied.

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed 6.1.3
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2