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

Crash with QTextEdit on Drag & Drop with OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.1
    • Component/s: GUI: Drag and Drop
    • Labels:
      None
    • Environment:
      Mac OS X 10.8
    • Platform/s:
      macOS
    • Commits:
      d55db6dd535149adca77a5d5a1bb61823aee94b5

      Description

      This drag & drop crash can be replicated within Qt designer simply by creating a window with 2 QTextEdit widgets and dragging text back and forth between the two of them

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libobjc.A.dylib 0x00007fff85162250 objc_msgSend + 16
      1 libqcocoa.dylib 0x00000001127bf0cd QCocoaDrag::drag(QDrag*) + 365
      2 QtGui 0x000000011028c728 QDragManager::drag(QDrag*) + 200
      3 QtGui 0x000000011028bcc8 QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) + 168
      4 QtWidgets 0x000000010d2f5473 QWidgetTextControlPrivate::startDrag() + 179
      5 QtWidgets 0x000000010d2f8e77 QWidgetTextControlPrivate::mouseMoveEvent(QEvent*, Qt::MouseButton, QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, QPoint const&) + 551
      6 QtWidgets 0x000000010d2f72de QWidgetTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) + 1198
      7 QtWidgets 0x000000010d2f6e20 QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) + 80
      8 QtWidgets 0x000000010d2da9f0 QTextEdit::mouseMoveEvent(QMouseEvent*) + 304
      9 QtWidgets 0x000000010d2d9ea4 QTextEdit::timerEvent(QTimerEvent*) + 484
      10 QtCore 0x00000001108caff3 QObject::event(QEvent*) + 51
      11 QtWidgets 0x000000010d1970b2 QWidget::event(QEvent*) + 4514
      12 QtWidgets 0x000000010d274357 QFrame::event(QEvent*) + 183
      13 QtWidgets 0x000000010d2ef4bb QAbstractScrollArea::event(QEvent*) + 1627
      14 QtWidgets 0x000000010d2d9bcc QTextEdit::event(QEvent*) + 396
      15 QtWidgets 0x000000010d15f897 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 311
      16 QtWidgets 0x000000010d163119 QApplication::notify(QObject*, QEvent*) + 9897
      17 QtCore 0x00000001108a32be QCoreApplication::notifyInternal(QObject*, QEvent*) + 110
      18 QtCore 0x00000001108ed2a3 QTimerInfoList::activateTimers() + 1027
      19 libqcocoa.dylib 0x00000001127a20e5 QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 21
      20 com.apple.CoreFoundation 0x00007fff89858b31 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
      21 com.apple.CoreFoundation 0x00007fff89858455 __CFRunLoopDoSources0 + 245
      22 com.apple.CoreFoundation 0x00007fff8987b7f5 __CFRunLoopRun + 789
      23 com.apple.CoreFoundation 0x00007fff8987b0e2 CFRunLoopRunSpecific + 290
      24 com.apple.HIToolbox 0x00007fff8314eeb4 RunCurrentEventLoopInMode + 209
      25 com.apple.HIToolbox 0x00007fff8314ec52 ReceiveNextEventCommon + 356
      26 com.apple.HIToolbox 0x00007fff8314eae3 BlockUntilNextEventMatchingListInMode + 62
      27 com.apple.AppKit 0x00007fff88c53533 _DPSNextEvent + 685
      28 com.apple.AppKit 0x00007fff88c52df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      29 com.apple.AppKit 0x00007fff88c4a1a3 -[NSApplication run] + 517
      30 libqcocoa.dylib 0x00000001127a298b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1307
      31 QtCore 0x00000001108a0753 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 403
      32 QtCore 0x00000001108a3845 QCoreApplication::exec() + 357
      33 com.invictus-innovations.Keyhotee 0x000000010c461d54 main + 1029 (main.cpp:92)
      34 libdyld.dylib 0x00007fff812207e1 start + 1

        Attachments

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

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            bytemaster Daniel Larimer
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes