Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Strange WebView Problem

    QML and Qt Quick
    2
    4
    2306
    Loading More Posts
    • 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.
    • H
      huluyige last edited by

      Hi everyone,

      I am using WebView to load Http web page. I tested on N8 and simulator:

      on N8 : When I change the url, the new page superimposes(overlaps) the previous one(that is: the two page seem to display the same time and, the new page seems tranparent). And when i zoom the page, the phenomenon disapears.

      on Simulator (Linux, SDK 1.1): there is not the problem at all.

      I dont know it is a problem of "refresh or load url " or not? I try to use

      @url=""
      url="new url"@

      but it doesn't work.

      Can anyone help me?
      Thanks

      1 Reply Last reply Reply Quote 0
      • H
        huluyige last edited by

        I find another post which seems the same problem

        "link":http://discussion.forum.nokia.com/forum/showthread.php?216383-About-qml-problems-using-webview-memory-and-cache

        1 Reply Last reply Reply Quote 0
        • M
          mbrasser last edited by

          Hi,

          This sounds like a bug -- I'd suggest filing a report at https://bugs.webkit.org (using component "WebKit Qt").

          Regards,
          Michael

          1 Reply Last reply Reply Quote 0
          • H
            huluyige last edited by

            I worked on this, and i got 2 workarounds that you guys can test .

            1. in the code of your web page, you change your html or css to add a background (white) for your web page.

            2. you create 2 webviews, and you use a loader to switch these 2 webviews dynamically. this is allowed to avoid overlaps just for the first level of navigation. but another problem arrives, when you navigate in the web page, you can't create another webview one after another to avoid overlaps.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post