Wallet creation/import: Go to wallet can open a different wallet #1028

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

Found another wallet-switching case while checking #992. The creation/import completion screen can stay open for one wallet, but its Go to wallet button takes you to another.

Reproduced on macOS, qt6 at d567e3eb2497. Run the RPC commands below from a terminal connected to the GUI’s node, so the completion screen stays open.

After creating a wallet

  1. Have wallet B loaded and an existing wallet C on disk but unloaded.
  2. Use Add wallet → Regular to create A. Leave Your wallet is ready open.
  3. Run loadwallet "C" false. C becomes selected.
  4. Click Go to wallet.

This opens C’s Activity, even though A was just created and is still loaded.

After importing a wallet

  1. With B loaded, use Add wallet → Import wallet to restore a backup as A.
  2. Leave Import complete open, showing A’s name.
  3. Run unloadwallet "A" false. B becomes selected.
  4. Click Go to wallet.

This opens B’s Activity. The completion screen was still showing A right up until the click, even though A had been unloaded.

Both completion paths just navigate to Activity using the current selection. We should keep the action tied to the wallet that was created/imported, and close or update the screen if that wallet is unloaded.

The creation page’s View file button also uses the current selection in the code. I couldn’t verify the Finder destination, so that part still needs a native check. Related to #949’s planned change to the backup guidance.

Found another wallet-switching case while checking #992. The creation/import completion screen can stay open for one wallet, but its **Go to wallet** button takes you to another. Reproduced on macOS, `qt6` at [d567e3eb2497](https://github.com/bitcoin-core/gui-qml/commit/d567e3eb2497df3be5d63f4dc1f554b3bf51f59f). Run the RPC commands below from a terminal connected to the GUI’s node, so the completion screen stays open. **After creating a wallet** 1. Have wallet B loaded and an existing wallet C on disk but unloaded. 2. Use Add wallet → Regular to create A. Leave **Your wallet is ready** open. 3. Run `loadwallet "C" false`. C becomes selected. 4. Click **Go to wallet**. This opens C’s Activity, even though A was just created and is still loaded. **After importing a wallet** 1. With B loaded, use Add wallet → Import wallet to restore a backup as A. 2. Leave **Import complete** open, showing A’s name. 3. Run `unloadwallet "A" false`. B becomes selected. 4. Click **Go to wallet**. This opens B’s Activity. The completion screen was still showing A right up until the click, even though A had been unloaded. Both completion paths just navigate to Activity using the current selection. We should keep the action tied to the wallet that was created/imported, and close or update the screen if that wallet is unloaded. The creation page’s **View file** button also uses the current selection in the code. I couldn’t verify the Finder destination, so that part still needs a native check. Related to #949’s planned change to the backup guidance.
Sign in to join this conversation.
No description provided.