scrollbars incorrect in Facebook (and other) webapps
Bug #1301678 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
High
|
Olivier Tilloy | ||
The Webapps-core project |
Invalid
|
Medium
|
Unassigned | ||
webbrowser-app |
Invalid
|
Undecided
|
Unassigned | ||
oxide-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using latest oxide and webapps, some of the webapps, notably Facebook display think vertical scroll bars. This only occurs in the webapp version. If you run Facebook in the browser the scrollbars appear correct (very small and thin)
Related branches
lp:~osomon/oxide/form-factor-egl
- Chris Coulson: Approve
-
Diff: 125 lines (+52/-37)2 files modifiedshared/browser/oxide_form_factor_linux.cc (+52/-36)
shared/shared.gyp (+0/-1)
summary: |
- scrollbars incorrect in Facebook webapp + scrollbars incorrect in Facebook (and other) webapps |
Changed in webbrowser-app: | |
status: | New → Confirmed |
no longer affects: | webapps-demo |
Changed in webapps-core: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in oxide: | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | Confirmed → In Progress |
importance: | Undecided → High |
Changed in oxide: | |
status: | In Progress → Fix Committed |
Changed in oxide: | |
status: | Fix Committed → Fix Released |
Changed in webapps-core: | |
status: | Confirmed → Invalid |
Changed in webbrowser-app: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
I think I know what’s going on: to determine which kind of scrollbars it should display, oxide queries the form factor. And to detect a phone or tablet, the current implementation tries to enumerate udev devices matching "android_usb". Application confinement for the webapp container means that it’s not allowed to perform this kind of query, and it therefore assumes desktop form factor:
Apr 3 10:08:10 ubuntu-phablet kernel: [ 9234.082092] type=1400 audit(139651969 0.090:296) : apparmor="DENIED" operation="open" parent=4734 profile= "com.ubuntu. developer. webapps. webapp- facebook_ webapp- facebook_ 1.0.11/ /oxide_ helper" name="/ proc/sys/ kernel/ yama/ptrace_ scope" pid=4735 comm="oxide- renderer" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0