Skip to content

qt: unloading a wallet during a fee bump or Send preparation still joins the worker on the GUI thread (#326 follow-up) #356

Open

Description

@kiwidream

Summary

#344 fixes #326 for PSBT signing: unloading a wallet during signing no longer discards the signed PSBT. Two other cases that #326 describes remain:

  • Unloading during a fee bump's progress dialog makes ~WalletModel join the bump worker on the GUI thread (finishBumpFeeThread) for the rest of the signing and commit, with no progress UI.
  • Unloading during Send preparation makes ~SendCoinsDialog join the prepare worker. This already happened in v1.0.0.

Observed

Impact

Low. An unloadwallet call, or closing the wallet, at the wrong moment freezes qbit-qt for the rest of the signing, which takes seconds per P2MR input, and shows no feedback. The fee bump still commits, and its PQC counters are consumed.

Suggested fix

Either narrow the QProgressDialog exemption so it no longer covers qbit's worker progress dialogs, deferring the unload until the worker reports, or cancel or detach these workers on unload as #344 does for PSBT signing. Add a test at the WalletController level.

Related: #326, which #344 is expected to close; #344, #145, #167.

Activity

  1. added
    bug
    on Nov 5, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions