Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2488

Linux drag-and-drop events wrong for editable QComboBox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.3.2
    • PySide
    • None
    • All Linux and Qt6 AFAICT. Does not happen on Mac/Windows.
    • Linux/X11

      On Linux, an editable QComboBox does not receive drag-and-drop events correctly.  As soon as the drag enters the widget, it immediately gets both dragEnterEvent and dragLeaveEvent, and dropping on the widget does not call dropEvent, but instead (if the drop is a file) immediately enters file:///path-to-file in the line-edit part of the combobox.

       

      A short PyQt6 example demonstrating the problem is attached.

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

            Unassigned Unassigned
            efp Eric Pettersen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes