Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0, 5.8.0
-
None
-
25555238cde42daf5a73669234e737c90ef9ea5f
Description
When dragging an item within a web page the mouse cursor is not updated.
For example on http://gaearon.github.io/react-dnd/examples-chessboard-tutorial-app.html the mouse cursor should be Qt::ForbiddenCursor on forbidden chess board fields, but it always is Qt::DragMoveCursor.
Even when QQuickWebEngineView::dragMoveEvent ignores the event properly (see https://codereview.qt-project.org/#/c/182641/1) the cursor is always Qt::DragMoveCursor.
This is due to code in QQuickWindowPrivate::deliverDragEvent which creates a "translated" copy of the event object but ignores its accepted flag after being handled by QQuickItem::dragMoveEvent.
Attachments
For Gerrit Dashboard: QTBUG-58260 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
146875,12 | Fix copied QDragMoveEvent drop action to propagate to original event | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |