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

[REG 5.5.1->5.6.2] macOS: Submenus cannot be disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.6.2, 5.7.1, 5.8.0
    • QPA
    • macOS
    • macOS

    Description

      Setting submenu disabled with QMenu::setEnabled(false) has no effect. The submenu is still enabled. This can be tested with Qt Example Application by adding
      QMenu* subMenu = fileMenu->addMenu(QString("SubMenu"));
      subMenu->setEnabled(false);
      to menu creation (MainWindow::createMenus() or MainWindow::createActions() in the example).

      The problem is not reproducible in Qt 5.5.1 or in Qt 5.4.0.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes