qt6-bb10/tests/auto/widgets
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
..
dialogs Qt Widgets: Make tests pass on High DPI screens and scaling 2019-05-29 12:52:51 +02:00
effects qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
graphicsview Blacklist qgraphicsitem::sorting test on opensuse-42.3 2019-03-29 07:36:48 +00:00
itemviews Qt Widgets: Make tests pass on High DPI screens and scaling 2019-05-29 12:52:51 +02:00
kernel Fix window shortcuts when a completer popup has focus 2019-06-25 00:04:15 +02:00
styles QStyleSheetStyle::repolish: only run on direct children 2019-04-12 14:33:32 +00:00
util Brush up tst_QCompleter 2019-06-07 12:34:47 +02:00
widgets Stabilize tst_qsplitter 2019-06-19 18:32:19 +02:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00