UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PinePhone Browser not working with some websites

    Scheduled Pinned Locked Moved Support
    12 Posts 4 Posters 848 Views 1 Watching
    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.
      • dobeyD Offline
        dobey @AppLee
        last edited by

        @AppLee The Pinephone is not on the same release schedule as the Android based devices yet. Everyone on a pinephone should already have the new QtWebEngine I think.

        1 Reply Last reply Reply Quote 1
        • dobeyD Offline
          dobey @dtarrant
          last edited by

          @dtarrant Hmm. It sounds like maybe there needs to be a User-Agent override addition, or perhaps update, for the BBC site in morph-browser. I'd suggest opening an issue at https://github.com/ubports/morph-browser

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            dtarrant @dobey
            last edited by

            @dobey @applee It seems to me that UT should never report itself as OS Android 4.4 because that causes the BBC to complain about an out-of-date browser. Once I select 'Activate desktop mode' in Browser Settings, PinePhone correctly reports itself as OS Ubuntu 16.04 and the BBC website works fine. I will open an issue at https://github.com/ubports/morph-browser as you suggest.
            (I am on latest RC channel)

            dobeyD 1 Reply Last reply Reply Quote 0
            • dobeyD Offline
              dobey @dtarrant
              last edited by

              @dtarrant No. The problem is that web sites are garbage and try to rely on User-Agent, which they shouldn't do, resulting in many false assumptions. The browser has many User-Agent overrides defined for it, in an attempt to make web sites work better on UT, instead of telling you to just install an Android app or presenting you with a site only suitable for a PC with a big screen and low DPI.

              But yes, I agree the logic needs some updating and expansion to be better suited for changes in the world over the last few years while the User-Agent handling in the browser has mostly laid stagnant.

              1 Reply Last reply Reply Quote 1
              • D Offline
                dtarrant
                last edited by

                @dobey @AppLee OK, I see what you mean. I've just run whatsmybrowser.org on my Nexus 4 for 'activate desktop mode' both off and on. In each case the reported user agent strings are identical. The whatsmybrowser tool however reports the OS as Android 4.4 in one case and Ubuntu 16.04 in the other.
                I don't see the point of Ubuntu Touch identifying itself as Android 4.4 in the first case.

                AppLeeA 1 Reply Last reply Reply Quote 0
                • AppLeeA Offline
                  AppLee @dtarrant
                  last edited by

                  @dtarrant
                  If you identify as Ubuntu, the website will assume you're on a desktop computer.
                  With Android it will assume mobile device (phone or tablet), so it may react by adapting the UI to be "responsive".

                  With a full HD screen how does the browser knows if you're on a 24" or 6" screen ?
                  Many uses the OS to adapt their content... (only two major mobile OSes make it easy to handle every cases)

                  D KenedaK 3 Replies Last reply Reply Quote 1
                  • D Offline
                    dtarrant @AppLee
                    last edited by

                    @AppLee Aha, I am beginning to understand now. Many thanks for your input.

                    1 Reply Last reply Reply Quote 1
                    • KenedaK Offline
                      Keneda @AppLee
                      last edited by Keneda

                      @AppLee said in PinePhone Browser not working with some websites:

                      With Android it will assume mobile device (phone or tablet), so it may react by adapting the UI to be "responsive".

                      Maybe it should identify itself as a WAY LESS deprecated androïd system...
                      Like 7 or 8...
                      4.4 has gone prehistorical.

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                      🇲🇫🇬🇧

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dtarrant @AppLee
                        last edited by

                        @AppLee The insight you provided enabled me to improve the browsing experience on my Nexus 4. In browser settings I turned 'desktop mode' off and 'automatic fit to width' on.
                        I suppose that's obvious when you think about it. 🙂

                        AppLeeA 1 Reply Last reply Reply Quote 0
                        • AppLeeA Offline
                          AppLee @dtarrant
                          last edited by

                          @dtarrant I'm glad I could help :thumbs_up:

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