Bug 413696 - Existing network connection unnecessarily disconnects and reconnects after login
Summary: Existing network connection unnecessarily disconnects and reconnects after login
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-01 07:41 UTC by dianlujitao
Modified: 2024-12-23 18:23 UTC (History)
2 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 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