Skip to content

qt: Add "Hide conflicted" checkbox to Transactions tab#925

Open
w0xlt wants to merge 1 commit intobitcoin-core:masterfrom
w0xlt:hide_conflicted
Open

qt: Add "Hide conflicted" checkbox to Transactions tab#925
w0xlt wants to merge 1 commit intobitcoin-core:masterfrom
w0xlt:hide_conflicted

Conversation

@w0xlt
Copy link
Contributor

@w0xlt w0xlt commented Feb 1, 2026

Conflicted transactions can accumulate in the wallet over time. These transactions clutter the transaction list and cannot be filtered out.

While the Overview page already hides conflicted transactions using TransactionFilterProxy::setShowInactive(false), the Transactions tab has no equivalent option, forcing users to scroll through potentially many obsolete entries.

This PR adds a "Hide conflicted" checkbox to the Transactions tab filter row, allowing users to toggle visibility of conflicted transactions. The implementation reuses the existing setShowInactive() function.

Before:
Users must manually scroll past conflicted transactions with no filtering option.

After:
A checkbox in the filter row lets users hide conflicted transactions with one click.

image

Add a "Hide conflicted" checkbox to the Transactions tab filter row,
allowing users to hide conflicted transactions from the transaction list.
This reuses the existing TransactionFilterProxy::setShowInactive()
functionality that was already used by the Overview page.
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 1, 2026

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK pablomartin4btc
Approach NACK luke-jr

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@luke-jr
Copy link
Member

luke-jr commented Feb 2, 2026

Approach NACK. "Conflicted" should be reduced to an implementation detail IMO. Instead, I suggest hiding conflicted transactions by default after N blocks, and have an advanced setting (in the settings dialog?) to show them.

Copy link
Contributor

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

One thought: perhaps the Hide button should only appear when there are actually conflicted transactions present.

Alternatively, if Luke’s approach is preferred, it might be worth adding some visual indication (e.g. a label or status message) that conflicted transactions exist, or enabling a button/action to view them in a separate window.

Finally, if feasible, it would be great to include brief test instructions in the PR description, outlining how to verify the behavior before and after the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants