Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56236

QML Windows accept drag events when blocked by modal windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OSX
      Windows
    • Platform/s:
      macOS

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            alanbirtles Alan Birtles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes