qtdeclarative/tests
Santhosh Kumar 6c36d341e0 Fix crash when dragging an invalid item in the header view
Dragging an invalid item in the header view leads to a crash. It's
better to safeguard before operating anything w.r.t. to the dragged
item.

This patch fixes that issue by validating the invalid item before
performing drag operation. Also added an test case to verify the same.

Fixes: QTBUG-127782
Pick-to: 6.8
Change-Id: I95398c7410d6fb6427ec06ff4b7da42472bc6d18
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
2024-08-09 20:22:32 +02:00
..
auto Fix crash when dragging an invalid item in the header view 2024-08-09 20:22:32 +02:00
baseline Simplify baseline tests using new main() macro 2024-08-07 00:35:54 +02:00
benchmarks Only send a LocationChanged event for the item where geometry changed 2024-07-12 16:17:13 +02:00
global
libfuzzer/qml Correct license for test files 2024-02-27 10:32:21 +01:00
manual FluentWinUI3 Style: Add documentation 2024-08-09 10:27:05 +02:00
system Correct license for test files 2024-02-27 10:32:21 +01:00
testapplications Correct license for test files 2024-02-27 10:32:21 +01:00
CMakeLists.txt
README

README

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.