Repository navigation
Show wallet name in progress messages - #939
ShauryaaSharma wants to merge 1 commit into
Conversation
Include the wallet display name in initMessage calls for "Loading wallet...", "Creating wallet...", and "Rescanning..." so the splash screen clearly identifies which wallet is being processed at startup. For unnamed (default) wallets, DisplayName() returns the translated "default wallet" string. Add a comment to LoadWalletsActivity::load() noting that no wallet name is shown there because multiple wallets may be loading simultaneously. Fixes bitcoin-core#259
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Hi @hebasto @fanquake , gentle ping on this one! Small UX consistency fix, no logic changes, only Problem: when a wallet that hasn't synced recently is opened (via Fix: include
Consistency note: Re conflicts with #30343 and #25722: both are drafts and neither has been merged. Happy to rebase once either lands if that helps move things forward. Fixes #259. |
|
🐙 This pull request conflicts with the target branch and needs rebase. |
|
Thank you for your contribution, and apologies that it has waited this long without a clear answer. There is a rough consensus among Bitcoin Core developers that the current Widgets-based GUI will be replaced with the modern QML-based one (https://github.com/bitcoin-core/gui-qml). Review capacity for the GUI is limited, and time spent on the current code delays its replacement. For that reason, the Widgets-based GUI is now effectively in maintenance mode: only fixes for regressions and serious bugs, and updates required by changes in the core code, are being considered. This PR falls outside that scope, so I am closing it. This is not a judgement on the quality of the work. If the underlying problem or idea is still relevant for the QML GUI, please consider raising or addressing it in https://github.com/bitcoin-core/gui-qml, where it will get more attention. If you believe this PR was closed in error, leave a comment here, and it can be reconsidered. |
What
Include the wallet display name in the
initMessagecalls made duringwallet loading so the splash screen clearly identifies which wallet is
being processed:
LoadWalletInternal:"Loading wallet…"→"[wallet_name] Loading wallet…"CreateWallet:"Creating wallet…"→"[wallet_name] Creating wallet…"CWallet::AttachChain:"Rescanning…"→"[wallet_name] Rescanning…"(primary fix)For unnamed (default) wallets,
DisplayName()already returns thetranslated
"default wallet"string, handling that case correctly.A comment is added to
LoadWalletsActivity::load()explaining why nospecific wallet name is shown there — it loads multiple wallets
simultaneously from the node's wallet list.
Why
When a wallet that has not been synchronized recently is opened — either
via
settings.jsonat startup or via File > Open Wallet — the splashscreen shows a bare
"Rescanning…"with no indication of which walletis being scanned. Users with multiple wallets have no way to know which
one is being processed without checking the debug log.
The
ShowProgresscalls insideScanForWalletTransactionsalready use"[wallet_name] Rescanning…"(lines 1888/1903/2008); this change makesthe preceding
initMessageconsistent with them.Fixes #259