Qt Declarative (Quick 2)
Go to file
Oliver Eftevaag ef9238c99c Stabilize tst_QQuickPopup::popupWindowChangingParent
I had accidentally added a `visible: true` binding on the Popup,
in the QML document used by the test. Which caused the main window
to not always be initialized, before the popup window.

The main window's geometry is used by the QQuickItem::mapToGlobal()
function, which is called when comparing the global position of the
popup window's parent item, to verify that the popup window is
positioned relative to it.

Removing the `visible: true` binding, seems to fix the issue.
But further improvements to the test are also added to make it more
robust.

The following improvements are being made to the macros VERIFY_GLOBAL_POS
and VERIFY_LOCAL_POS, for the sake of making future debugging easier:
  - A better failure message.
  - They no longer need to store any local variables on the stack.
  - Redundant compare statements are removed.

Since the the test is fixed, it's now safe to unblacklist.

Fixes: QTBUG-126175
Pick-to: 6.8
Change-Id: I1032494818bf85bf8aaf3d2d60b56c0d991855b4
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2024-06-20 02:32:20 +02:00
LICENSES Weather forecast example: Clean up assets and attribution 2024-02-06 13:44:41 +01:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 15:38:57 +02:00
coin Change Axivion configuration 2023-10-04 14:37:59 +03:00
dist
examples Strong typing changes to Qml Embedding Kotlin example documentation 2024-06-18 07:45:45 +00:00
features
src QQuickPopupWindow: set initial size 2024-06-19 23:09:27 +02:00
tests Stabilize tst_QQuickPopup::popupWindowChangingParent 2024-06-20 02:32:20 +02:00
tools svgtoqml: add a few minor usability improvements 2024-06-17 17:36:55 +02:00
.cmake.conf Bump version to 6.9.0 2024-06-05 23:15:37 +01:00
.gitattributes
.gitignore gitignore: Add compile_commands.json and .ccache 2024-05-16 17:25:19 +02:00
.gitmodules
.tag
CMakeLists.txt CMake: Add the Svg package to OPTIONAL_COMPONENTS 2023-08-21 14:10:04 +02:00
README.md
configure.cmake
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2024-06-18 18:54:15 +00:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy