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

[Android] WebView content zoomed sometimes

XMLWordPrintable

    • Android

      HTML content in WebView is sometimes shown heavily zoomed in and sometimes it is shown correctly. This is probably best seen in a StackView. When you push the WebView for the first time, the content is shown correctly. Then after you pop and push it again (might need a few attempts) content is shown very large. See attached images.

      The problem is reproducible on Android, Nexus 7, API levels 21 and 23, but it is not reproducible on Samsung Galaxy S3, API level 16. And it is also not reproducible on iOS.

      Attached example reproduces the problem. Click the link on the first page (pushes the WebView to stack) and see the document shown correctly, then click "Page - Pop" button and click the link again. After a few repeats the document is shown zoomed.

        1. image-2020-11-24-16-47-38-157.png
          71 kB
          lukasz.kosiorowski
        2. ng.png
          175 kB
          Qt Support
        3. ok.png
          485 kB
          Qt Support
        4. qtbug58290.zip
          15 kB
          Qt Support
        5. QTBUG-58290-simplified.zip
          3 kB
          Bartlomiej Moskal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bartlomiejmoskal Bartlomiej Moskal
            qtcomsupport Qt Support
            Votes:
            6 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes