Details
-
Bug
-
Status: Closed
-
P1: Critical
-
Resolution: Invalid
-
5.15.2
-
None
-
None
Description
Despite #86822 related fixes added to 5.15.2, the issue still occurs on an object inheriting a QTreeView, on both 10.14 and 10.15, where it only happens on 10.15 with Qt 5.14
The same code works on 10.14 with Qt 5.14.2, but produces the following log on 10.15 with 5.15.2 :
2020-11-30 09:15:05.136212+0100 OpenBoard[62332:1982352] NSURLs written to the pasteboard via NSPasteboardWriting must be absolute URLs. NSURL '' is not an absolute URL. 2020-11-30 09:15:05.139693+0100 OpenBoard[62332:1982352] [General] There are 0 items on the pasteboard, but 2 drag images. There must be 1 draggingItem per pasteboardItem. 2020-11-30 09:15:05.142752+0100 OpenBoard[62332:1982352] [General] ( 0 CoreFoundation 0x00007fff30d9eb57 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x00007fff69c185bf objc_exception_throw + 48 2 CoreFoundation 0x00007fff30d9e9b5 +[NSException raise:format:] + 189 3 AppKit 0x00007fff2ea0c73f -[NSDraggingSession(NSInternal) _initWithPasteboard:draggingItems:clippingRect:source:] + 222 4 AppKit 0x00007fff2e55e9c0 -[NSCoreDragManager beginDraggingSessionWithItems:fromWindow:withClipRect:event:source:] + 1813 5 AppKit 0x00007fff2e8646ad -[NSView(NSDrag) beginDraggingSessionWithItems:event:source:] + 259 6 libqcocoa.dylib 0x000000010c2544aa _ZN10QCocoaDrag22maybeDragMultipleItemsEv + 1626 7 libqcocoa.dylib 0x000000010c253c4c _ZN10QCocoaDrag4dragEP5QDrag + 252 8 QtGui 0x00000001067d5aff _ZN12QDragManager4dragEP5QDrag + 319 9 QtGui 0x00000001067d5fbe _ZN5QDrag4execE6QFlagsIN2Qt10DropActionEES2_ + 126 10 QtWidgets 0x00000001062c313c _ZN17QAbstractItemView9startDragE6QFlagsIN2Qt10DropActionEE + 556 11 QtWidgets 0x00000001062b983d _ZN17QAbstractItemView14mouseMoveEventEP11QMouseEvent + 413 12 QtWidgets 0x0000000106329ec7 _ZN9QTreeView14mouseMoveEventEP11QMouseEvent + 199 13 QtWidgets 0x0000000106086e27 _ZN7QWidget5eventEP6QEvent + 487 14 QtWidgets 0x000000010612f58d _ZN6QFrame5eventEP6QEvent + 45 15 QtWidgets 0x00000001062b8ec9 _ZN17QAbstractItemView13viewportEventEP6QEvent + 1417 16 QtWidgets 0x0000000106326225 _ZN9QTreeView13viewportEventEP6QEvent + 517 17 QtCore 0x0000000107871ceb _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent + 155 18 QtWidgets 0x000000010604c9d5 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 245 19 QtWidgets 0x000000010604f755 _ZN12QApplication6notifyEP7QObjectP6QEvent + 6965 20 QtCore 0x0000000107871a34 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212 21 QtWidgets 0x000000010604d310 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 896 22 QtWidgets 0x00000001060a6022 _ZN13QWidgetWindow16handleMouseEventEP11QMouseEvent + 3266 23 QtWidgets 0x00000001060a46e9 _ZN13QWidgetWindow5eventEP6QEvent + 233 24 QtWidgets 0x000000010604c9ea _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 266 25 QtWidgets 0x000000010604de11 _ZN12QApplication6notifyEP7QObjectP6QEvent + 497 26 QtCore 0x0000000107871a34 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212 27 QtGui 0x0000000106790e2e _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 3534 28 QtGui 0x0000000106775d7b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 219 29 libqcocoa.dylib 0x000000010c242260 _ZN28QCocoaEventDispatcherPrivate19processPostedEventsEv + 320 30 libqcocoa.dylib 0x000000010c2429c8 _ZN28QCocoaEventDispatcherPrivate26postedEventsSourceCallbackEPv + 40 31 CoreFoundation 0x00007fff30d22d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 32 CoreFoundation 0x00007fff30d22cf1 __CFRunLoopDoSource0 + 103 33 CoreFoundation 0x00007fff30d22b0b __CFRunLoopDoSources0 + 209 34 CoreFoundation 0x00007fff30d2183a __CFRunLoopRun + 927 35 CoreFoundation 0x00007fff30d20e3e CFRunLoopRunSpecific + 462 36 HIToolbox 0x00007fff2f94dabd RunCurrentEventLoopInMode + 292 37 HIToolbox 0x00007fff2f94d6f4 ReceiveNextEventCommon + 359 38 HIToolbox 0x00007fff2f94d579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 39 AppKit 0x00007fff2df93039 _DPSNextEvent + 883 40 AppKit 0x00007fff2df91880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 41 AppKit 0x00007fff2df8358e -[NSApplication run] + 658 42 libqcocoa.dylib 0x000000010c24162f _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 2495 43 QtCore 0x000000010786dacf _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431 44 QtCore 0x0000000107872042 _ZN16QCoreApplication4execEv + 130 45 OpenBoard 0x00000001000bae9d _ZN13UBApplication4execERK7QString + 5133 46 OpenBoard 0x00000001000b7a90 main + 912 47 libdyld.dylib 0x00007fff6adc0cc9 start + 1