Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68067

QPushButton's state (disabled) is not updated correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.11
    • None
    • macOS

    Description

      Noticed this in one of our examples, while trying to disable a button from a slot attached to the 'clicked' signal (that's the app's logic): the button is, indeed, disabled (cannot press it anymore), but this change is not visualized (button still looks like it's enabled). Cmd-tab between different apps (and back to my app) fixes the button's appearance to 'disabled'.
      I set 'Component' == 'macOS (cocoa)' because it's reproducible on macOS only, on Ubuntu my application does not have this problem.

      Attachments

        1. QTBUG-68067.tar.gz
          2 kB
          Timur Pocheptsov

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              tpochep Timur Pocheptsov
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes