Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. WebView shows checker pattern while HTML is loading

WebView shows checker pattern while HTML is loading

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mbarclaygmail.com
    wrote on last edited by
    #1

    This problem has been documented here:

    @https://bugs.webkit.org/show_bug.cgi?id=50222@

    They say that setting preferredHeight and preferredWidth will fix the problem, however I still see the checker pattern as the page loads. In fact, I can't find a deterministic way of knowing when the page is finished loading. The Webview signal onLoadFinished fires to early and I still see the pattern.

    Has anyone found a work around for this? My current work around is to hide the WebView with a Rectangle, then start a 2 second timer from onLoadFinished to set the Rectangle opacity = 0. Pretty ugly, and what if the page load takes more than 2 seconds?

    Thanks,
    Matt

    C 1 Reply Last reply
    0
    • M mbarclaygmail.com

      This problem has been documented here:

      @https://bugs.webkit.org/show_bug.cgi?id=50222@

      They say that setting preferredHeight and preferredWidth will fix the problem, however I still see the checker pattern as the page loads. In fact, I can't find a deterministic way of knowing when the page is finished loading. The Webview signal onLoadFinished fires to early and I still see the pattern.

      Has anyone found a work around for this? My current work around is to hide the WebView with a Rectangle, then start a 2 second timer from onLoadFinished to set the Rectangle opacity = 0. Pretty ugly, and what if the page load takes more than 2 seconds?

      Thanks,
      Matt

      C Offline
      C Offline
      cdan
      wrote on last edited by
      #2

      @mbarclaygmail.com anyone with a workaround?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved