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

QPushButton's state (disabled) is not updated correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.11
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              tpochep Timur Pocheptsov
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes