mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Send: an old Paste confirmation can overwrite a newer payment request #1067
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#1067
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, accepting a new payment request through the native File menu leaves an earlier Confirm paste? popup active. Its Paste action can then overwrite the newly accepted request.Reproduction
On macOS, using distinct valid regtest addresses:
bitcoin:<address-A>?amount=0.2&label=older-pasteand paste it into the address field. Leave Confirm paste? open.bitcoin:<address-B>?amount=0.3&label=newer-import.newer-import, but the earlier Paste confirmation remains open.older-paste.This happens within the same wallet. The subsequent transaction review correctly shows A and 0.2 BTC, and nothing is broadcast automatically. The defect is that a confirmation for an earlier draft remains actionable after another request replaces it.
Cause
The pending clipboard request and its confirmation survive acceptance of the newer request. Clicking Paste applies the stored older request to the current Send form.
Expected behavior
Accepting another payment request should clear the pending paste and close its confirmation. A stale confirmation must not overwrite the replacement draft.
Simply opening and cancelling the URI dialog should preserve the original pending paste.
Related #1048 is closed and covers the fixed Use all available funds? warning. This report concerns the separate Confirm paste? action, which still reproduces.