385589ef45
Instead of waiting for the menu delegate to update each item, we can attach an NSMenu to its NSMenuItem as soon as we update the current window's menubar. This is safe to do because we know that this is going to be the main menubar right after, so we're not orphaning any NSMenuItem from its NSMenu at the wrong moment. By doing this, we also ensure that all menus from the active menubar are reachable by the key-equivalent dispatching logic, even before we display the actual menu. This was shown in BigMenuCreator where, under the menubar's ASP and SAP menus, all A*S submenus would be disabled. Furthermore, on the same menus, SAP would show the same issue. Added test in Menurama as well. Change-Id: If6e7311072e6b53ad1cbced73623d1832aa0df8e Task-number: QTBUG-57076 Task-number: QTBUG-63712 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> |
||
---|---|---|
.. | ||
bearerex | ||
cocoa | ||
corelib/tools | ||
diaglib | ||
dialogs | ||
embeddedintoforeignwindow | ||
filetest | ||
foreignwindows | ||
gestures | ||
highdpi | ||
inputmethodhints | ||
keypadnavigation | ||
lance | ||
mkspecs | ||
network_remote_stresstest | ||
network_stresstest | ||
qcursor | ||
qdesktopservices | ||
qdesktopwidget | ||
qgraphicsitem | ||
qgraphicsitemgroup | ||
qgraphicslayout/flicker | ||
qhttpnetworkconnection | ||
qimagereader | ||
qlayout | ||
qlocale | ||
qmetatype | ||
qmimedatabase | ||
qnetworkaccessmanager/qget | ||
qnetworkconfiguration | ||
qnetworkconfigurationmanager | ||
qnetworkreply | ||
qopenglcontext | ||
qopengltextureblitter | ||
qopenglwidget/openglwidget | ||
qopenglwindow/multiwindow | ||
qprintdevice_dump | ||
qscreen | ||
qssloptions | ||
qsslsocket | ||
qstorageinfo | ||
qsysinfo | ||
qt_poll | ||
qtabbar | ||
qtabletevent | ||
qtbug-8933 | ||
qtbug-52641 | ||
qtexteditlist | ||
qtouchevent | ||
qwidget_zorder | ||
repaint | ||
shortcuts | ||
socketengine | ||
textrendering | ||
touch | ||
transientwindow | ||
triangulator | ||
unc | ||
widgetgrab | ||
widgets | ||
windowchildgeometry | ||
windowflags | ||
windowgeometry | ||
windowmodality | ||
windowtransparency | ||
xcb_gl_integration | ||
xembed-raster | ||
xembed-widgets | ||
manual.pro |