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

QWebEngineView crashes when clicking link openening a new window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.6.0 Beta
    • WebEngine
    • 52f039fe09d0c0cfd9e988b8b15293a9b5d7583d

    Description

      When instantiating a pure QWebEngineView and clicking on a link which opens a new window, e.g., the Facebook link on the bootom of qt.io, the application crashes.
      Start of backtrace

      #0  0xffffffff in QWebEnginePagePrivate::adoptNewWindow(QtWebEngineCore::WebContentsAdapter*, QtWebEngineCore::WebContentsAdapterClient::WindowOpenDisposition, bool, QRect const&) (this=0x8162970, newWebContents=newWebContents@entry=0xa66d6b0, disposition=disposition@entry=QtWebEngineCore::WebContentsAdapterClient::NewPopupDisposition, userGesture=userGesture@entry=true, initialGeometry=...)
          at /home/user/devel/qt5/qtwebengine/src/webenginewidgets/api/qwebenginepage.cpp:240
      #1  0xffffffff in QtWebEngineCore::WebContentsDelegateQt::createWindow(content::WebContents*, WindowOpenDisposition, gfx::Rect const&, bool) (this=this@entry=0x81b68c8, new_contents=new_contents@entry=0x97e52b8, disposition=disposition@entry=NEW_POPUP, initial_pos=..., user_gesture=user_gesture@entry=true) at /home/user/devel/qt5/qtwebengine/src/core/web_contents_delegate_qt.cpp:347
      

      This happens with a pretty new custom build. The qtwebengine version is cd1697f022063dafc59fb512b4a469fbe38729cc.

      This can be reproduced for example with the test application from QTBUG-48969.

      Attachments

        1. bt-50718.txt
          11 kB
          Armin Berres
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            berres Armin Berres
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes