Wallet Close/Backup/Change Passphrase Actions #515

Closed
opened 2026-02-28 16:54:22 +00:00 by johnny9 · 3 comments
johnny9 commented 2026-02-28 16:54:22 +00:00 (Migrated from github.com)

Summary

Deliver missing wallet lifecycle actions: close wallet/close all, backup wallet, and passphrase change.

Complexity

  • L

Dependencies

  • 10
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Add close wallet and close all wallet actions in wallet selector/settings.
  • Complete backup flow from CreateBackup.qml and wallet settings actions.
  • Implement change-passphrase UX with old/new confirmation and lock-state handling.
  • Ensure selected wallet fallback behavior after close.

Acceptance Criteria (DoD-Aligned)

  1. User can close active wallet and close all wallets without app restart.
  2. Backup file export works and errors are surfaced.
  3. Change passphrase works with validation for wrong old passphrase and mismatch paths.

Required Tests

  • C++ unit tests: Unit tests for close/backup/passphrase adapters.
  • QML QTest: QTests for lifecycle dialogs and validation states.
  • Python E2E (qml/test/testbridge.h): E2E flow: create/import wallet -> backup -> change passphrase -> close wallet -> reopen wallet.

Implementation Notes

  • Keep lifecycle operations off UI thread; marshal completion back to UI safely.
## Summary Deliver missing wallet lifecycle actions: close wallet/close all, backup wallet, and passphrase change. ## Complexity - `L` ## Dependencies - `10` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Add close wallet and close all wallet actions in wallet selector/settings. - Complete backup flow from `CreateBackup.qml` and wallet settings actions. - Implement change-passphrase UX with old/new confirmation and lock-state handling. - Ensure selected wallet fallback behavior after close. ## Acceptance Criteria (DoD-Aligned) 1. User can close active wallet and close all wallets without app restart. 2. Backup file export works and errors are surfaced. 3. Change passphrase works with validation for wrong old passphrase and mismatch paths. ## Required Tests - C++ unit tests: Unit tests for close/backup/passphrase adapters. - QML QTest: QTests for lifecycle dialogs and validation states. - Python E2E (`qml/test/testbridge.h`): E2E flow: create/import wallet -> backup -> change passphrase -> close wallet -> reopen wallet. ## Implementation Notes - Keep lifecycle operations off UI thread; marshal completion back to UI safely.
GBKS commented 2026-03-23 10:56:49 +00:00 (Migrated from github.com)

The web wallet prototype has rename/close/remove implemented in the wallet selector UI. There are some things missing though. Do we need a separate "wallet settings" screen?

The [web wallet prototype](https://lively-kashata-cfde7e.netlify.app/screen/activity) has rename/close/remove implemented in the wallet selector UI. There are some things missing though. Do we need a separate "wallet settings" screen?
johnny9 commented 2026-04-15 19:02:55 +00:00 (Migrated from github.com)

The web wallet prototype has rename/close/remove implemented in the wallet selector UI. There are some things missing though. Do we need a separate "wallet settings" screen?

Yes it looks like a new wallet settings screen will be needed.

> The [web wallet prototype](https://lively-kashata-cfde7e.netlify.app/screen/activity) has rename/close/remove implemented in the wallet selector UI. There are some things missing though. Do we need a separate "wallet settings" screen? Yes it looks like a new wallet settings screen will be needed.
GBKS commented 2026-04-16 14:18:59 +00:00 (Migrated from github.com)

What options do you think will need to go in there?

What options do you think will need to go in there?
Sign in to join this conversation.
No description provided.