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

[macOS] Checkbox created by calling QTreeWidgetItem::setCheckState() fails to follow macOS style guidelines

    XMLWordPrintable

Details

    • macOS
    • 90c9370d5098db95ab15ce3b183b377afcf73b47

    Description

      A checkbox created by calling QTreeWidgetItem::setCheckState() fails to follow macOS style guidelines: When checked, the checkbox should stay blue while the application is active, but, due to a bug the checkbox turns gray when the treewidget loses focus.

      Steps to reproduce:

      • Run the sample attached on macOS
      • Check both checkboxes
      • Click on the line edit to move focus
        EXPECTED: Both checkboxes should stay blue
        ACTUAL: The checkbox inside the treewidget turns gray

      Attachments

        1. qtbug64953.png
          10 kB
          Risto Sipola
        2. qtbug64953.zip
          0.9 kB
          Risto Sipola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            risto.sipola Risto Sipola
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes