Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0
-
ubuntu 16.04 with Qt 5.7, WIndows
Description
Sub-class QWebEngineView to enable dragging. (See attached file qwebeng,tar)
Run the attached program.
Select the text with the mouse.
Press mouse left button to drag the text.
Drag it outside of the window.
Check the output of the program (console or QtCreator app window)
The thread within QWebEngine has crashed. (See callstack2.txt)
It crashes within WebViewImpl::dragTargetDragLeave because m_currentDragData is null.
It is null because WebViewImpl::dragTargetDragEnter, which creates m_currentDragData was never called.
Attachments
For Gerrit Dashboard: QTBUG-54896 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
174984,3 | Prevent crash with overridden drag 'n drop event handlers | 5.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |