qt5base-lts/tests/auto/widgets
Richard Moe Gustavsen f1812aad89 QFocusFrame: protect it from being moved around by accident
If a focus frame is set around a widget that exist inside a
QAbstractItemView, both the focus frame and the widget will
be scrolled when the table is scrolled (since the focus frame
is a child of the view). The result is that after the widget
has been scrolled (which will move the focus frame to the
correct position as well), the focus frame will be scrolled
next, and therefore away from the widget.

This patch will catch this case by always adjusting the
focus frame position when someone tries to move it. Trying
to move the focus frame away from the widget it tracks
will anyway be flaky.

Fixes: QTBUG-63877
Change-Id: Ic2aacc4fafc219280e32092c258a7539d0db9cd0
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2018-11-27 14:59:52 +00:00
..
dialogs tst_qfilesystemmodel: Do not use nested calls of auto test functions 2018-10-25 11:24:08 +00:00
effects Blacklist flaky tst_QGraphicsEffect autotest on openSUSE 2018-09-24 21:13:20 +00:00
graphicsview QGraphicsProxyWidget: Don't crash within setWidget() when a child proxy has no assigned widget 2018-11-22 16:43:38 +00:00
itemviews QTableWidget: fix cellChanged signal emitted by takeItem() 2018-10-19 12:19:20 +00:00
kernel macOS: Remove blacklist entries for no longer supported OS versions 2018-11-12 07:16:30 +00:00
styles Fix tst_QStyleSheetStyle crash on uncommon multi-screen setup 2018-11-27 14:46:08 +00:00
util Re-enable the QScroller tests on macOS 2018-11-27 14:57:35 +00:00
widgets QFocusFrame: protect it from being moved around by accident 2018-11-27 14:59:52 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00