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

[REG] Mac: Submenu setEnable has no effect

    XMLWordPrintable

Details

    • macOS
    • 9b491616f8353be243c5e5e98c864d09a25b99ea

    Description

      If setEnabled(false) is called on sub menu it has no effect, item remain clickable. if it is called on any other individual menu item it works.

      It can be easily reproduced with menu example by adding one line
      formatMenu = editMenu->addMenu(tr("&Format"));
      formatMenu->setEnabled(false);
      Attached two screenshots shows 5.6.1 not working but earlier 5.6.0 working.
      Bisecting pointed to this commit which seems introduced this
      https://codereview.qt-project.org/#/c/149727/

      Attachments

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              irfan.omair@digia.com Irfan Omair
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes