PinePhone Browser not working with some websites
-
@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.
-
@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
-
@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) -
@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.
-
@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. -
@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) -
@AppLee Aha, I am beginning to understand now. Many thanks for your input.
-
@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. -
@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. -
@dtarrant I'm glad I could help