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

QML Windows accept drag events when blocked by modal windows

XMLWordPrintable

    • macOS

      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;
      

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

            andysh Andy Shaw
            alanbirtles Alan Birtles
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes