PSBT Save silently writes nothing after a wallet change #1026

Closed
opened 2026-10-15 03:50:05 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-10-15 03:50:05 +00:00 (Migrated from github.com)

Switching wallets can close the transaction review while leaving its native Save dialog open. Clicking Save then produces no PSBT and no error.

  1. Load regtest wallets A and B, with spendable funds in A and a working fee estimate or fallback fee.
  2. In A, enter a valid recipient and amount, then open Review Transaction → Save transaction.
  3. Leave the native Save dialog open.
  4. Through the GUI’s RPC server, run unloadwallet "A" false.
  5. Wait for the review to close, then save to a new filename in a writable directory.

The dialog closes, but no file is created. I also reproduced this by loading another wallet while the dialog was open. A normal save to the same directory produced a valid PSBT.

The review clears its wallet when it closes, and the later save just returns without doing anything. We should cancel and invalidate the file dialog along with the review so it doesn’t offer a Save that can no longer work.

Tested on qt6 at d567e3eb2497, native macOS / Qt 6.9.0. Related to #992 and #975; this is the export counterpart to the import case in #1012.

Switching wallets can close the transaction review while leaving its native Save dialog open. Clicking Save then produces no PSBT and no error. 1. Load regtest wallets A and B, with spendable funds in A and a working fee estimate or fallback fee. 2. In A, enter a valid recipient and amount, then open Review Transaction → Save transaction. 3. Leave the native Save dialog open. 4. Through the GUI’s RPC server, run `unloadwallet "A" false`. 5. Wait for the review to close, then save to a new filename in a writable directory. The dialog closes, but no file is created. I also reproduced this by loading another wallet while the dialog was open. A normal save to the same directory produced a valid PSBT. The review clears its wallet when it closes, and the later save just returns without doing anything. We should cancel and invalidate the file dialog along with the review so it doesn’t offer a Save that can no longer work. Tested on `qt6` at `d567e3eb2497`, native macOS / Qt 6.9.0. Related to #992 and #975; this is the export counterpart to the import case in #1012.
Sign in to join this conversation.
No description provided.