Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2906

In Qt 6.7.x+ with the windows11 style, checkboxes and items in a custom QComboBox overlap, breaking the UI. This issue is absent in Qt 6.6.3 and earlier, suggesting a regression related to the style changes introduced in newer Qt versions.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 6.8.1
    • 6.7.1, 6.7.2, 6.8.0, 6.7.3, 6.8.0.1
    • PySide
    • None
    • OS: Windows 11
      Qt Version: 6.7.2 and above (Issue present)
      Previous Version Tested: 6.6.3 (No issue)
      Application Style: windows11
    • Windows
    • 877b29a78 (dev), 71cba1359 (6.8)

    Description

      When using a QComboBox with custom delegates that include checkboxes in Qt 6.7.x or later, the items and checkboxes inside the combo box overlap, leading to a broken UI layout. The issue occurs specifically with the new windows11 style introduced in Qt 6.7. Downgrading to Qt 6.6.3 resolves the issue, suggesting that the problem may be related to the style changes. The same behavior might also occur with other item views (e.g., QListView) using similar delegate implementations.

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2906
          # Subject Branch Project Status CR V

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              sahal Sahal EV
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes