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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575191

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to