mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Wallet creation/import: Go to wallet can open a different wallet #1028
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#1028
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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,
qt6at 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
loadwallet "C" false. C becomes selected.This opens C’s Activity, even though A was just created and is still loaded.
After importing a wallet
unloadwallet "A" false. B becomes selected.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.