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

QStandardItem:: setEnabled() has no effect on QComboBox items when SH_ComboBox_UseNativePopup is applied

    XMLWordPrintable

Details

    • macOS
    • 9f44553b3 (dev), 5733e4684 (tqtc/lts-6.2), 2e22275ff (6.5), 841689592 (tqtc/lts-5.15)

    Description

      When QStyle::SH_ComboBox_UseNativePopup is applied to QComboBox, via QProxyStyle, one cannot disable item(s) in the popup by calling QStandardItem:: setEnabled(false) anymore.

      A minimum compilable example is attached.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            wayee Weiyi Wang
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes