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

QWidget disabled style is not working on Mac Sierra

    XMLWordPrintable

Details

    • macOS

    Description

      When I set for example QSpinBox or QLineEdit disabled (setEnabled(false)) on Mac OS Sierra (10.12) and using default Mac style, those widgets while disabled, are keeping focus and they look like they are active.

      Note: As I don't have Sierra mac but only Mojave and High Sierra, I was able to reproduce similar error with Qt 5.10.1 on High Sierra, but the bug itself is for Qt 5.12 and Sierra mac.

      Note 2: When using Fusion style, it seems to work as expected. QWidgets are dimmed and they lost focus when disabled.

      Please find the attached two example projects to demonstrate this issue

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            pekarjal Pekka Karjalainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes