Summary: | Improper behavior on shutdown leading to data loss | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Gabriel Barros <descartavel1> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | kde, nate |
Priority: | NOR | ||
Version: | 5.27.10 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.0 | |
Sentry Crash Report: | |||
Attachments: | sudo journalctl -b -1 |
Description
Gabriel Barros
2023-12-26 13:05:42 UTC
Oops, meant to link to this bug on the ktorrent example https://bugs.kde.org/show_bug.cgi?id=415580 Also noticed that on wayland I do not get a close dialog for a unsaved `kate` buffer. I'm knew about Sessions Errata, but did I read that wrong? Does that errata also cause loss of data on shutdown and not just failure to save/restore open windows? I think for Konsole I've found the root cause (and will probably quit using it ASAP) https://invent.kde.org/utilities/konsole/-/blob/master/src/MainWindow.cpp?ref_type=heads#L674 ``` bool MainWindow::queryClose() { // Do not ask for confirmation during log out and power off // TODO: rework the dealing of this case to make it has its own confirmation // dialog. if (qApp->isSavingSession()) { return true; } ``` But that still doesn't explain improper shutdown of things like Ktorrent and Kate on my wayland/systemd system Apps are now asked to quit |