https://bugs.kde.org/show_bug.cgi?id=514571
Jan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Jan <[email protected]> --- I can confirm / reproduce this issue on: - KDE Plasma **6.4.5** (Wayland / kwin_wayland) - Distribution: Kubuntu 25.10 (Questing Quokka) - Kernel: 6.17.0-8-generic - Hardware: Dell Precision 5560 laptop with Intel UHD Graphics + NVIDIA RTX A2000 Mobile (driver 580.95.05 non-free) - Browser: Official Google Chrome Stable (.deb package from Google repo, not Flatpak/Snap) Behavior matches the randomness described: - Using a custom user systemd service (runs before logout/shutdown) with SIGTERM + sleep + fallback SIGKILL. - Service finishes successfully (see attached anonymized log excerpt). - On next login/start → ~random unclean exit detection by Chrome: - Sometimes full crash dialog + restore all tabs - Sometimes partial restore (some tabs missing, not even in history) - Sometimes no dialog + no tabs restored at all Switching to X11 session (via SDDM) → consistent behavior (crash dialog + full restore possible). Additional notes: - The service uses pkill -15 (SIGTERM) first, then sleep 4s, then -9 if needed. - Preferences file after unclean exit shows "exited_cleanly": false and "exit_type": "Crashed". - Tested with hardware acceleration enabled (NVIDIA involved) – no change when temporarily disabled. - No other extensions or unusual flags active. Attached: - anonymized excerpt from kde-session-shutdown.log (shows service run + session stop sequence) - (optional) screenshot of the Chrome restore dialog, if you want to add one Happy to test patches, alternative shutdown methods (e.g. different signals, longer timeouts in ksmserverrc), or provide more details. This seems to be a real Wayland-specific interop issue between ksmserver / session management and Chromium's shutdown detection. [Beispiel-Zeitstempel] systemd[...]: Starting chrome-clean-shutdown.service - Gracefully stop Google Chrome before logout/reboot... [Beispiel-Zeitstempel] systemd[...]: Finished chrome-clean-shutdown.service - Gracefully stop Google Chrome before logout/reboot. ... [Logout-Zeitstempel] dbus-daemon[...]: Activating service name='org.kde.LogoutPrompt' ... [Logout-Zeitstempel] dbus-daemon[...]: Successfully activated service 'org.kde.Shutdown' [Logout-Zeitstempel] systemd[...]: Stopped target graphical-session.target - Current graphical user session. [Logout-Zeitstempel] systemd[...]: Stopping plasma-ksmserver.service - KDE Session Management Server... [Logout-Zeitstempel] systemd[...]: Stopped plasma-ksmserver.service - KDE Session Management Server. [Logout-Zeitstempel] systemd[...]: Reached target exit.target - Exit the Session. -- You are receiving this mail because: You are watching all bug changes.
