Skip to content

fix: react to network changes while idle and skip disabled picker versions - #595

Merged
geodro merged 1 commit into
mainfrom
fix/post-1.25-dns-idle-picker-nav
Jun 22, 2026
Merged

fix: react to network changes while idle and skip disabled picker versions#595
geodro merged 1 commit into
mainfrom
fix/post-1.25-dns-idle-picker-nav

Conversation

@geodro

@geodro geodro commented Jun 22, 2026

Copy link
Copy Markdown
Member

Refs #594

The DNS watcher routed a host network change through the same idle backoff as the routine poll, so a VPN connect or disconnect or a wifi switch was dropped roughly nine times out of ten whenever the session was idle or the screen was locked. That is exactly when those events fire, a laptop waking from sleep and reconnecting on the lock screen, so containers were left on the stale resolver until the next every-tenth poll. A link-triggered tick now bypasses the backoff and re-probes immediately while the routine timer keeps backing off to save battery.

The TUI version picker moved its cursor with bare increments while the modal was open, with no skip over disabled out-of-range versions, because the skip logic only lived in the moveCursor branch that the modal key handler never reaches. The arrows could park on a dimmed version and pressing enter then silently did nothing. The skip now lives in a shared movePickerCursor helper used by both paths, and home and end land on the first and last selectable version.

…sions

The DNS watcher routed a host network change through the same idle backoff as the routine poll, so a VPN connect or disconnect or a wifi switch was dropped roughly nine times out of ten whenever the session was idle or the screen was locked. That is exactly when those events fire, a laptop waking from sleep and reconnecting on the lock screen, so containers were left on the stale resolver until the next every-tenth poll. A link-triggered tick now bypasses the backoff and re-probes immediately while the routine timer keeps backing off to save battery.

The TUI version picker moved its cursor with bare increments while the modal was open, with no skip over disabled out-of-range versions, because the skip logic only lived in the moveCursor branch that the modal key handler never reaches. The arrows could park on a dimmed version and pressing enter then silently did nothing. The skip now lives in a shared movePickerCursor helper used by both paths, and home and end land on the first and last selectable version.
@geodro
geodro merged commit 86aae67 into main Jun 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant