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

QTWebEngine WEBGL Error occurs from version 6.9.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.9.0
    • PySide
    • None
    • Windows
    • Windows

    Description

      pyside6: 6.9.0

       

      pyside6: 6.8.3

      {}

       

      same code

      ```
      import sys
      import os

      from PySide6.QtCore import QUrl
      from PySide6.QtWebEngineCore import QWebEngineSettings
      from PySide6.QtWebEngineWidgets import QWebEngineView
      from PySide6.QtWidgets import QApplication, QVBoxLayout, QWidget

      class Widget(QWidget):

          def {}init{}(self):
              super().{}init{}()
              self.setWindowTitle("QWebEngineView, PySide6, Python")
              self.resize(650, 400)

              layout = QVBoxLayout()
              view = QWebEngineView()
              layout.addWidget(view)
              self.setLayout(layout)

              print("----------------------")
              print(
                  view.settings().testAttribute(QWebEngineSettings.WebAttribute.WebGLEnabled)
              )
              view.setUrl(QUrl("chrome://gpu"))

      if {}name{} == "{}main{}":
          app = QApplication(sys.argv)
          w = Widget()
          w.show()
          sys.exit(app.exec())

      ```
       

      QWebEngine WEBGL Error occurs from version 6.9.0
      But, 6.8.3 work

      Attachments

        1. image-2025-04-24-22-03-16-199.png
          41 kB
          hyeonho cho
        2. image-2025-04-24-22-05-56-910.png
          126 kB
          hyeonho cho
        3. pyside3090.py
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            aesthetics-of-record hyeonho cho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes