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

Not possible to accept QWebEngineFullScreenRequest asynchronously

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.7.0
    • WebEngine
    • None
    • Linux x64 but likely affects all environments

    Description

      It is not possible to call QWebEngineFullScreenRequest.accept() anywhere other than in the SLOT connected to fullScreenRequested(). Doing so results in the error:
      Cannot accept QWebEngineFullScreenRequest: Originating page is already deleted

      The page has not been deleted. Calling accept() in the SLOT works fine.

      This bug means that it is not possible to ask the user for permission to switch to full screen.

      I dont know if the underlying chromium APIs allow this to be asynchronous. If not, then perhaps the documentation of QWebEngineFullScreenRequest should be updated to make this clear.

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              kovidgoyal Kovid Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes