Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-930

QWebEngineView crash after fullScreenRequested

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.12.0, 5.12.1
    • PySide
    • None
    • Windows 10 Pro, 64 GB Ram
    • Linux/X11, Windows
    • e738f1a37 (dev)

    Description

      Every time I am executing the command to go fullscreen Python 3.72 crashes. I also tried with 3.6 and receive similar result.

      There seems to be a bug with fullScreenRequested . It crashes after the request.accept()

      from PySide2.QtWidgets import QApplication
      from PySide2.QtWebEngineWidgets import QWebEngineView
      from PySide2.QtCore import QUrl
      from PySide2.QtWebEngineWidgets import QWebEngineSettings
      
      app = QApplication([])
      view = QWebEngineView()
      view.settings().setAttribute(QWebEngineSettings.FullScreenSupportEnabled, True)
      view.page().fullScreenRequested.connect(lambda request: request.accept()) 
      
      view.load(QUrl("https://youtube.com"))
      view.show()
      app.exec_()
      

      Attachments

        1. pyside2_fullscreen_crash.jpg
          pyside2_fullscreen_crash.jpg
          37 kB
        2. pyside930_cpp.zip
          1 kB
        3. pyside930.py
          0.8 kB

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              peterk Peter Kober
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes