Receive: Selecting the current wallet clears the unsaved request #1030

Closed
opened 2026-10-15 06:32:45 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-10-15 06:32:45 +00:00 (Migrated from github.com)

Selecting the wallet that’s already active clears the Receive form for me.

Reproduced on native macOS / Qt 6.9.0, qt6 at d567e3eb2497, using a disposable regtest wallet.

  1. Select a wallet and open Receive.
  2. Enter an amount, message and note to self. Enable the fields under Customize if needed, and leave the request unsaved.
  3. Open the wallet picker and click the same, already-selected wallet.

The amount, message and note are cleared, even though the wallet hasn’t changed. I repeated this twice. Opening the picker and dismissing it with Escape keeps the draft.

setSelectedWallet() emits selectedWalletChanged even when the selected model is unchanged, so Receive runs its wallet-change cleanup. Selecting the current wallet should just close the picker and leave the draft alone.

Related to #992, though this needs no wallet switch or stale menu action.

Selecting the wallet that’s already active clears the Receive form for me. Reproduced on native macOS / Qt 6.9.0, `qt6` at [d567e3eb2497](https://github.com/bitcoin-core/gui-qml/commit/d567e3eb2497df3be5d63f4dc1f554b3bf51f59f), using a disposable regtest wallet. 1. Select a wallet and open Receive. 2. Enter an amount, message and note to self. Enable the fields under Customize if needed, and leave the request unsaved. 3. Open the wallet picker and click the same, already-selected wallet. The amount, message and note are cleared, even though the wallet hasn’t changed. I repeated this twice. Opening the picker and dismissing it with Escape keeps the draft. `setSelectedWallet()` emits `selectedWalletChanged` even when the selected model is unchanged, so Receive runs its wallet-change cleanup. Selecting the current wallet should just close the picker and leave the draft alone. Related to #992, though this needs no wallet switch or stale menu action.
Sign in to join this conversation.
No description provided.