-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not show unused widgets at startup #439
Conversation
When starting without wallets the labelWalletEncryptionIcon and labelWalletHDStatusIcon widgets are not required.
Only watched it in action on macOS, but it works. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 489060d
Confirmed the related bug (#428) and tested that this fixes it. The issue here is that we aren't hiding the unused icons. The PR fixes the issue by hiding them. When they are needed again (when you create a wallet), they are properly shown. Tested on macOS 12.
Bug on master | PR | Create Wallet, Icons will still Appear |
---|---|---|
![]() |
![]() |
![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 489060d.
489060d qt: Do not show unused widgets at startup (Hennadii Stepanov) Pull request description: On master (8d83f9c), when starting without wallets the `labelWalletEncryptionIcon` and `labelWalletHDStatusIcon` widgets are not used but still visible as empty space:  If one opens any wallet then closes it, the widget layout becomes densed:  This PR makes widget layout densed at startup. Fixes #428. ACKs for top commit: jarolrod: ACK 489060d promag: Code review ACK 489060d. Tree-SHA512: bda7195225ecd203bb3269ebe7fc264aaf7f57b922deb83a04127584a5d6123950741fb431161523e84630927c2f617e85c085bbbe75ad8559da7b2947de1bdd
Port it back to 22 please? And maybe 0.21 as well? (If backport policy includes this kind of unimportant stuff) |
@katesalazar Do you have a specific rationale for requesting this PR to be backported? (It doesn't help that you call it unimportant yourself 😄 ) |
@laanwj I could risk suggesting there is no "UI issues" really, |
On master (8d83f9c), when starting without wallets the
labelWalletEncryptionIcon
andlabelWalletHDStatusIcon
widgets are not used but still visible as empty space:If one opens any wallet then closes it, the widget layout becomes densed:
This PR makes widget layout densed at startup.
Fixes #428.