qt5base-lts/tests/manual
Eirik Aavitsland f46db29d8c Painting: fix overriding and combining different clip types
In a recent improvement (6de36918c0) the
last set clip region or path was stored in separate variables, in
order to be set again if the aliasing mode changed. That solution was
too simplistic, as it would break down as soon as more than one clip
area was set, with the latter either replacing or intersecting the
first. It was also unnecessary to introduce new storing of clip areas
and transforms, as those are already recorded in the clipInfo stack in
the painter state. This patch hence reverts much of that implementation.

However the basic idea of setting the clip area again after AA change
is good, so that part is kept, implementated instead by calling a
pre-existing function to replay the clipInfo stack.

One of the baseline test cases is extended to excercise the
combination of clip areas. As a driveby, support for setClipRectF is
added to the painting baseline test scripts, and the build of the
manual lance tool is fixed.

Fixes: QTBUG-101474
Pick-to: 6.3 6.2
Change-Id: Ide8b70d8cbf138deb06cbb84f69e62f7405886e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2022-03-15 12:45:46 +01:00
..
cmake/test_copy_file_if_different_command Use 'copy' but not 'copy_if_different' on Windows platforms 2022-02-10 02:31:05 +01:00
cocoa macOS: Add debug keyboard layout for manual testing 2021-08-23 17:30:18 +02:00
corelib/tools Use QList instead of QVector in other qtbase tests 2020-07-07 11:48:45 +02:00
diaglib Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
dialogs Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
embeddedintoforeignwindow Fix compilation of some manual tests 2020-09-26 19:53:54 +02:00
filetest Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
foreignwindows Fix compilation of some manual tests 2020-09-26 19:53:54 +02:00
gestures Fix deprecations in manual tests 2020-12-01 20:20:11 +01:00
highdpi Tests: Use REQUIRED COMPONENTS in find_package(Qt6...) 2021-12-13 14:16:26 +00:00
inputmethodhints Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
keypadnavigation Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
lance Painting: fix overriding and combining different clip types 2022-03-15 12:45:46 +01:00
markdown CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
mkspecs
network_remote_stresstest Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
network_stresstest Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qcursor Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
qdesktopservices Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qgraphicsitem Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qgraphicsitemgroup Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qgraphicslayout/flicker Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
qhttpnetworkconnection Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qimagereader CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qlayout Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qlocale Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
qmetatype CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmimedatabase CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qnetconmonitor QNetworkInformation: Rename parameter-less load() to loadDefaultBackend 2022-02-09 15:17:54 +01:00
qnetworkaccessmanager/qget CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qnetworkinformation QNetworkInformation: Rename parameter-less load() to loadDefaultBackend 2022-02-09 15:17:54 +01:00
qnetworkreply Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qopenglcontext Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qopengltextureblitter Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qopenglwidget Compose render-to-texture widgets through QRhi 2022-03-11 21:25:00 +01:00
qopenglwindow/multiwindow CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qprintdevice_dump CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qscreen Get rid of all usage of QApplication:desktop 2020-10-14 06:38:43 +02:00
qscreen_xrandr xcb: Correctly update primary screen status with RandR 1.5 2022-01-12 03:17:47 +01:00
qssloptions CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsslsocket Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qstorageinfo CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsysinfo CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qt_poll Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qtabbar Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qtabletevent Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qtbug-8933 Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qtbug-52641 CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtexteditlist Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qtexttableborders CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtouchevent Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qvulkaninstance vulkan: Update legacy tests and examples to the modern validation layer 2021-05-31 17:16:49 +02:00
qwidget_zorder CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
repaint Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
rhi Compose render-to-texture widgets through QRhi 2022-03-11 21:25:00 +01:00
shortcuts Manual shortcut test: Fix deprecation warnings about key combinations 2020-11-16 12:35:42 +01:00
socketengine Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
startsystemmove tests: update startsystemmove manual test with latest api 2021-06-16 15:53:22 +02:00
textrendering Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
touch Rejig native interface plumbing 2021-05-12 22:02:05 +02:00
touchGraphicsItem CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
transientwindow Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
triangulator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
unc CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
wasm wasm: add secondary thread exec manual test 2022-01-05 21:25:42 +01:00
widgetgrab Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
widgets Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
windowactivation Add manual test for window activation 2021-09-30 20:51:52 +02:00
windowchildgeometry Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
windowflags Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
windowgeometry Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
windowmodality Expunge WA_GroupLeader 2020-10-27 02:55:59 +01:00
windowtransparency CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
xcb_gl_integration CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
xembed-raster Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
xembed-widgets CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt xcb: support xrandr(1.5) monitor setup 2021-09-01 20:32:04 +02:00
manual.pro xcb: support xrandr(1.5) monitor setup 2021-09-01 20:32:04 +02:00