Skip to content

qt: fee-bump PQC usage is dropped when no notification backend is available #168

Closed

Description

@kiwidream

Report

#141 makes the Qt fee-bump flow report the PQC signature capacity a signing attempt consumed. On success with a healthy (non-warning) report, that report is emitted as a non-modal MSG_INFORMATION message, which BitcoinGUI::message() routes to Notificator.

When Notificator has no backend — no DBus, no system tray, and not macOS — Notificator::notify() falls through to its default branch, which only raises a dialog for Critical. An Information message is discarded with no fallback, so on such a system a successful fee bump reports nothing about the capacity it just consumed.

The wallet's own accounting is not lost: the per-key counters are durable and remain queryable through getaddressinfo (pqc_signature_count). Reports that carry warnings are sent as MSG_WARNING, which is modal, so the cases that call for user action are still shown. What is missing is an unobtrusive but reliable in-app surface for the healthy case.

Making the success message modal would fix the visibility but put a dialog in front of the user after every successful fee bump, which is why #141 deliberately kept it non-modal.

Suggested fix

Give consumed PQC usage a durable in-app surface that does not depend on a notification backend — for example on the transaction record for the replacement transaction, or a status area in the wallet view — and have the fee-bump success path write there instead of relying solely on a transient notification.

Raised by two independent reviews of #141 (see #167).

Activity

  1. added a commit that references this issue on Sep 25, 2026
    6fba6e9
  2. kiwidream commented on Sep 25, 2026

    @kiwidream
    MemberAuthor

    Fixed by #177, merged into 1.x.x as 6fba6e9. Merging into 1.x.x didn't close this automatically because it isn't the default branch.

    After a successful fee bump, the transaction view now shows a durable, dismissible panel with the consumed PQC usage. The panel is labelled with the replacement txid and the time, and it doesn't depend on Notificator. The existing non-modal and modal messages are unchanged. TestFeeBumpSuccessKeepsUsageVisible covers the case where no notification backend is available, and it fails on the base code.

    Not yet verified: a real desktop session with no DBus or tray. That's tracked in the #174 release smoke checks.

  3. added a commit that references this issue on Nov 12, 2026
    0954b74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions