Doesn't honor the "Connect Automatically with priority" setting
Description: NetworkManager doesn't honor the "Connect Automatically with priority" setting according to the official documentation at:
https://developer.gnome.org/NetworkManager/stable/nm-settings-nmcli.html
autoconnect-priority
The autoconnect priority. If the connection is set to autoconnect, connections with higher priority will be preferred. Defaults to 0. The higher number means higher priority.
Additional info:
-
package version(s) extra/networkmanager 1.32.0-1 extra/nm-connection-editor 1.22.0-1 KDE Frameworks 5.83.0 Qt 5.15.2 (built against 5.15.2) The xcb windowing system
-
config and/or log files etc.
-
link to upstream bug report, if any
Steps to reproduce: (From System Settings-->Network-->Connections)
-
Create a system-wide ("All users may connect...") wired ethernet DHCP connection with "Connect automatically with priority" enabled to 99
-
Create a system-wide wireless DHCP connection with "Connect automatically with priority" enabled to 75
-
Disable WiFi
-
Wait for wired connection to be up and running
-
Enable WiFi
Expected results: Wired connection stays up and running. Wireless connections doesn't come up.
Actual results: WiFi connection (lower priority) is established along with the wired one (higher priority).
Bug happens: 100% of the times