| Summary: | On X11, the last opened window is not restored by session restore | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Kishore Gopalakrishnan <kishore96> |
| Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.27.80 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/0b70f5362d79c50ccbc32e9c39d67e8b5ba780e3 | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
Kishore Gopalakrishnan
2023-11-17 15:56:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3889 Git commit 5344b9097f5772cd819ca839e86fb27b62d34092 by David Edmundson, on behalf of Kishore Gopalakrishnan. Committed on 20/02/2024 at 10:52. Pushed by davidedmundson into branch 'master'. KSMServer::tryRestore: fix indexing of entries Inspection of entries in .config/ksmserverrc suggests that the session application entries are indexed starting from 1, while the code seems to assume that it starts from 0. This wrong assumption leads to restoring only N-1 windows, when N windows were supposed to be restored. M +1 -1 ksmserver/server.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/5344b9097f5772cd819ca839e86fb27b62d34092 Git commit 0b70f5362d79c50ccbc32e9c39d67e8b5ba780e3 by Fushan Wen, on behalf of Kishore Gopalakrishnan. Committed on 20/02/2024 at 13:18. Pushed by fusionfuture into branch 'Plasma/6.0'. KSMServer::tryRestore: fix indexing of entries Inspection of entries in .config/ksmserverrc suggests that the session application entries are indexed starting from 1, while the code seems to assume that it starts from 0. This wrong assumption leads to restoring only N-1 windows, when N windows were supposed to be restored. (cherry picked from commit 5344b9097f5772cd819ca839e86fb27b62d34092) M +1 -1 ksmserver/server.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/0b70f5362d79c50ccbc32e9c39d67e8b5ba780e3 |