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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes