I already explained why the viewport size has to be changed when the
location bar moves - content that's fixed to the viewport (CSS position:
fixed or scrollbars) will be positioned incorrectly and could be outside
of the webview if it's not. Not resizing the viewport is not going to
happen.

Our browser behaves exactly the same as Chrome on Android here - in
fact, we use the same code for controlling the location bar position
(it's controlled by Chromium's renderer compositor, not the browser).
This problem doesn't manifest on large Chrome tablets because the
location bar is always displayed (at least, it is on my Nexus 10). A
quick check of the source code for Chrome/Android confirms that it's
always displayed on larger screens (where the smallest dimension is
greater than 800 DPs

https://chromium.googlesource.com/chromium/src.git/+/6ab9853acfbfae3e598004776c1d120805956038/chrome/android/java/src/org/chromium/chrome/browser/tab/TopControlsVisibilityDelegate.java#31
https://chromium.googlesource.com/chromium/src.git/+/6ab9853acfbfae3e598004776c1d120805956038/chrome/android/java/src/org/chromium/chrome/browser/device/DeviceClassManager.java#162

On my Nexus 7, the location bar does hide but this problem doesn't
manifest presumably because it gets the mobile UI which expects this
behaviour.

On both my Nexus 10 and Nexus 7, Chrome gets slightly different layouts
of the mobile UI for Google Plus. Our browser on the M10 gets the
standard desktop UI.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1575191

Title:
  plus.google.com re-layouts horizontally when the top bar shows/hides

Status in Canonical System Image:
  Confirmed
Status in Oxide:
  Invalid
Status in Ubuntu UX:
  New
Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  Some sites have a menu bar at the top, which appears or disappears
  depending if you scroll up or down... the presence or absence of this
  bar causes the browser app to change it's scaling, and this means that
  scrolling up/down while browsing results in the device continually re-
  rendering as it re-scales the page...

  This badly afffects google+ and presumably other google properties...

  See example here:-

  https://www.youtube.com/watch?v=uYhu9v4aX6w

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1575191/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to