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

QWidget :: createWindowContainer does not support drag and drop (DND) with XWindowSystem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.15.0 RC2, 6.1.1
    • Ubuntu
    • Linux/X11

      A similar issue has already been raised on Qt4 with QX11EmbedContainer: error report xembed. After switching to the new embedding system (QWindow::fromWinId and QWidget::createWindowContainer) it was not resolved. Has been tested on Qt5 and Qt6. Based on the QWindowContainer sources, the DND event should be dispatched to the original window in the XWindow system through an intermediary created with QWindow::fromWinId. But no events dispatched to the original window through the intermediary using QCoreApplication::sendEvent are passed. Apparently they are not passed to the XWindow by the intermediary. There is also a suspicion that the DND event is not passed to the original window, because there is no handling of these events in QWindow. It is only present in QWidgetWindow. Is there any information on this error? Or maybe there is already a solution to it? Thanks in advance.

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

            liaqi Liang Qi
            mrd Dmitriy Kryukov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes