Skip to content

Correct tooltip wording for watch-only wallets#792

Closed
hernanmarino wants to merge 1 commit into
bitcoin-core:masterfrom
hernanmarino:change-spendable-wording-ui
Closed

Correct tooltip wording for watch-only wallets#792
hernanmarino wants to merge 1 commit into
bitcoin-core:masterfrom
hernanmarino:change-spendable-wording-ui

Conversation

@hernanmarino

Copy link
Copy Markdown
Contributor

This is a continuation of #37
This is a simple change, but imho necessary because it leads to confusion.
The objective of this change is to provide a better description for the tooltip for the "Available Balance" balance because the current version on master mentions the word "You current spendable balance" which is a bit misleading, because that balance is not always spendable , or not always yours on watch only wallets.

Make labelSpendable visible for watch only wallets
with their private keys disabled.
Also set the labelBalance accordingly for the same
condition.

Co-authored-by: saibato <saibato.naga@pm.me>
@DrahtBot

DrahtBot commented Feb 9, 2024

Copy link
Copy Markdown
Contributor

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

Reviews

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

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.

@hernanmarino

Copy link
Copy Markdown
Contributor Author

As a first commit, I only took @ saibato's latest commit and corrected a couple of bugs (mentioned by @pablomartin4btc in the original PR.)
Marked as Draft, in the following days I'll try to address all comments and sugestions in that PR, and mark it ready for review.

@hebasto hebasto changed the title gui: Correct tooltip wording for watch-only wallets Correct tooltip wording for watch-only wallets Feb 9, 2024
Comment thread src/qt/overviewpage.cpp
ui->labelSpendable->setText(tr("Watch-only:"));
ui->labelSpendable->setVisible(true);
ui->labelBalance->setText(BitcoinUnits::formatWithPrivacy(unit, balances.watch_only_balance, BitcoinUnits::SeparatorStyle::ALWAYS, m_privacy));
ui->labelBalance->setToolTip(tr("Your current balance in watch-only addresses"));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite the confusing interfaces, watch-only wallets are not based on addresses (or they would never see spends). Prefer to use less confusing language here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps "Your current watch-only balance" or "Your current watch-only wallet balance"?

@hebasto

hebasto commented May 12, 2024

Copy link
Copy Markdown
Member

@hernanmarino

Are you still working on this?

@hernanmarino

Copy link
Copy Markdown
Contributor Author

@hernanmarino

Are you still working on this?

I am active, and I'll resume working on this PR and upload a proposal soon.

@hebasto

hebasto commented Jul 15, 2024

Copy link
Copy Markdown
Member

Closing for now. Please feel free to reopen it when a non-draft version is ready.

@hebasto hebasto closed this Jul 15, 2024
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Jul 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants