Bug 462454 - networks applet is gone if network manager is restarted in another user's session
Summary: networks applet is gone if network manager is restarted in another user's ses...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: 5.26.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 18:50 UTC by Vadym Krevs
Modified: 2025-06-23 22:28 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2022-11-30 18:50:30 UTC
STEPS TO REPRODUCE
1.  Create two users. Login as the first user.  Switch to the second user via Start -> Switch User.
2.  Open a root tab in Konsole, and restart NetworkManager via "systemctl restart NetworkManager"
3.  Switch back to the first user's session via Start -> Switch User.

OBSERVED RESULT
The Networks applet is gone  in the first user's session (after restarting NetworkManager in the second user's session) and there is no obvious way to bring it back.

EXPECTED RESULT
The Networks applet is still present in the first user's session (after restarting NetworkManager in the second user's session). There is also a simple command line command to bring it back.


SOFTWARE/OS VERSIONS
OS: openSUSE Leap 15.4
KDE Plasma Version: 5.26.4 
KDE Frameworks Version: 5.100.0
Qt Version:  5.15.7
Comment 1 Ben Cooksley 2024-12-23 18:25:56 UTC
Bulk transfer as requested in T17796
Comment 2 Nate Graham 2025-06-12 18:32:24 UTC
Can confirm. Will be fixed by https://invent.kde.org/plasma/plasma-nm/-/merge_requests/439.
Comment 3 Nate Graham 2025-06-23 22:28:43 UTC
Git commit eab27656bbd73b61e2d22a8255694123fb128ca7 by Nate Graham.
Committed on 23/06/2025 at 22:28.
Pushed by ngraham into branch 'master'.

applet: handle some more states

1. Looking for Wi-Fi networks but haven't found any yet
2. NetworkManager isn't running
Related: bug 485982
FIXED-IN: 6.5.0

| Looking for networks | NetworkManager not running |
| -------------------- | -------------------------- |
| ![looking_for_networks](/uploads/ffce210dae2fbca527226cb5e4f95e6a/looking_for_networks.png) | ![NM_not_running](/uploads/fb8286714842ea07f543528f45746c6b/NM_not_running.png) |

@teams/usability

M  +12   -3    applet/contents/ui/ConnectionListPage.qml
M  +2    -1    applet/contents/ui/Toolbar.qml
M  +0    -1    applet/metadata.json
M  +1    -1    libs/networkstatus.cpp
M  +1    -2    libs/networkstatus.h

https://invent.kde.org/plasma/plasma-nm/-/commit/eab27656bbd73b61e2d22a8255694123fb128ca7