[Bug 1328183] Re: User-Agent string results in poor UX on web

2017-02-18 Thread flohack
Alas, how can it be that not even photos.google.com works with the default UA string from Ubuntu Touch? If I remove MobileSafari part it´s ok. What kind of weird detection are they doing? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-10-19 Thread Olivier Tilloy
> now I've just finished fixing the code on my own site to handle "mobi" > and "like android" tokens correctly Glad that this discussion helped. However the real positive take-away should be: don’t use the UA string to infer device capabilities at all. There are nowadays enough web APIs to properl

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-10-16 Thread Matthew Exon
Thanks for the discussion of this issue. I came here from Bug #1506836, learned something, and now I've just finished fixing the code on my own site to handle "mobi" and "like android" tokens correctly :-) I've also submitted a feature request to LastPass. To broaden the discussion slightly, cou

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-08-11 Thread Rüdiger Kupper
Confirming the problem exists, and is imminent. Acknowledging it is hard to solve. However, it must be worked upon. UX depends on it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183 Title: Use

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-06-25 Thread Olivier Tilloy
Thanks for the reminder mpt. For the record, our initial approach a couple of years ago was to strictly follow Mozilla’s recommendations. However, we faced two severe issues that made us change our approach: - A vast majority of popular websites were serving incorrect content. Sometimes, it was

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-06-18 Thread Matthew Paul Thomas
In 2012, Mozilla developers explained why they chose not to include "Android" in their mobile UA string. Summary: Sites that mistakenly serve desktop-formatted pages are less likely to result in support calls, and are easier to address with evangelism, than

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-06-08 Thread Olivier Tilloy
** Changed in: webbrowser-app (Ubuntu) Status: Confirmed => Triaged ** No longer affects: webbrowser-app -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183 Title: User-Agent string result

[Bug 1328183] Re: User-Agent string results in poor UX on web

2015-03-16 Thread Olivier Tilloy
I’m changing the status of the bug to confirmed/triaged to acknoledge the issue, and to serve as a reference for similar future reports. Note however that as discussed at length already, there’s no good fix for this. ** Also affects: webbrowser-app Importance: Undecided Status: New ** C

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-09-27 Thread Shuduo Sang
I have tried to override UA with "user-agent-override": "Mozilla/5.0 custom-user-agent-string (unlike AnyOtheBrowser)" in the webapp-properties.json file as David Barth suggests. First problem is 'click build .' command do not package webapp-properties.json into click package as result. Then I m

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-09-22 Thread Olivier Tilloy
In your app’s manifest.json, just add the following key-value pair: "user-agent-override": "" where is a suitable UA string. From what I understand, you’ll want to provide a UA string of a desktop browser (try e.g. desktop chromium’s UA string). -- You received this bug notification becaus

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-09-22 Thread Shuduo Sang
Olivier, the url is https://wx.qq.com. the web requests a desktop version browser. could you pls point me where i can find the document or example how to overide UA in manifest file? thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-09-21 Thread Olivier Tilloy
Shuduo Sang, do I understand it correctly that your webapp refuses to serve its content because it recognizes the browser as a mobile one? Is this on desktop or on a mobile device (if so which one)? It would help if you could provide the URL of the app. Note that there is a mechanism to override

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-09-21 Thread Shuduo Sang
I have a webapp need customize UA for getting right behavior of website. Right now it recogizes the browser is mobile version and refuse to serve. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-07-31 Thread Olivier Tilloy
Here’s an interesting read from the mobile IE development team: http://blogs.msdn.com/b/ie/archive/2014/07/31/the-mobile-web-should- just-work-for-everyone.aspx. In essence, they had to modify their UA string to get a number of sites to render properly in mobile IE. Unfortunately the article doesn

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-18 Thread Olivier Tilloy
> Also, how does this play into the converged future? The default UA depends on the form factor. The "like Android" token is present only on mobile devices. This is not dynamic yet, but will be eventually. > And finally, sites really should not be using the User-Agent to > decide what data to se

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-17 Thread Rodney Dawes
Somehow "well enough" and "everyone telling all our users they should just use Android instead" don't seem to equate with me. Also, this bug is hardly invalid. You can say it won't be fixed, but that is very different from invalid. If what you are saying is that it won't ever be fixed, then change

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-17 Thread Olivier Tilloy
Note that our default UA contains "Ubuntu 14.04 like Android 4.4", so we’re not actually pretending to be Android, just hinting that we have similar capabilities, which leaves the door open to content producers to do a proper detection. For comparison, Firefox OS chose a deliberately short and cle

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-17 Thread Olivier Tilloy
I don’t have a Windows phone to test, but it would be interesting to know how they deal with that indeed. Do you happen to know which UA string they send? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-17 Thread Matthew Paul Thomas
The Windows Phone UA string does not mention Android. Does that cause IE Mobile to be served desktop or WAP pages on most Web sites? If not, why not? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/13281

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-16 Thread Olivier Tilloy
I’m marking this bug as invalid, not because it’s not an issue indeed, but because it will be better addressed as separate issues for specific websites/webapps. The issues related to including an "android" token in the default UA have been discussed extensively already, it’s a tradeoff we agreed t

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-16 Thread Olivier Tilloy
Thanks for the report Rodney. Getting the default UA string right is a very tricky thing to achieve. We’ve tried several approaches in the past, and there’s no perfect solution. Removing the android token from the default UA usually gets us a very poor UX on most websites and webapps as we are serv

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-15 Thread Adnane Belmadiaf
** Branch linked: lp:~daker/webbrowser-app/fix.1328183-twitter -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183 Title: User-Agent string results in poor UX on web To manage notifications about

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-15 Thread Adnane Belmadiaf
** Branch linked: lp:~daker/webbrowser-app/fix.1248728-2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183 Title: User-Agent string results in poor UX on web To manage notifications about this

[Bug 1328183] Re: User-Agent string results in poor UX on web

2014-06-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: webbrowser-app (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328183 Titl