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

Seg fault occurs when dragging from a QTreeWidget that has a reimplemented mimeData func

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.11.1
    • PySide
    • None
    • Qt5.11.1, Python 3.6.5, PySide2, MacOS 10.13.5
    • macOS

    Description

      Using Qt5.11.1, Python 3.6.5 , PySide2 on MacOS 10.13.5:

      Dragging QTreeWidgetItems from a subclassed QTreeWidget that has a reimplemented mimeData function causes a segmentation fault on drag initiation. Using the same subclassed QTreeWidget without the reimplemented mimeData function results in normal behavior. Using PyQt5.11, no segmentation fault occurs.

      A minimal example to recreate this behavior is attached. I apologize if this is a known issue and has been already reported.

      Attachments

        1. custom_mimeData.py
          0.7 kB
        2. pyside728.py
          1 kB

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              skusen Sherman Ku
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes