Bug 413696

Summary: Existing network connection unnecessarily disconnects and reconnects after login
Product: [Plasma] plasmashell Reporter: dianlujitao
Component: Networking in generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jgrulich, lueck
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dianlujitao 2019-11-01 07:41:47 UTC
SUMMARY
I have a Ethernet network connection with auto connect enabled and "Available to all users" checked, i.e., it's part of `/etc/NetworkManager/system-connections`, which means NetworkManager will automatically connect to the network before login from display manager (SDDM in my case). It works well, I can confirm my PC is online before login. However, right after login plasma-nm disconnects from it and reconnects right after that, I can even see the notification of connection status changed. This is obviously redundant and leads to bad UX, please fix it, thanks.

STEPS TO REPRODUCE
1. Create a network connection from plasma-nm GUI, check "Available to all users", and make sure NetworkManager.service is enabled.
2. Reboot
3. When reaching DM greeting, ping from another PC or router to make sure it's online.
4. Login as usual

OBSERVED RESULT
The connected network disconnects and reconnects, receiving notification from plasma-nm

EXPECTED RESULT
The previous connection keeps alive

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Jan Grulich 2019-12-17 12:39:59 UTC
I don't think this is a bug in plasma-nm, we don't automatically connect or disconnect, we are just a frontend basically. All this is happening in NetworkManager in the background.

Report this issue please to NetworkManager instead: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues
Comment 2 Ben Cooksley 2024-12-23 18:23:44 UTC
Bulk transfer as requested in T17796