[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. cozz cross-referenced this on Mar 11, 2014 from issue A few problems with 0.9.0rc2 by subSTRATA
  4. 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.

  5. 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.

  6. 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.

  7. super3 cross-referenced this on Mar 12, 2014 from issue Repository Bot by super3
  8. laanwj referenced this in commit 74502e753b on Mar 13, 2014
  9. laanwj merged this on Mar 13, 2014
  10. laanwj closed this on Mar 13, 2014

  11. fanquake cross-referenced this on Dec 26, 2015 from issue Add note to coin control dialog QT5 workaround by fanquake
  12. bitcoin 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: 2026-05-20 06:55 UTC