Bug 476323 - "No connections found" after restarting NetworkManager 1.44
Summary: "No connections found" after restarting NetworkManager 1.44
Status: RESOLVED DUPLICATE of bug 471870
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.27.9
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-30 12:03 UTC by K900
Modified: 2023-10-30 13:20 UTC (History)
1 user (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 K900 2023-10-30 12:03:19 UTC
SUMMARY

When running NetworkManager 1.44 and plasma-nm, and restarting NetworkManager (e.g. with `systemctl restart NetworkManager`), the plasma-nm applet enters a weird state where it always shows "No connections found", despite NM operating properly in the background. Restarting Plasma or the applet (if loaded separately) fixes it until the next NM restart.

Reported in NixOS: https://github.com/NixOS/nixpkgs/pull/263985
Also reported in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053707
Also similar issues reported in Arch: https://www.reddit.com/r/archlinux/comments/16in04o/plasma_nm_applet_does_not_show_any_networks_and/

STEPS TO REPRODUCE
1. Use NetworkManager 1.44
2. `systemctl restart NetworkManager`

OBSERVED RESULT
Applet shows "No connections found"

EXPECTED RESULT
Applet shows connections properly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS unstable
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.110
Qt Version: 5.11 + KDE patchsets

ADDITIONAL INFORMATION
This used to work fine with NM 1.42.x, so something must have changed in between 1.42.x and 1.44.0 that causes this behavior.
Comment 1 Nicolas Fella 2023-10-30 12:43:47 UTC
Thanks! There are other reports about this being broken, but that it's related to the NetworkManager version is new and very useful information

*** This bug has been marked as a duplicate of bug 471870 ***
Comment 2 K900 2023-10-30 12:48:27 UTC
I am actually not entirely sure this is the same bug - 471870 mentions the applet disappearing entirely, while at least in my case it is still there, just not listing connections.
Comment 3 Nicolas Fella 2023-10-30 13:20:35 UTC
There seem to be different symptoms for different people. For me the applet is there with no connections.

They may or may not have the same root cause, we'll see after investigating