Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Fixed
-
Affects Version/s: 5.6.0
-
Fix Version/s: 5.9.4
-
Component/s: (Inactive) QtQuick (version 1), Quick: Core Declarative QML
-
Labels:None
-
Environment:OSX
Windows
-
Platform/s:
Description
related to QTBUG-46287
QML Windows accept drag events when they are blocked by a modal window.
This can be fixed by changing the implementation of QQuickWindow::event as follows
... case QEvent::DragEnter: case QEvent::DragLeave: case QEvent::DragMove: case QEvent::Drop: if (!d->blockedByModalWindow) { d->deliverDragEvent(d->dragGrabber, e); } else { e->ignore(); } break;
Attachments
Issue Links
- duplicates
-
QTBUG-46287 QMainwindow accepts drop events even when a modal dialog is open
-
- Closed
-