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

QWebEngineView with Qt::Window flag not closed when its parent is closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.1
    • None

    Description

      In the construction function of main window:

       

      QWebEngineView *w =newQWebEngineView(this);
      w->setWindowFlags(w->windowFlags() | Qt::Window);
      w->load(QUrl("https://qt.io");
      

      Later, after I close the main window(the only primary window), the window of w is still open. It should be closed and the app should exit.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            yetanotherqtfan Bill Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes