Bug 420243 - plasmashell --standalone --shell-plugin=org.kde.plasma.networkmanagement does not display anything when run from Sway WM / Wayland
Summary: plasmashell --standalone --shell-plugin=org.kde.plasma.networkmanagement does...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.18.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2020-04-18 12:16 UTC by Dennis Schridde
Modified: 2022-01-12 16:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2020-04-18 12:16:17 UTC
SUMMARY
Plasmoids do not show up when trying to start them from Sway WM / Wayland.

STEPS TO REPRODUCE
1. Start a Sway WM session from SDDM
2. Open a terminal and execute `plasmashell --standalone --shell-plugin=org.kde.plasma.networkmanagement`
3. Wait until "Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.")" shows up on the terminal

OBSERVED RESULT

No window or system tray icon for the Network Management Plasmoid.

EXPECTED RESULT

A window for the Network Management Plasmoid pops up or a systray icon shows up.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.4
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13.5 GiB of RAM
Sway Version: 1.4

ADDITIONAL INFORMATION

The same happens with `plasmashell --standalone --shell-plugin=org.kde.plasma.systemtray`.

I have `exec dex -a` in ~/.config/sway/config, which makes a bunch of icons (including Klipper, KAlarm, KOrganizer, ...) show up in the systray, but not network management.
Comment 1 Dennis Schridde 2020-04-18 12:17:25 UTC
P.S. "Wait until ... shows up in the terminal" takes about 30s.  Then after another loooong time the following shows up:
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Invalid home screen package
Comment 2 Vlad Zahorodnii 2022-01-12 16:07:26 UTC
Plasma needs a couple of kde components running such as kglobalaccel, which as far as I know sway doesn't implement. Besides that, sway would need to implement a couple of plasma-specific protocols, e.g. for window management and plasma shell surface.