Bug 468704 - Session actions stop working after using nested Wayland compositor
Summary: Session actions stop working after using nested Wayland compositor
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.24.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2023-04-20 07:07 UTC by Aleksey Samoilov
Modified: 2024-04-24 13:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.