Summary: | plasma-systemmonitor state not saved | ||
---|---|---|---|
Product: | [Applications] plasma-systemmonitor | Reporter: | Mac Michaels <thebitpit> |
Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, kde, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.22.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-systemmonitor/commit/37a338b8c9368c60f57f649142a3c016f27129aa | Version Fixed In: | 5.23 |
Attachments: | attachment-21202-0.html |
Description
Mac Michaels
2021-06-18 13:52:25 UTC
Can I confirm if you are closing plasma-system monitor and logging out, or this is about when using session restore? Do other applications restore activities correctly? Created attachment 139787 [details] attachment-21202-0.html I do not close plasma system monitor before logging out. My system has 2 displays with different resolutions arranged side-by-side. I do not power off or disconnet any displays ever, because that will rearrange everything. The login session restore starts SystemMonitor on the wrong screen with the initial default page "Overview" instead of the last selected page "History". Activies are set to whichever activity is selected when I login (which was the one active when I logged out). All other application's activities are properly set by session restore. On 7/1/21 9:51 AM, David Edmundson wrote: > https://bugs.kde.org/show_bug.cgi?id=438866 > > David Edmundson <kde@davidedmundson.co.uk> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > CC| |kde@davidedmundson.co.uk > Resolution|--- |WAITINGFORINFO > > --- Comment #1 from David Edmundson <kde@davidedmundson.co.uk> --- > Can I confirm if you are closing plasma-system monitor and logging out, or this > is about when using session restore? > > Do other applications restore activities correctly? > Git commit 37a338b8c9368c60f57f649142a3c016f27129aa by David Edmundson. Committed on 24/08/2021 at 14:01. Pushed by davidedmundson into branch 'master'. Session management support For session restoration we just need to remember which page we're on, which is already supported as a command line argument. This patch repurposes that and explicitly sets the restart command on session save. M +10 -13 src/Configuration.cpp M +2 -1 src/Configuration.h M +28 -0 src/main.cpp https://invent.kde.org/plasma/plasma-systemmonitor/commit/37a338b8c9368c60f57f649142a3c016f27129aa |