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

QWebEngineView will crash when cursor leaves the QWebEngineView display area

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.7.2
    • Component/s: WebEngine
    • Environment:
      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

        1. callstack2.txt
          4 kB
        2. qtbug54896_windows_trace.txt
          4 kB
        3. qtbug54896.zip
          3 kB
        4. qwebeng.tar
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            skycrestway Gary Holmlund
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes