AvengeMedia / AvengeMedia/DankMaterialShell
Network view selector should not change connection preference
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
In the Control Center, the `Ethernet | WiFi` selector controls both the displayed pane and the connection preference.
This means that simply switching to the Wi-Fi pane to browse or connect to a network changes the routing preference to Wi-Fi and rewrites NetworkManager profile priorities. Selecting Ethernet also hides the Wi-Fi list entirely.
The selector directly calls `setNetworkPreference()`:
https://github.com/AvengeMedia/DankMaterialShell/blob/8d9c9616051e71ce6e76544f735c1794ebd59339/quickshell/Modules/ControlCenter/Details/NetworkDetail.qml#L160-L167
The backend then updates autoconnect priorities and IPv4/IPv6 route metrics:
https://github.com/AvengeMedia/DankMaterialShell/blob/8d9c9616051e71ce6e76544f735c1794ebd59339/core/internal/server/network/priority.go#L107-L172
Expected behavior:
- The selector should only change the displayed pane.
- Browsing Ethernet or Wi-Fi should not modify routing preferences.
- Connection preference should be configured through a separate control.
Contributor guide
Research direction
Start in quickshell/Modules/ControlCenter/Details/NetworkDetail.qml around lines 160-167, then trace the related priority handling in core/internal/server/network/priority.go lines 107-172. Verify that switching panes changes only the displayed view, while routing preferences and NetworkManager priorities remain unchanged; preference configuration should remain separate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- desktop, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100