Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1, 5.4.1, 5.5.1, 5.9.3, 5.10.0 RC
-
OSX 10.9, Ubuntu 14.04, Windows
-
f58656a963fb80bae61b202bca404d033bca30ef (qtbase/5.9, 11.12.2017, 5.9.4)
Description
Even when the QMainWindow is blocked by a modal dialog, the window is accepting the drop events performed.
I have made a small application to demonstrate the same. In the application, the main window is set to accept all drop events and as soon as we drop something, it prints "Item Dropped" in the application output. When the push-button at the center is clicked the main window will be blocked by a modal dialog. But even then if the user drags and drops something in the main window the window is accepting the drop events and the text is getting printed.
Isn't it against the principle of modal dialog: "A modal widget prevents widgets in other windows from getting input."
Attachments
Issue Links
- is duplicated by
-
QTBUG-56236 QML Windows accept drag events when blocked by modal windows
-
- Closed
-
For Gerrit Dashboard: QTBUG-46287 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
148025,2 | Do not allow dragging onto a widget blocked by a modal window | 5.6 | qt/qtbase | Status: ABANDONED | +1 | 0 |
213564,2 | Do not allow drag events when window is blocked by modal window | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |