mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Proxy settings: closing or resetting the page silently discards unsaved changes #1065
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#1065
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?
On
qt6at6e54a48ab571, the Proxy page warns about unsaved changes when using its Back button, but several other exits discard the same edits without asking.Reproduction
10.0.0.7:9050. Leave the changes unsaved.Two other exits reproduce the same problem:
-disablewallet), make unsaved Proxy edits and click Done to close Settings.As a control, the Proxy page's own Back button shows Discard changes?, and Cancel preserves the edits.
Cause
The draft lives in the Proxy page. Its Back handler checks for unsaved changes, but the sidebar reset, Settings Done action and onboarding close path can destroy that page without consulting the check.
Expected behavior
Every exit that would discard Proxy edits should ask for confirmation or preserve the draft. Cancelling the exit should keep the entered values.
The Wallet-settings navigation path fixed by #1049 now preserves these edits; this report covers the remaining exits above.