qt: Fix deselecting peer when switching from peers to console tab #14798

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:20181124-fix-peers-tab-switch changing 1 files +4 −2
  1. hebasto commented at 5:56 PM on November 24, 2018: member

    The e0597268116cf90d961abeba9d14aaad0ab682d2 commit from #6209 was intended to deselect a peer when switching away from the Peers tab in the RPC console. But switching away from the Peers tab to the Console tab and back does not deselect a peer.

    This PR makes tab switching consistent: a peer is always deselected when switching away from the Peers tab.

  2. Fix Peers tab switch away in RPC console
    Deselect peer when switching away from Peers tab in RPC console. Now it
    works for switching to Console tab and back as well.
    22c867e559
  3. fanquake added the label GUI on Nov 24, 2018
  4. jonasschnelli commented at 5:38 AM on November 25, 2018: contributor

    utACK 22c867e5599045688907a96e7b6b33a35521837a

  5. fanquake commented at 1:32 AM on November 26, 2018: member

    tACK 22c867e

    master (327129f7a6440e3bbd0a0ea415ea5f8907cf3233): master

    This PR (22c867e): 14798

  6. fanquake renamed this:
    qt: Fix Peers tab switch away in RPC console
    qt: Fix deselecting peer when switching from peers to console tab
    on Nov 26, 2018
  7. promag commented at 12:13 PM on November 26, 2018: member

    The reason to deselect comes from @jonasschnelli comment #6209 (comment).

    I think we could keep the selection while navigating to other places, after all, the user did select the peer for some reason. We could add a vertical scrollbar to the right pane or improve the layout if we want to allow a certain height.

  8. DrahtBot commented at 7:32 PM on November 26, 2018: member

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #15136 (qt: "Peers" tab overhaul by hebasto)
    • #14810 (qt: Enable tabbing through labels by hebasto)

    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.

  9. promag commented at 3:58 PM on January 5, 2019: member

    Just want to add that the we also don't reset the console nor the transactions list.

    I think it's perfectly fine to keep the selection/state, even if the window is closed.

  10. hebasto commented at 4:28 PM on January 10, 2019: member

    Closed in favour of #15136.

  11. hebasto closed this on Jan 10, 2019

  12. laanwj referenced this in commit acec9e45c6 on Jan 16, 2019
  13. hebasto deleted the branch on Jan 16, 2019
  14. deadalnix referenced this in commit 952b59ff50 on Nov 28, 2020
  15. Munkybooty referenced this in commit 70096c6cbc on Aug 21, 2021
  16. christiancfifi referenced this in commit 631eaa17cc on Oct 3, 2021
  17. christiancfifi referenced this in commit 663a4f2b61 on Oct 4, 2021
  18. christiancfifi referenced this in commit 33a38b84de on Oct 11, 2021
  19. pravblockc referenced this in commit fe18a9b066 on Nov 18, 2021
  20. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

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