Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

WebView shows checker pattern while HTML is loading



  • 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



  • @mbarclaygmail.com anyone with a workaround?


Log in to reply