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

Drag+drop from macOS finder to QTreeView crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.4.0
    • GUI: Drag and Drop
    • None
    • macOS

    Description

      Drop of an external file on QTreeView crashes the app, see attached crash log.

      Preconditions:

      • at least one treeview item must be selected
      • a stylesheet for "hover" must be set
      • file must be dragged from macOS finder

      I've attached sample code to reproduce this issue. On my machine it requires several attempts until the app crashes.

      Might be related to QTBUG-106115

      Attachments

        1. CMakeLists.txt
          0.2 kB
        2. crash.log
          5 kB
        3. main.cpp
          1 kB

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              jgrill Joachim Grill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes