qt5base-lts/tests/auto/widgets/kernel
Volker Hilsheimer 0f3f143f6d Fix window shortcuts when a completer popup has focus
The completer popup has focus, making QShortcut direct to it's window
rather than to the window the completer belongs to. As QShortcut handles
the case for Tool windows that have a parent, but doens't do the same
for popups. And they shouldn't be treated the same way, as a context
menu popup for a e.g. text edit should in fact block the text edit's
shortcuts while open.

However, the completer popup is special, in that it explicitly makes the
widget completes for its focusProxy, which is what we can use to fix
this issue.

Change-Id: Ie7177d39668b3af14a1d9e0ee5d93eca9c67c8af
Fixes: QTBUG-4485
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-06-25 00:04:15 +02:00
..
qaction Send ShortcutOverride event when receiving a non-spontaneous key press 2018-04-20 10:18:49 +00:00
qactiongroup qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qapplication Brush up tst_QApplication 2019-05-15 19:56:50 +00:00
qboxlayout Merge remote-tracking branch 'origin/5.11' into dev 2018-04-26 09:55:10 +02:00
qdesktopwidget Updated license headers 2016-01-21 18:55:18 +00:00
qformlayout winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
qgesturerecognizer tests: un-blacklist tst_QGestureRecognizer::panGesture on xcb 2018-06-25 13:41:40 +00:00
qgridlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qlayout winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
qshortcut Fix window shortcuts when a completer popup has focus 2019-06-25 00:04:15 +02:00
qsizepolicy Fix tst_QSizePolicy::constExpr() to compile with MSVC 15.8.1 2018-08-30 06:23:51 +00:00
qstackedlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qtooltip QToolTip: Don't crash if a tool tip is shown outside screen geometry 2018-10-15 07:44:04 +00:00
qwidget QWidget: fix setTabOrder for compound widgets 2019-06-10 13:44:42 +02:00
qwidget_window Make tst_qwidget_window pass on High-DPI screens (Windows) 2019-05-16 12:56:33 +00:00
qwidgetaction testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qwidgetmetatype Updated license headers 2016-01-21 18:55:18 +00:00
qwidgetsvariant Updated license headers 2016-01-21 18:55:18 +00:00
qwindowcontainer winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
kernel.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00