Uploaded image for project: 'Qt WebBrowser'
  1. Qt WebBrowser
  2. QTWB-9

some pages have a lot of white space around them

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 1.0
    • General
    • None
    • qt5.7
      raspberry pi 2
      Up to date Arch Linux
      xfce4

    Description

      On a arm based devices with wayland/weston some pages are rendered with a lot of white spaces around them. The window.innerWidth is reported much larger than the actual screen size and larger than on other sites without this effect.

      I figured out that this only affects sites that have a specific line in the header. A minimal example that shows this effect is

      
      <html>
      <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
      </head>
      <body>
          <p style="width:100%; background-color:red;">test</p>
      </body>
      </html>
      

      Attachments

        1. Screenshot1.png
          Screenshot1.png
          17 kB
        2. Screenshot2.png
          Screenshot2.png
          16 kB

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            laser_b Raphael Freudiger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: