Widget refresh glitches in v0.17.0 built with Qt 5.11.2 on OS X 10.12.6 #14469

issue gwillen opened this issue on October 12, 2018
  1. gwillen commented at 9:45 PM on October 12, 2018: contributor

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    When I build v0.17.0 myself on OS X (Sierra, 10.12.6) with QT 5.11.2 installed from Homebrew -- but NOT when I use the build downloaded from bitcoincore.org -- I experience glitches in which certain widgets do not refresh when they should.

    In particular, when I click "Use available balance" in the Send tab, nothing happens -- the balance field does not update at all until I do one of the following: click in the balance field, open the debug window, change tabs and change back, switch to another app. At that time it updates to show my whole available balance.

    This ONLY happens when I build bitcoin-qt myself, not with the binaries downloaded from bitcoincore.org.

    I say "widgets" plural because I found that the same thing happens to a QPushButton I have created in a new QDialog -- when I call setEnabled(false) on it, it does not turn grey until I either change focus as above (e.g. switch to another app), or call ui->theButton->repaint(). @Sjors suggested on IRC that my Qt version might be to blame, but I will note that my OS X version is also quite outdated at this point.

    <!-- Describe the issue -->

    <!--- What behavior did you expect? -->

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. meshcollider added the label GUI on Oct 12, 2018
  3. fanquake added the label macOS on Oct 13, 2018
  4. Sjors commented at 7:06 AM on October 13, 2018: member

    I can't reproduce the "Use available balance" bug on macOS 10.14 with QT 5.11.2, perhaps others can try with older versions of macOS (e.g. @jonasschnelli)?

    Knowing where this glitch is introduced can be useful in future discussion of bumping minimum supported versions, as well as perhaps in tracking down other bugs.

    The distribution binaries use QT 5.9.6. Can you try building with the depends system?

    Another difference is that macOS SDK 10.11 is used for building the binaries, whereas you're on 10.12 and the most recent macOS is 10.14. I'm not sure how you can build against 10.12, other than using Gitian.

  5. fanquake commented at 8:15 AM on October 20, 2018: member

    I'm also unable to reproduce that behaviour. This is using macOS 10.14, brew installed qt 5.11.2 and master at 6746a89.

    14469

  6. promag commented at 8:21 AM on October 20, 2018: member

    Same as @fanquake.

  7. gwillen commented at 6:33 AM on October 22, 2018: contributor

    I'm totally happy for this to be closed -- I reported it because it was suggested I do, but I am mystified about how my system is different. I am working in Qt Creator, for what it's worth, although I can't see why it would make any difference. (It still does it when I run the binary from the commandline, and as far as I know QTC shoud just be building using the Makefile...)

  8. fanquake commented at 7:32 AM on November 2, 2018: member

    Going to close for now.

  9. fanquake closed this on Nov 2, 2018

  10. MarcoFalke 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-04-21 18:15 UTC

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