On unity8 desktop, websites serve mobile version
Bug #1504084 reported by
Michael Zanetti
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
webbrowser-app (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
On unity8 on desktop, the webbrowser-app shows the mobile version of websites. This can be reproduced with e.g. http://
Related branches
lp:~osomon/webbrowser-app/ua-screenSize
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 224 lines (+80/-26)3 files modifiedsrc/Ubuntu/Web/UbuntuWebContext.qml (+26/-16)
src/Ubuntu/Web/UserAgent02.qml (+8/-4)
src/Ubuntu/Web/plugin.cpp (+46/-6)
Changed in canonical-devices-system-image: | |
milestone: | none → backlog |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in canonical-devices-system-image: | |
milestone: | backlog → ww02-2016 |
Changed in webbrowser-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Apps on unity8 run with qtubuntu, and there is code in the browser that assumes that qtubuntu == mobile (http:// bazaar. launchpad. net/~phablet- team/webbrowser -app/trunk/ view/head: /src/Ubuntu/ Web/plugin. cpp#L127).
Until now this was a decent approximation, but not any longer.
Note that oxide doesn’t do a much better job at it, because it assumes that running on an android kernel + egl means mobile: http:// bazaar. launchpad. net/~oxide- developers/ oxide/oxide. trunk/view/ head:/shared/ browser/ oxide_form_ factor_ detection_ linux.cc.