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

QML Windows accept drag events when blocked by modal windows

    XMLWordPrintable

Details

    • 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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes