• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 806 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.
    • D Offline
      dtarrant
      last edited by 29 Aug 2020, 22:07

      I was unable to log in to the BBC website. WhatsMyBrowser.org reported my OS as Android 4.4 instead of Ubuntu 16.04.

      I've had this problem before with my Nexus 4 and @applee advised switching browser to 'activate desktop mode'. This worked for my N4.

      This also worked for my PinePhone! Now identified as OS Ubuntu 16.04 and able to log in to BBC website.

      I hope this information may be useful to others.

      A D 2 Replies Last reply 30 Aug 2020, 17:39 Reply Quote 0
      • A Offline
        AppLee @dtarrant
        last edited by 30 Aug 2020, 17:39

        @dtarrant
        With OTA13 coming soon, I also advice to try the RC channel to benefit from the QtWebEngine upgrade with Morph.
        Modern website are better supported and it is supposedly faster too.

        Hopefully all these new features and enhancement will be in stable next week.

        D 1 Reply Last reply 30 Aug 2020, 22:23 Reply Quote 1
        • D Offline
          dobey @AppLee
          last edited by 30 Aug 2020, 22:23

          @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
          • D Offline
            dobey @dtarrant
            last edited by 30 Aug 2020, 22:25

            @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 31 Aug 2020, 02:37 Reply Quote 1
            • D Offline
              dtarrant @dobey
              last edited by 31 Aug 2020, 02:37

              @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)

              D 1 Reply Last reply 31 Aug 2020, 14:28 Reply Quote 0
              • D Offline
                dobey @dtarrant
                last edited by 31 Aug 2020, 14:28

                @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 31 Aug 2020, 16:38

                  @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.

                  A 1 Reply Last reply 31 Aug 2020, 16:46 Reply Quote 0
                  • A Offline
                    AppLee @dtarrant
                    last edited by 31 Aug 2020, 16:46

                    @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 K 3 Replies Last reply 1 Sept 2020, 10:16 Reply Quote 1
                    • D Offline
                      dtarrant @AppLee
                      last edited by 1 Sept 2020, 10:16

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

                      1 Reply Last reply Reply Quote 1
                      • K Offline
                        Keneda @AppLee
                        last edited by Keneda 9 Jan 2020, 16:41 1 Sept 2020, 16:41

                        @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 3 Sept 2020, 08:33

                          @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. 🙂

                          A 1 Reply Last reply 3 Sept 2020, 09:20 Reply Quote 0
                          • A Offline
                            AppLee @dtarrant
                            last edited by 3 Sept 2020, 09:20

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

                            1 Reply Last reply Reply Quote 0
                            3 out of 12
                            • First post
                              3/12
                              Last post