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

Disabled widgets are not greyed out

    XMLWordPrintable

Details

    • Linux/X11

    Description

      In the attached project, the second menu item is disabled. Still, both first and second item are displayed with the same style, i.e. the second item is not greyed out. This is very confusing for the user.

      The same thing happens with the two `QCheckBox`es.

      Tested with Qt 6.7.2 on Linux, both release and debug builds.

      Edit:
      This issue has already been reported here: https://bugreports.qt.io/browse/QTBUG-122715
      Some discussion on the issue here: https://forum.qt.io/topic/157584/disabled-menu-item-not-greyed-out

      Attachments

        1. CMakeLists.txt
          2 kB
        2. kde1.png
          kde1.png
          6 kB
        3. kde2.png
          kde2.png
          8 kB
        4. main.cpp
          1 kB
        5. qt_bug_127575_2.png
          qt_bug_127575_2.png
          14 kB
        6. qt_bug.png
          qt_bug.png
          10 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              marcusle Marcus Leivo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes