• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera Mini Screen Size, DPR and Viewport Inaccuracies

    Opera Mini
    3
    4
    2539
    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.
    • hexalys
      hexalys last edited by

      Opera Mini for Android seem to have a major issue with the correct determination of the 'viewport-width' size.
      I have tested Opera Mini for over a year now, and whether on an SDK emulator or actual device, it's always incorrect.

      Here is a use case on a Fire HD Tablet (Amazon Kindle Fire HD 7" 4th Gen):

      The physical screen is 1280x800 1.5 DPR. Which at a Portrait Orientation should result in a layout Screen Size of 534 x 854 px.
      Hover Opera Mini for Android (both 8 and 9 beta) returns a viewport-width of 381px with a DPR of 2.1, screen.width of 381px and window.outerwidth of 800px.

      So the math 800/2.1 is correct, but where does it pull a docElem.clientWidth of 381px from the device data? I don't see how you get to that result.

      Reply Quote 0
        1 Reply Last reply
      • hexalys
        hexalys last edited by

        Found the answer to this from @andreasbovens. I guess we have no choice to deal with Opera Mini doing its own thing.

        Reply Quote 0
          1 Reply Last reply
        • gustavwiz
          gustavwiz last edited by

          I would really like you to fix that, it's very annoying.

          Reply Quote 0
            1 Reply Last reply
          • emyken
            emyken last edited by

            I can't find the turn on and off image

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

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-