qt6-bb10/tests/auto/widgets/widgets
Yulong Bai 4d898a73e6 QMenuBar: Fix repetitive emission of triggered() when using addAction(QString)
The action which added by QMenuBar::addAction(const QString &text) already
connected relevant signals and slots implicitly, however, while
QMenuBarPrivate::updateGeometry -ing, it reconnects them
if there's a extension button associated with a hidden popup menu.
In that case the QMenuBar::triggered would be fired twice.
Since the QAction's ownership may be changed or added dynamically,
there are still very rare cases like several widgets share the same
QAction object to result in this problem.

[ChangeLog][QtWidgets][QMenu] Fixed a bug in QMenu that caused QMenuBar::triggered
to be fired multiple times.

Task-number: QTBUG-25669
Change-Id: I4d52e82a2136a992e0b37118e41237d96a2c5d22
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-01-21 17:54:47 +00:00
..
qabstractbutton QAbstractButton: don't clear 'pressed' flag unless left button is released 2017-11-15 10:06:16 +00:00
qabstractscrollarea
qabstractslider testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qabstractspinbox testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qbuttongroup
qcalendarwidget
qcheckbox
qcombobox Add an option to scroll the QComboBox on macOS with the mouse wheel 2018-01-05 15:01:43 +00:00
qcommandlinkbutton
qdatetimeedit Raise the upper bound on years to 9999 2017-11-30 20:19:13 +00:00
qdial
qdialogbuttonbox
qdockwidget
qdoublespinbox
qfocusframe
qfontcombobox Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qframe Fusion: desaturate the brown shades 2017-04-27 16:03:15 +00:00
qgroupbox
qkeysequenceedit
qlabel Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qlcdnumber
qlineedit Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qmainwindow Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qmdiarea Blacklist flaky tst_QMdiArea test 2017-06-13 16:00:58 +00:00
qmdisubwindow
qmenu Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
qmenubar QMenuBar: Fix repetitive emission of triggered() when using addAction(QString) 2018-01-21 17:54:47 +00:00
qopenglwidget Merge remote-tracking branch 'origin/5.10' into dev 2017-10-17 10:34:24 +02:00
qplaintextedit Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qprogressbar Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qpushbutton Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qradiobutton
qscrollarea
qscrollbar Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-09 11:47:57 +01:00
qsizegrip
qslider
qspinbox Convert features.wheelevent to QT_CONFIG 2017-06-28 16:15:09 +00:00
qsplashscreen
qsplitter Merge remote-tracking branch 'origin/5.10' into dev 2018-01-02 09:58:44 +01:00
qstackedwidget Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qstatusbar
qtabbar
qtabwidget
qtextbrowser
qtextedit tests: Fix warnings about inconsistent override 2017-10-27 20:01:25 +00:00
qtoolbar
qtoolbox
qtoolbutton macOS: Blacklist tst_QToolButton::task176137_autoRepeatOfAction() 2017-07-03 07:50:41 +00:00
widgets.pro