Send flow: the note field is never persisted, and it is actually the recipient label #904

Closed
opened 2026-09-18 17:47:07 +00:00 by epicleafies · 0 comments
epicleafies commented 2026-09-18 17:47:07 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No description provided.