Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.2.1, 6.2.2
-
None
-
Qt 6.2.1 (Linux Wayland)
Description
The following code works with Qt 5.15.2 but doesn't work with Qt 6.2.1
import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.15 Window { id: window width: 640 height: 480 visible: true Dialog{ id: dialog width: 400; height: 400 Rectangle{ anchors.fill: parent Rectangle{ id: rect color: "red" width: 20; height: 20; } DragHandler{ target: rect } } } Component.onCompleted: dialog.open() }
It seems like the DragHandler is unable to receive the input events inside the Dialog.