qt5base-lts/tests/manual
Johan Klokkhammer Helsing a611c632bb Add QWindow::startSystemMove and startSystemResize
This can be used to create custom client side window decorations.

Refactors the xcb implementation to use edges instead of corners and we now use
the last mouse position for `root_x` and `root_y` in the `_NET_WM_MOVERESIZE`
event. Touch has also been changed, so just pick a point that's currently being
pressed.

The workaround for QTBUG-69716 has now been moved to QSizeGrip, as the comment
in the bug report says that it should ideally be fixed at the widget level.

On Windows, we no longer abort when GetSystemMenu returns false. I assume this
code was added to check whether the window didn't have any decorations and not
resize in that case. However, since the point of this patch is to let windows
without native decorations resize/move, it makes most sense to remove the
check.

Adds a manual test, which calls QWindow::startSystemMove and startSystemResize
on touch and mouse events.

[ChangeLog][QtGui] Added API for starting interactive window resize and move
operations handled by the system.

Fixes: QTBUG-73011
Change-Id: I7e47a0b2cff182af71d3d479d6e3746f08ea30aa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2020-01-28 16:52:13 +01:00
..
bearerex
cocoa QtCore: mark obsolete enumerations as deprecated 2019-05-17 14:08:30 +00:00
corelib/tools
diaglib Diaglib/Windows: Output more information on geometry for native handles 2019-11-08 11:34:11 +01:00
dialogs Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
embeddedintoforeignwindow Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
filetest Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
foreignwindows Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gestures Fix some warnings in manual tests 2019-03-07 22:06:04 +00:00
highdpi Manual High DPI test: Add a page logging all screen change signals to Metrics 2019-12-05 18:37:00 +01:00
inputmethodhints
keypadnavigation Improve the keypadnavigation manual test 2019-08-01 19:03:42 +02:00
lance Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
markdown Add QTextMarkdownWriter, QTextEdit::markdown property etc. 2019-05-01 14:31:27 +00:00
mkspecs
network_remote_stresstest
network_stresstest Skip instead of fail tests when test server is not available 2020-01-14 00:15:16 +01:00
qcursor Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
qdesktopservices Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qdesktopwidget Remove usages of deprecated APIs of QDesktopWidget 2019-10-13 13:08:42 +02:00
qgraphicsitem
qgraphicsitemgroup Fix some warnings in manual tests 2019-03-07 22:06:04 +00:00
qgraphicslayout/flicker Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
qhttpnetworkconnection
qimagereader
qlayout
qlocale
qmetatype
qmimedatabase Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qnetconmonitor Add manual test for QNetwork{Connection|Status}Monitor 2019-07-08 12:12:57 +02:00
qnetworkaccessmanager/qget
qnetworkconfiguration
qnetworkconfigurationmanager
qnetworkreply Skip instead of fail tests when test server is not available 2020-01-14 00:15:16 +01:00
qopenglcontext
qopengltextureblitter
qopenglwidget/openglwidget
qopenglwindow/multiwindow
qprintdevice_dump
qscreen Remove usages of deprecated APIs of QDesktopWidget 2019-10-13 13:08:42 +02:00
qssloptions
qsslsocket Update manual qsslsocket test to use HTTP/2 instead of spdy 2019-01-22 09:45:41 +00:00
qstorageinfo Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qsysinfo Fix some warnings in manual tests 2019-03-07 22:06:04 +00:00
qt_poll
qtabbar
qtabletevent manual tests: Fix build 2019-03-07 22:09:01 +00:00
qtbug-8933
qtbug-52641
qtexteditlist
qtexttableborders QTextDocument: add manual test for table border logic 2019-08-09 07:21:25 +00:00
qtouchevent
qvulkaninstance
qwidget_zorder
repaint
rhi Regenerate qsb files for auto and manual tests 2020-01-22 22:47:04 +01:00
shortcuts manual shortcut test: add more shortcut sequences 2019-04-24 18:48:13 +00:00
socketengine Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
startsystemmove Add QWindow::startSystemMove and startSystemResize 2020-01-28 16:52:13 +01:00
textrendering Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
touch Manual touch test: Add handling for multiple touch screens 2018-05-02 09:36:19 +00:00
touchGraphicsItem
transientwindow
triangulator
unc
wasm wasm: support all cursor shapes 2019-12-30 14:30:22 +03:00
widgetgrab
widgets Stylesheet: Handle tabs with elide mode set correctly 2020-01-06 09:37:34 +01:00
windowchildgeometry Fix window(child)geometry manual tests 2018-06-25 13:01:14 +00:00
windowflags Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
windowgeometry Fix window(child)geometry manual tests 2018-06-25 13:01:14 +00:00
windowmodality
windowtransparency
xcb_gl_integration
xembed-raster
xembed-widgets
manual.pro QTextDocument: add manual test for table border logic 2019-08-09 07:21:25 +00:00