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

WebEngineView resize extremely slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • WebEngine
    • None
    • Windows 10 LTSC 21H2
    • Windows

    Description

       

      use qt creator guide to create a qml project, paste the qml code below:

      import QtQuick 2.15
      import QtQuick.Window 2.15
      import QtWebEngine 1.10
      
      Window {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")
      
        WebEngineView {
          id: webView
          anchors.fill: parent
          url: "http://127.0.0.1/empty.html"
        }
      } 

      empty.html:

      <!DOCTYPE html><html lang="en"><head>  <meta charset="UTF-8">  <title>Empty Page</title>  <style>    body { height: 100%; background-color: beige; }  </style></head><body>  <p>This is a empty page.</p></body>

      watch the attched video.

      sometimes the whole page become blank (pure white) and recover after 1s.

       

      Attachments

        1. resize.mp4
          12.75 MB
        2. resize2.mp4
          10.37 MB
        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
            liberize Paul Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes