Skip to content

Fix Wi-Fi password recovery after authentication failure - #10602

Open
cristianbica wants to merge 1 commit into
omacom:quattrofrom
cristianbica:fix/10406-wifi-password-recovery
Open

Fix Wi-Fi password recovery after authentication failure#10602
cristianbica wants to merge 1 commit into
omacom:quattrofrom
cristianbica:fix/10406-wifi-password-recovery

Conversation

@cristianbica

@cristianbica cristianbica commented Sep 7, 2026

Copy link
Copy Markdown

Closing the Wi-Fi panel while an incorrect password is being authenticated can leave it showing “Passphrase required” without a password field when reopened. The failure handler refreshes the row model, which can destroy the calling delegate before it opens the password prompt, producing a QML reference/type error.

Move password recovery into the panel-owned failure handler before refreshing the rows. The delegate now only forwards the failure. Add a regression test that invalidates the delegate during refresh and verifies credential recovery, action cleanup, and ignored unrelated failures.

Related to #10406. The missing password field was reproduced; the reported inability to forget the network was not reproduced.

Validation:

  • Network regression tests and QML text-format checks pass.
  • Reproduced before and verified after in an Omarchy 4.0.2 QEMU/KVM guest using two mac80211_hwsim virtual radios, hostapd WPA2, and DHCP.
  • After the fix, reopening restores password entry; entering the correct password connects and receives a DHCP address.

Investigation and screenshots

Before

before.mp4

After

after.mp4

@cristianbica
cristianbica marked this pull request as ready for review September 7, 2026 05:29
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