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

(Sub-)Menus look enabled after calling setEnabled(false)

    XMLWordPrintable

Details

    • macOS

    Description

      After calling "submenu->setEnabled(false)" the menu still looks enabled on macOS.

      I find QTBUG-56276 and QTBUG-60708 which indicate that that is intended behavior in Qt/macOS.
      I can sort of understand if Qt keeps menus visually enabled if they contain visible items. (Even though I feel that Qt sometimes tries too hard to force its users to platform-conformant behavior.)
      But if the menu doesn't contain visible items this just looks wrong.

      Attachments

        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
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes