| Summary: | Clean shutdown of Chrome on logout/shutdown under Wayland makes Chrome think it crashed | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Jason <jbut> |
| Component: | Startup process | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | jbut, kde, kdedev, nate |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 6.5.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jason
2026-01-14 03:57:30 UTC
Ultimately, this will be solved by the work being done on proper application content and state save and restore, tracked in bug 436318 Unfortunately, KDE has no control over whether Chrome properly restores it's tabs when it's killed. That's up to Chrome, and this bug should be reported to the Chrome developers. I do see a problem with Chrome not shutting down properly on Plasma built from git-master, using Wayland. I set it to "continue where you left off" at startup. After logging out and back in, Chrome popped up the error that it wasn't shut down properly and offered to restore my tabs, which was successful. The potentially actionable thing for KDE would be to figure out why Chrome is being shut down in a way that makes it think it crashed. Thank you Tracey While ultimately this would be best, there are really two issues here. ======== ISSUE 1 The first one is why does the stop script that works 100% under KDE-X11 have three different outcomes occurring randomly under KDE_wayland? This part of the issue must surely be a KDE problem. How the shutdown script behave differently under wayland only. To repeat myself 1a) killall -9 chrome (at the Konsole terminal) 1b) logout/shutdown Results in Chrome complaining on startup, but at least allowing a restore of previously open tabs 2a) logout/shutdown 2b) auto-execution of logout script which executes (1a) above followed by a sleep Results in 33% chance Chrome complaining on startup but allowing a restore, 33% chance Chrome complaining on startup but allowing a partial restore, 33% Chrome NOT complaining on startup but not allowing any restore Like I mentioned previously, bug 436318 would be the ideal fix, but in the meantime there is something "strange" happening with the auto-execution of logout scripts, but only under wayland ======== ISSUE 2 Resolvable by bug 436318 I am not saying this just a KDE issue, there is obviously something with Chrome misbehaving as well. But surely one of the main software packages not closing down properly is a serious enough issue that it is worth looking at? |