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. Strange WebView Problem
QtWS25 Last Chance

Strange WebView Problem

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.6k Views
  • 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 Offline
    H Offline
    huluyige
    wrote on last edited by
    #1

    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
    0
    • H Offline
      H Offline
      huluyige
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        mbrasser
        wrote on last edited by
        #3

        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
        0
        • H Offline
          H Offline
          huluyige
          wrote on last edited by
          #4

          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
          0

          • Login

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