New issue
Advanced search Search tips

Issue 704525 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Unexpected display of "battery status bar" on fullscreen PWA

Reported by matthieu...@gmail.com, Mar 23 2017

Issue description

Steps to reproduce the problem:
let's call "Battery Status Bar" (BSB) the top fixed bar on android.

1. Open a PWA
2. transition: top Xs; on an element from negative top value to 0
3. the BSB is shown

What is the expected behavior?
The BSB should be shown only if the user swipe down from the very top.

What went wrong?
unexpected display of BSB

Did this work before? Yes 56

Does this work in other browsers? Yes

Chrome version: 57.0.2987.98  Channel: beta
OS Version: 6
Flash Version: Shockwave Flash 25.0 r0

The BSB is probably hidden since v57 to solve the "100vh issue" but it's not consistent with native app.
 
2017_03_23_13_32_17.mp4
2.7 MB View Download
Cc: bokan@chromium.org
Components: Content>WebApps Mobile>WebAPKs
Labels: Hotlist-PWA-Feedback

Comment 2 by bokan@chromium.org, Mar 23 2017

Cc: -bokan@chromium.org
Labels: -Pri-2 Hotlist-Input-Dev Pri-1
Owner: bokan@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 3 by bokan@chromium.org, Mar 23 2017

Labels: Needs-Feedback
Maybe I'm not understanding the problem correctly, but I don't think the status bar comes down because of the transition. It's shown when the keyboard appears, and as far as I can tell that's unchanged in behavior - M56 also shows the bar when the keyboard comes up. I've tried M55 as well and the behavior is the same.

See http://bokand.github.io/keyboardtest.html. Tapping on the body causes a red bar to transition down from the top - this doesn't cause any system UI from appearing. Tapping inside the input box causes the keyboard and status bar to appear.

Is there something I'm missing?

Comment 4 Deleted

Yes, you are right, it's because of the keyboard.

On stable (56), the status bar is fixed and always present (as a native app) 
On beta and dev, the status bar slide down over the content (can distrub user experience) when keyboard appear (why especially in that case? Is it the expected behavior?)

Comment 6 by bokan@chromium.org, Mar 24 2017

I'm a little confused, on Stable the status bar isn't always present when in fullscreen. Are you entering fullscreen mode (via webkitRequestFullscreen) or are you just launching the PWA in "standalone" mode and the status bar is hidden?

The only difference I can see between Stable and Dev/Canary is that the status bar is transparent in Canary - I'm looking into that to see if its intentional or not. If you're seeing something else, posting videos of the two versions in comparison would be helpful.
PWA is in display:fullscreen
look at attachment
2017_03_24_15_57_51.mp4
16.0 MB Download

Comment 8 by bokan@chromium.org, Mar 24 2017

Ah, got it. Thanks for the video, I'll take another look. Also, what device are you testing on? Does it draw the Android Navigation Bar (the bottom bar with the Home and Back buttons) on the screen or does it have dedicated hardware buttons?
Oneplus One, hardware buttons, android 6.0.1
Tell me if I can help

Comment 10 by bokan@chromium.org, Mar 24 2017

Ah, so it looks like "display": "fullscreen" isn't supported until M58 ships. See issue 581522. I believe the keyboard forcing down the status bar is intended behavior. The fact that the app wasn't launching in fullscreen prior to this is expected.
Ok my bad, I have to replace by standalone so. Thanks for your help
Status: WontFix (was: Assigned)

Sign in to add a comment