Summary: | Applications don't prompt to save unsaved work when logging out on Wayland, causing data loss | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | John Brooks <john> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | critical | CC: | alex765, butirsky, christian.rohmann, fedin-ilja2010, freisim93, hoperidesalone, hubert.ziebicki, jlp, kde-01, L.Bonnaud, miranda, nate, plasma-bugs, postix, tbondvagyok, tobi.goergens, whyhow3.141 |
Priority: | NOR | Keywords: | usability, wayland |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Archlinux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
John Brooks
2022-10-29 22:30:38 UTC
Can reproduce. Marking as Critical as this can cause unexpected data loss, and adding it to https://community.kde.org/Plasma/Wayland_Showstoppers. Thank you, Nate. Does anyone have an idea for a path forward for this? I believe this is what is responsible for shutdown handling functionality in Xorg: https://www.x.org/releases/current/doc/libSM/SMlib.html Something similar needs to be standardized for Xorg-less environments. Implementing missing parts of the Inhibit portal in xdg-desktop-portal-kde may be of good help to this. It currently supports inhibiting, but not monitoring state of the session. https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.impl.portal.Inhibit https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/inhibit.cpp And maybe getting a client implementation of the Inhibit portal in Qt https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Inhibit *** Bug 467142 has been marked as a duplicate of this bug. *** |