Summary: | Plasma does not close Chromium broswers running under Xwayland on logout | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Jakub <jjaruszewski> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adam.m.fontenot+kde, dev+kde, equeim, jjaruszewski, john.kizer, L.Bonnaud, miranda, nate, whyhow+tech |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=477573 https://bugs.kde.org/show_bug.cgi?id=461176 https://bugs.kde.org/show_bug.cgi?id=499423 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jakub
2023-11-26 19:23:18 UTC
ksmserver is supposed to close XWayland windows. Is this a recent regression, or has that never worked for you? (In reply to Nate Graham from comment #1) > ksmserver is supposed to close XWayland windows. Is this a recent > regression, or has that never worked for you? It's a fresh install of KDE Neon Unstable. I did some more testing comparing Plasma 6 and Plasma 5. Behavior of Plasma 5 is consistent - always closes all XWayland apps and Wayland apps are killed Bahavior of Plasma 6 is not - I've noticed this issue with Chromium based browser (Brave) running on Xwalyand - if the browser (xwayland) is the only running window it's not closed at all (regression from Plasma 5) - if there is at least one more native window (so for example browser (xwayland) window + kde settings (wayland) window), then all windows will close on logout, but the browser will not prompt before closing (and it should while having mutiple tabs) - but the issue is not present for every Xwayland app. For example OnlyOffice Desktop Editions (which is still on xwayland) will always close correctly AND ask for a confirmation if there is unsaved work If the browser is running on native Wayland it will properly close and ask for confirmation before closing Thanks! So is Chromium the only XWayland app that gets killed instead of prompting when other windows are open? Can you try with other XWayland-using apps too? Yes, it's only chroium browsers running Xwayland And are you still able to reproduce it with Neon Unstable that's up-to-date with the latest code? A number of plasam session changes were made recently that could have affected this. I am still able to reproduce this on newest Neon Unstable with all updates installed (19.03.2024), although this time it's on VM since I'm no longer using KDE Neon on my machine (but still Plasma 6 ;) I can reproduce this with other XWayland apps like Intellij IDEA. Also if run GTK app like gedit with GDK_BACKEND=wayland it will be terminated with "save file" prompt. Just to check - for the original reporter, does this bug still reproduce in the same way for you? I was looking at https://bugs.kde.org/show_bug.cgi?id=499423 and could reproduce that issue on a Neon VM. I also saw Chromium browsers not prompt to close windows, as you reported here - but I tried installing OnlyOffice via Flatpak, and it did not successfully prompt about unsaved work (where it seems like it did for you). Based on that, I'm wondering if perhaps it's the same issue that's manifesting differently now, or if a similar-but-distinct issue has cropped up separately? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |