mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Addresses: Open details stay stale after receiving a payment #1041
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#1041
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?
I can leave Address details showing an unused address with zero funds after it has received a confirmed payment. The wallet balance updates, but the dialog still offers Create payment request. Following that action then saves a request for a different address in the same wallet, without explaining the change.
Reproduced on
qt6at d567e3eb2497, native macOS / Qt 6.9.0, with disposable regtest wallets.To reproduce:
As a control, closing the dialog, enabling Show used addresses and reopening the same address shows 0.002 BTC and hides the creation button. Without a payment arriving, creating a request from Address details preserves the selected address.
AddressList.qml copies the amount and used status when opening the dialog, but doesn't refresh them when the model changes. We should keep those details current and recheck the selected address before starting request creation. If it has become unavailable, tell the user instead of silently switching addresses.
Related to #914. Also relevant to #990, although this reproduces on
qt6independently of that PR.