mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Used-address payment requests are not shown in Activity under the Payment request filter #726
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#726
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?
Summary
On current
origin/qt6(fetched locally tof9e22ad41c), payment requests for already used addresses are visible in Activity details, but they are not surfaced as Activity rows when the Payment request filter is selected.This leaves the implementation only halfway to the behavior described in the PR review discussion.
Surfaced by review comment:
https://github.com/bitcoin-core/gui-qml/pull/708#discussion_r3295457321
Current behavior
Expected behavior
If the intended policy is that payment requests for already used addresses should only appear in the Activity list when the Payment request filter is selected, then those requests still need to be materialized in the Activity model in a way that the filter can expose them.
Likely gap in the current code
ActivityListModel::addPendingReceiveRequests()skips any receive request whose address already exists in activity:So used-address requests never become rows in
ActivityListModel.ActivityFilterProxyModelonly classifies/filter rows that already exist. In particular, it maps rows withIsPendingRequestRoletoPaymentRequest, but it does not synthesize rows for used-address requests.Relevant code paths
qml/models/activitylistmodel.cppaddPendingReceiveRequests()transactionDetails()qml/models/activityfilterproxymodel.cppfilterTypeForIndex()qml/pages/wallet/ActivityDetails.qmlqml/pages/wallet/Activity.qmlNotes
The details-side support already exists via
matchingEntriesForAddress(...), so this seems specifically like a model/list-visibility gap rather than a missing details implementation.Working on this.