Repository navigation
Keep the Wi-Fi icon steady on OWE transition-mode networks - #14133
Merged
Merged
Conversation
An OWE transition-mode network pairs an open SSID with a hidden "_owetm_" twin on the same BSSID. Between scans NetworkManager reports the in-use access point under the hidden SSID and drops the active profile from the device's AvailableConnections, which is the only place Quickshell builds known networks from. No listed network is then connected, so the bar fell back to the disconnected icon until the next scan brought the open SSID back, flickering on and off while the link stayed up. Fall back to the Wi-Fi device's own connected state when no listed network is connected, and read the in-use access point's strength from nmcli (without a rescan) while the connected network has none of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Bump a generation whenever the cached in-use access point strength stops describing the link (leaving Wi-Fi or a device change), and drop any nmcli read started before it, re-reading immediately instead of a full interval later. Key Wi-Fi connectivity checks on the device rather than the SSID, so the listed network coming and going with each scan on an OWE transition-mode network no longer schedules a check. A real network switch still passes through "disconnected". Add a QML fixture that runs the panel against a mocked device through the scan churn, a mid-read disconnect, and a final disconnect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 11, 2026
20 of 34 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On an OWE transition-mode network (an open SSID paired with a hidden
_owetm_twin on the same BSSID), the bar's Wi-Fi icon flips between the disconnected glyph and signal bars every scan cycle, even though the link never drops.Cause
Between scans NetworkManager reports the in-use access point under the hidden
_owetm_…SSID. Because no visible AP matches the profile's SSID, it also drops the active profile from the device'sAvailableConnections(ao 0), and that list is the only place Quickshell builds known networks from. SowifiDevice.networkslists no connected network,connectedWifiNetworkis null, andkindfalls to"disconnected". When the next scan makes the open SSID visible again, the profile comes back and the icon returns. Then the APs age out and it drops again.Seen with Quickshell 0.3.1 debug logs: only
Registered network for SSID "_owetm_Chateau Elan714029536", never the profile's SSID, whileDevice.connectedstaystruethroughout.Fix
disconnected.NetworkDevice.connected, which is only true in the Connected state), keepkindat"wifi".nmcli -t -f IN-USE,SIGNAL device wifi list ifname <dev> --rescan no. It polls every 5s, and only in that state, so normal networks pay nothing and it never triggers a scan.Verification
test/shell.d/network-owe-transition-test.shruns the real panel against a mocked device and a stubbednmclithrough the scan churn, a disconnect while a read is in flight (the stale read is discarded), and a final disconnect. It fails if the device fallback or the stale-read guard is removed.test/shell.d/network-test.shfor the device fallback, the strength fallback, and nmcli parsing. The network suites pass.Model.jsagainst real NetworkManager state for 90s with a forced rescan at 30s:disconnected , new logicwifi/63 wifi/74 codex review: no actionable findings../test/shell: 4069 pass. The 7 failures (config,elsewhen-migration,kernel-headers-migration,passwordless-grant-lifecycle,snapper,unowned-system-paths, and the network portal fixture) fail identically on a cleanquattrocheckout. They need anomarchy-pkgscheckout or hit a portal app-ID clash in a live session.No before/after screen capture: I didn't swap the running desktop shell over to this branch. The probe output above shows the icon each version computes.
🤖 Generated with Claude Code