The "Sent to yourself" Activity filter can never match anything #907

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

Nothing in gui-qml ever sets Transaction::SendToSelf. Transaction::fromWalletTx decomposes a self-payment into a Sent part and a Received part sharing one txid, matching current Core (src/qt/transactionrecord.cpp has the same decomposition and no SendToSelf type at all; the type was dropped upstream while gui-qml kept the enum member and built a filter option on it). Selecting "Sent to yourself" in the Activity type filter therefore always yields an empty list, and its CSV export label is unreachable.

Fixing it is a decision rather than a mechanical change: either drop the filter option (matches Core's current rendering, visible UI change) or reintroduce self-payment detection (a deliberate divergence from Core). A user who paid their own address will reasonably select this filter and conclude the transaction is missing.

Nothing in gui-qml ever sets Transaction::SendToSelf. Transaction::fromWalletTx decomposes a self-payment into a Sent part and a Received part sharing one txid, matching current Core (src/qt/transactionrecord.cpp has the same decomposition and no SendToSelf type at all; the type was dropped upstream while gui-qml kept the enum member and built a filter option on it). Selecting "Sent to yourself" in the Activity type filter therefore always yields an empty list, and its CSV export label is unreachable. Fixing it is a decision rather than a mechanical change: either drop the filter option (matches Core's current rendering, visible UI change) or reintroduce self-payment detection (a deliberate divergence from Core). A user who paid their own address will reasonably select this filter and conclude the transaction is missing.
Sign in to join this conversation.
No description provided.