[Qt] Fix coin control qt5 checkbox bug in tree mode #3846

pull cozz wants to merge 1 commits into bitcoin:master from cozz:cozz9 changing 1 files +12 −0
  1. cozz commented at 1:46 pm on March 11, 2014: contributor

    There is a qt5 bug in how the treewidget handles checkboxes in treemode. Nothing critical, does not affect coin control, but the checkboxes appear to be buggy to the user. See inline code comment.

    Fixes point 3 of #3840.

  2. [Qt] Fix coin control qt5 checkbox bug in tree mode 3f2a0172f5
  3. BitcoinPullTester commented at 2:05 pm on March 11, 2014: none
    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/3f2a0172f5295e139e0077d02d26699397a4a19f for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
  4. laanwj commented at 4:27 pm on March 11, 2014: member

    With Qt 5.0.2 I don’t see a difference in behavior with or without this patch. I’ve tried clicking on a parent checkbox with lots of children, but they go to fully selected in either case.

    So probably the problem was introduced later. I’ll test with Qt 5.2.x later on.

  5. cozz commented at 11:05 pm on March 11, 2014: contributor

    I havent tested 5.0, only 5.2. But the bug is the same on windows and linux, so its a qt thing.

    The added if-statement should be safe, because I explicitly check for the child to be partially selected. This can never happen, unless bug. So if the bug is fixed, the if-statement does not trigger.

  6. laanwj referenced this in commit 74502e753b on Mar 13, 2014
  7. laanwj merged this on Mar 13, 2014
  8. laanwj closed this on Mar 13, 2014

  9. DrahtBot locked this on Sep 8, 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: 2024-11-17 18:12 UTC

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