mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:18:39 +00:00
Focus current password field first when updating wallet password #712
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#712
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When opening Wallet Password Settings in update-password mode, the current-password field appears first, but keyboard focus is assigned to the new-password field.
The current password field is shown near the top of
WalletPasswordSettings.qml, whilefocus: trueis hard-coded on the new-password field. This means users can start typing into the wrong field when changing an existing wallet password.Expected behavior
When updating an existing wallet password, the current-password field should receive initial focus.
When setting a password for an unencrypted wallet, the new-password field should continue to receive initial focus.
Notes
Raised as a follow-up from review of #551: https://github.com/bitcoin-core/gui-qml/pull/551#pullrequestreview-4310727801
Relevant code:
qml/pages/wallet/WalletPasswordSettings.qml: current-password field and new-password field focus behavior