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

QCheckBox used as editor in delegate does not display checkmark when using Windows11 style and no text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8, 6.9
    • Widgets: Styles
    • Windows

    Description

      When using QCheckBox as an editor widget in a delegate (e.g., QStyledItemDelegate::createEditor), the checkbox does not display its checkmark indicator when:

      • The active style isĀ windows11
      • The widget is visible, has non-zero geometry, and isChecked() returns true

      Under these conditions, the checkbox appears blank, even though it is present and functional.

      When switching to the Fusion style, the checkbox displays correctly.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-138230
          # Subject Branch Project Status CR V

          Activity

            People

              chehrlic Christian Ehrlicher
              yuanxun Xun Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change