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

Getting error "Cannot read property 'destroy' of undefined" when trying to close the tab in Nano Browser example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0 Beta2
    • WebEngine
    • None
    • macOS

      MacOS 15.6

      Qt 6.10.0 beta 2

      Qt Creator 18.0.0

      Steps:

      1. Run the example - https://doc.qt.io/qt-6/qtwebengine-webenginequick-quicknanobrowser-example.html
      2. Open a few more tabs.
      3. Try to close all the open tabs or the browser window.

      Actual: When there are only two tabs left, they cannot be closed due to the error:

      qrc:/qt/qml/BrowserUtils/BrowserWindow.qml:546: TypeError: Cannot read property 'destroy' of undefined
      qrc:/qt/qml/BrowserUtils/BrowserWindow.qml:546: TypeError: Cannot read property 'destroy' of undefined 

        For Gerrit Dashboard: QTBUG-139461
        # Subject Branch Project Status CR V

            michal Michal Klocek
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change