Bug 468704

Summary: Session actions stop working after using nested Wayland compositor
Product: [Plasma] plasmashell Reporter: Aleksey Samoilov <samoilov.lex>
Component: Session ManagementAssignee: David Edmundson <kde>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null, postix
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.24.0   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aleksey Samoilov 2023-04-20 07:07:18 UTC
SUMMARY
***
After launch Sway as a nested Wayland compositor in Plasma Wayland session, I can no longer use session menu. Nor "Logout', nor "Reboot", doesn't work. For example, I press the "Shutdown" button - and nothing happens. Same result if running Sway in Plasma X11 session.
***


STEPS TO REPRODUCE
1. Check that session menu (logiut, reboot, etc) is work;
2. Run Sway  with 'sway -c /etc/sway/config' command;
3. Close Sway and try to logout or reboot system with session menu

OBSERVED RESULT

Session menu doesn't work

EXPECTED RESULT

Session menu should appear as usual (fullscreen menu with options to logout, reboot, shutdown, etc)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian Bookworm
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Aleksey Samoilov 2023-04-20 07:11:36 UTC
This is messages after launching nested Sway:

amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.054 [wlr] [types/wlr_drm_lease_v1.c:705] No DRM backend supplied, failed to create wlr_drm_lease_v1_manager
00:00:00.072 [wlr] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
2023-04-20 10:56:47 - [main.c:293] Found config * for output WL-1 ((null))
00:00:00.026 [swaybar/tray/host.c:24] Registering Status Notifier Item ':1.43/StatusNotifierItem'
00:00:00.026 [swaybar/tray/host.c:24] Registering Status Notifier Item ':1.61/StatusNotifierItem'
Comment 2 Nate Graham 2023-04-20 16:21:01 UTC
Can confirm.