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

WebEngine fails to renders canvas elements when using software renderer

XMLWordPrintable

    • 8f7ae2efd14f837914512e2072ccf5d942a90b0f

      I use WebEngine based browser as a GUI for my application. I use software Qt Quick backend to avoid OpenGL dependency. When the html page produced by the application is complex enough the browser may render some parts of the page upside-down or as a black rectangle.

      I've tried Qt 5.8.0, 5.9.0 and 5.9.1 - they all are affected.

      The screens below are produced with simplebrowser from Qt 5.9.1 Examples.

      When using OpenGL renderer everything is fine:

      When using software renderer (QMLSCENE_DEVICE=softwarecontext ./simplebrowser) some part of the page is drawn upside-down while mouse events act as usual:

        1. browser_no_opengl_new.png
          66 kB
          Stanislav Markevich
        2. browser_no_opengl_new2.png
          72 kB
          Stanislav Markevich
        3. browser_no_opengl.png
          25 kB
          Stanislav Markevich
        4. browser_opengl.png
          67 kB
          Stanislav Markevich
        5. no-opengl.png
          71 kB
          Stanislav Markevich
        6. opengl.png
          314 kB
          Stanislav Markevich
        7. software.png
          329 kB
          Stanislav Markevich
        8. test.tar.gz
          308 kB
          Stanislav Markevich
        For Gerrit Dashboard: QTBUG-62867
        # Subject Branch Project Status CR V

            juri.valdmann Jüri Valdmann (Inactive)
            stasm Stanislav Markevich
            Votes:
            11 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes