qt5base-lts/tests/manual
Gabriel de Dietrich 385589ef45 QCocoaMenu: Attach menu items when updating the menubar
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>
2017-11-05 01:39:30 +00:00
..
bearerex Updated license headers 2016-01-21 18:55:18 +00:00
cocoa QCocoaMenu: Attach menu items when updating the menubar 2017-11-05 01:39:30 +00:00
corelib/tools Updated license headers 2016-01-21 18:55:18 +00:00
diaglib tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
dialogs Manual dialog test: fix use custom directory icon option setting 2017-06-13 16:14:34 +00:00
embeddedintoforeignwindow tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
filetest Updated license headers 2016-01-21 18:55:18 +00:00
foreignwindows tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
gestures Updated license headers 2016-01-21 18:55:18 +00:00
highdpi Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-21 09:02:57 +01:00
inputmethodhints Updated license headers 2016-01-21 18:55:18 +00:00
keypadnavigation Updated license headers 2016-01-21 18:55:18 +00:00
lance Fix compilation of manual lance test 2017-08-04 18:48:29 +00:00
mkspecs Updated license headers 2016-01-21 18:55:18 +00:00
network_remote_stresstest Introduce QNetworkAccessManager::clearConnectionCache() 2017-01-16 11:04:46 +00:00
network_stresstest Introduce QNetworkAccessManager::clearConnectionCache() 2017-01-16 11:04:46 +00:00
qcursor tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qdesktopservices Updated license headers 2016-01-21 18:55:18 +00:00
qdesktopwidget Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsitem Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsitemgroup Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicslayout/flicker Updated license headers 2016-01-21 18:55:18 +00:00
qhttpnetworkconnection Updated license headers 2016-01-21 18:55:18 +00:00
qimagereader Updated license headers 2016-01-21 18:55:18 +00:00
qlayout Updated license headers 2016-01-21 18:55:18 +00:00
qlocale tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qmetatype Updated license headers 2016-01-21 18:55:18 +00:00
qmimedatabase Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkaccessmanager/qget Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkconfiguration Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkconfigurationmanager Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkreply Updated license headers 2016-01-21 18:55:18 +00:00
qopenglcontext port to modularized platformsupport libraries 2016-10-15 18:45:41 +00:00
qopengltextureblitter Make QOpenGLTextureBlitter public 2016-07-29 07:21:10 +00:00
qopenglwidget/openglwidget Merge remote-tracking branch 'origin/5.6' into 5.7 2016-02-18 20:50:35 +01:00
qopenglwindow/multiwindow Merge remote-tracking branch 'origin/5.6' into 5.7 2016-09-21 07:14:40 +02:00
qprintdevice_dump Updated license headers 2016-01-21 18:55:18 +00:00
qscreen QScreen manual test: fix conversion of enum values to names 2016-08-25 14:06:51 +00:00
qssloptions Updated license headers 2016-01-21 18:55:18 +00:00
qsslsocket Updated license headers 2016-01-21 18:55:18 +00:00
qstorageinfo tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qsysinfo Deprecate QSysInfo::MacVersion, QSysInfo::WindowsVersion, etc 2016-09-20 06:46:14 +00:00
qt_poll Updated license headers 2016-01-21 18:55:18 +00:00
qtabbar macOS: Fix padding around tab label with icon 2017-08-18 07:27:52 +00:00
qtabletevent QTabletEvent manual test: add quit shortcut 2017-03-14 09:11:59 +00:00
qtbug-8933 Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
qtbug-52641 tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qtexteditlist Updated license headers 2016-01-21 18:55:18 +00:00
qtouchevent Updated license headers 2016-01-21 18:55:18 +00:00
qwidget_zorder Updated license headers 2016-01-21 18:55:18 +00:00
repaint Updated license headers 2016-01-21 18:55:18 +00:00
shortcuts Add manual test for shortcut using implicit AltGr 2016-05-30 15:30:57 +00:00
socketengine Updated license headers 2016-01-21 18:55:18 +00:00
textrendering Change confusing Q_DEAD_CODE_FROM_QT4_FOO define 2016-10-14 08:19:29 +00:00
touch touch manual test and TouchPoint qDebug: show horz/vert ellipse diam 2016-12-16 12:51:08 +00:00
transientwindow Updated license headers 2016-01-21 18:55:18 +00:00
triangulator Add manual test for the QtGui triangulator 2017-01-24 16:23:20 +00:00
unc Updated license headers 2016-01-21 18:55:18 +00:00
widgetgrab Updated license headers 2016-01-21 18:55:18 +00:00
widgets Add menu creation manual test 2017-10-24 09:17:49 +00:00
windowchildgeometry Fix build issues in windowchildgeometry manual test 2016-10-27 00:19:00 +00:00
windowflags windowflags: Update preview info when window state changes 2017-02-20 14:19:47 +00:00
windowgeometry Updated license headers 2016-01-21 18:55:18 +00:00
windowmodality Updated license headers 2016-01-21 18:55:18 +00:00
windowtransparency tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
xcb_gl_integration Updated license headers 2016-01-21 18:55:18 +00:00
xembed-raster tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
xembed-widgets tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
manual.pro QMacStyle: update QTabBar style 2017-03-08 18:39:01 +00:00