https://bugs.kde.org/show_bug.cgi?id=369207

--- Comment #4 from RJVB <rjvber...@gmail.com> ---
According to QMenu::isEnabled() and QAction::isEnabled(), the submenus and
their actions are all enabled.

However, according to the QMenu documentation:

    QMenu on OS X with Qt Build Against Cocoa

    QMenu can be inserted only once in a menu/menubar. Subsequent insertions
will have no effect or will result in a disabled menu item.

    See the Menus example for an example of how to use QMenuBar and QMenu in
your application.

and according to the QWidgetAction docs:

    OS X: If you add a widget to a menu in the application's menu bar on OS X,
the widget will be added and it will function but with some limitations:

        1. The widget is reparented away from the QMenu to the native menu
view. If you show the menu in some other place (e.g. as a popup menu), the
widget will not be there.

So it seems we're looking at a similar error/limitation as the one that
previously led to error messages about menu items being added to or removed
from more than 1 menu. Those messages no longer appear in Qt 5.6, but clearly
the underlying reason is still there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to