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

Not possible to accept QWebEngineFullScreenRequest asynchronously

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes