mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
Send flow: the note field is never persisted, and it is actually the recipient label #904
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#904
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?
The Send page collects a "Note to self" into the recipient's label field (qml/pages/wallet/Send.qml, sendNoteField writes recipient.label), but the send path never stores it: sendTransactionInternal commits the transaction without the setAddressBook call the Widgets GUI performs after a successful send (src/qt/walletmodel.cpp, SendCoins stores the label as a send-purpose address book entry). The text the user typed is silently dropped, and the Activity row for the sent transaction shows the bare address even though the user provided exactly the text that should title it.
The naming compounds it: the field says "Note to self" (private-sounding) but is functionally the recipient/address label, and is even prefilled from a scanned BIP21 URI's label, which is authored by the payee.
Suggested fix: store the label as a send-purpose address book entry after a successful send (Widgets parity; the existing address book refresh then titles the Activity row), and retitle the field for what it is, for example "Recipient" or "Their name", with its visibility/source marked the way the receive-side fields now mark theirs.