-
Notifications
You must be signed in to change notification settings - Fork 38.6k
qt: "Peers" tab overhaul #15136
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
qt: "Peers" tab overhaul #15136
Conversation
Using the QSplitter and QScrollArea classes.
Effectevely reverts e059726 commit.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. 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. |
|
Did a quick test and looks good (https://bitcoin.jonasschnelli.ch/build/946). utACK 3537c83 |
|
tACK 3537c83 on macOS 10.14.2, keeping the selection looks better to me. Will review changes to |
| </spacer> | ||
| </item> | ||
| </layout> | ||
| <widget class="QWidget" name="widget_1" native="true"> |
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.
This could be the table?
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.
Note: Adding a QLayout to a QSplitter is not supported (either through setLayout() or making the QSplitter a parent of the QLayout); use addWidget() instead.
So, it cannot be a table or other kind of QLayout.
|
utACK 3537c83 |
3537c83 Do not deselect peer when switching away from tab (Hennadii Stepanov) b0037c5 Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to #14798. The "Peers" tab of the "Debug" window improved to address comments #6209 (comment) (by @jonasschnelli) and #14798 (comment) (by @promag). This allows to keep the peer selection while navigating to other places and effectively reverts e059726. Screenshots with this PR:    Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea
|
@HashUnlimited you can adjust a view by moving |
|
ah OK... thanks. pretty confusing though that scrolling doesn't reveal all contents. |
Summary: 3537c8345c788a527bb4e1d00683ca7f8ee5fb1a Do not deselect peer when switching away from tab (Hennadii Stepanov) b0037c51909dc55e279baa81f063c169c9735105 Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to #14798. The "Peers" tab of the "Debug" window improved to address comments bitcoin/bitcoin#6209 (comment) (by @jonasschnelli) and bitcoin/bitcoin#14798 (comment) (by @promag). This allows to keep the peer selection while navigating to other places and effectively reverts e059726. Screenshots with this PR:    --- Backport of Core [[bitcoin/bitcoin#15136 | PR15136]] Test Plan: ninja all ./qt/bitcoin-qt -testnet check out the Peers tab for correctness Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D8547
3537c83 Do not deselect peer when switching away from tab (Hennadii Stepanov) b0037c5 Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to bitcoin#14798. The "Peers" tab of the "Debug" window improved to address comments bitcoin#6209 (comment) (by @jonasschnelli) and bitcoin#14798 (comment) (by @promag). This allows to keep the peer selection while navigating to other places and effectively reverts e059726. Screenshots with this PR:    Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea
3537c83 Do not deselect peer when switching away from tab (Hennadii Stepanov) b0037c5 Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to bitcoin#14798. The "Peers" tab of the "Debug" window improved to address comments bitcoin#6209 (comment) (by @jonasschnelli) and bitcoin#14798 (comment) (by @promag). This allows to keep the peer selection while navigating to other places and effectively reverts e059726. Screenshots with this PR:    Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea
3537c83 Do not deselect peer when switching away from tab (Hennadii Stepanov) b0037c5 Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to bitcoin#14798. The "Peers" tab of the "Debug" window improved to address comments bitcoin#6209 (comment) (by @jonasschnelli) and bitcoin#14798 (comment) (by @promag). This allows to keep the peer selection while navigating to other places and effectively reverts e059726. Screenshots with this PR:    Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea


This is an alternative to #14798.
The "Peers" tab of the "Debug" window improved to address comments #6209 (comment) (by @jonasschnelli) and #14798 (comment) (by @promag).
This allows to keep the peer selection while navigating to other places and effectively reverts e059726.
Screenshots with this PR:


