| Summary: | Plasma seems not to be closing apps gracefully before shutdown anymore | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | EpicTux123 <EpicTux123> |
| Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | kde, kdedev, natalie_clarius |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | session settings | ||
|
Description
EpicTux123
2025-11-12 06:57:40 UTC
Changing importance, since this doesn't look like an actual crash. This may be a bug in session saving. I'm able to reproduce the Firefox issue on git-master but not the delay, with my regular user or a brand new user The system is set to launch apps that were open at logout - Shutdown is quick, no noticeable delay - Other apps that were open are reopened as expected - Firefox starts up with all tabs I had open, not just one tab with the homepage per my settings (restarting Firefox, it has just one tab as expected) Created attachment 186905 [details]
session settings
I've noticed a bit of a delay after such problem started ocurring. It's like a two or three seconds delay before the shutdown starts, whereas before that didn't happen. However, it may be a problem of a 3rd-party package such as systemd rather than KDE's, but I didn't test it.
In regards to Desktop Session settings, I've attached a screenshot of my used settings.
Can this bug severity/importance/priority be raised to the maximum? This bug can lead to data loss. Can you walk me through how this has or would cause data loss? I don't immediately see how Firefox starting with more tabs than desired would do that. Can we also try to narrow this down with some other apps. I was testing kate open with unsaved changes and it seemed to prompt. If it's just firefox crashing, then it could be a firefox issue. In my case I noticed OBS Studio also prompting me due to a non-clean shutdown after a restart. So far I have not been able to get an instance where data loss would occur, but since apps are technically crashing, I believe this can indeed induce to data loss in some context. Update: I cannot reproduce the issue anymore, but now I am on Arch Linux (installed KDE via archinstall). On Fedora I believe it still happens. The Firefox issue seem something that has existed for more than a decade now. I believe the problem is with how Firefox handles SIGTERM rather than KDE being the culprit. If you guys think a separate issue should be filled for the Firefox thing, let me know. But I will close this since it seems KDE is not the culprit. Instead, Fedora seems to be one in question here. |