mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Wallet open: show load progress, warnings, and errors from wallet selection #618
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#618
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?
Code Gap
Selecting a closed wallet from the wallet selector can trigger an async wallet load. The controller tracks
walletLoadInProgress,walletLoadWarnings, andwalletLoadError, but the selector/app-shell path does not present a clear loading, warning, or failure state for normal wallet-open attempts.The popup closes immediately, so an open failure can be easy to miss or appear as no action.
Work Needed
I'll take this up.
The warning-presentation part of this issue remains unresolved on
qt6at6e54a48ab571.Core returns wallet warnings and
WalletQmlControllerstores them inwalletLoadWarnings, but no QML view displays that property. A successful wallet operation therefore hides information Core intended the user to see.To reproduce with a disposable regtest profile:
-fallbackfee=0.02 -walletrbf=1.Importing a wallet backup has the same result. In all three paths, the controller contains both warnings, while the success page, wallet view and node-warning popup omit them. The equivalent RPC operations return them in
warnings; removing the warning-producing arguments removes those warnings.The remaining work is in QML's result presentation: show returned warnings alongside a successful create, open or import, with the affected wallet identified. A warning should not turn a successful operation into an error.
#727 addressed loading states and failures, but this warning-only case remains. The import changes in #986 still store the warnings without displaying them. This reproduction uses normal writable settings and does not depend on
-nosettings.