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

[Android] WebView content zoomed sometimes

    XMLWordPrintable

Details

    • Android

    Description

      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.

      Attachments

        1. image-2020-11-24-16-47-38-157.png
          image-2020-11-24-16-47-38-157.png
          71 kB
        2. ng.png
          ng.png
          175 kB
        3. ok.png
          ok.png
          485 kB
        4. qtbug58290.zip
          15 kB
        5. QTBUG-58290-simplified.zip
          3 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: