gui: show wallet name in progress messages #939

pull ShauryaaSharma wants to merge 1 commits into bitcoin-core:master from ShauryaaSharma:wallet-name-in-progress-messages changing 2 files +5 −3
  1. ShauryaaSharma commented at 9:23 PM on June 15, 2026: none

    What

    Include the wallet display name in the initMessage calls made during wallet 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 the translated "default wallet" string, handling that case correctly.

    A comment is added to LoadWalletsActivity::load() explaining why no specific 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.json at startup or via File > Open Wallet — the splash screen shows a bare "Rescanning…" with no indication of which wallet is being scanned. Users with multiple wallets have no way to know which one is being processed without checking the debug log.

    The ShowProgress calls inside ScanForWalletTransactions already use "[wallet_name] Rescanning…" (lines 1888/1903/2008); this change makes the preceding initMessage consistent with them.

    Fixes #259

  2. gui: show wallet name in progress messages
    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 #259
    5d2ff0e898
  3. DrahtBot commented at 9:24 PM on June 15, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, 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.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. ShauryaaSharma commented at 6:06 AM on June 28, 2026: none

    Hi @hebasto @fanquake , gentle ping on this one!

    Small UX consistency fix, no logic changes, only initMessage call-site text updates across two files.

    Problem: when a wallet that hasn't synced recently is opened (via settings.json at startup or File > Open Wallet), the splash screen shows a bare "Rescanning…" with no indication of which wallet is being scanned. Users with multiple wallets have to check the debug log to find out.

    Fix: include DisplayName() in three initMessage calls:

    • LoadWalletInternal: "Loading wallet…""[wallet_name] Loading wallet…"
    • CreateWallet: "Creating wallet…""[wallet_name] Creating wallet…"
    • CWallet::AttachChain: "Rescanning…""[wallet_name] Rescanning…" ← primary fix

    DisplayName() already returns the translated "default wallet" string for unnamed wallets, so that case is handled correctly without extra logic.

    Consistency note: ShowProgress calls inside ScanForWalletTransactions (lines 1888/1903/2008) already use "[wallet_name] Rescanning…" , this change makes the preceding initMessage consistent with them.

    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.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-28 21:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me