New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 770245 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug-Regression
Proj-XR



Sign in to add a comment

Permanently fails to start WebVR presentation after exiting during DON flow or changing headset type

Project Member Reported by dbbrooks@chromium.org, Sep 29 2017

Issue description

Chrome Version: 63.0.3226.0
OS: Android N
Device: Any Daydream ready device
VRCore: 1.8.163477258

What steps will reproduce the problem?
(1) With Daydream set to default headset
(2) Open https://webvr.info/samples/03-vr-presentation.html
(3) Click Enter VR button
(4) User is asked to place phone in headset. Before syncing the controller, hit the x in the upper left hand corner to exit the DON flow.
(5) User is returned to the webpage.
(6) Hit Enter VR button <--- Bug: At this point, nothing happens. No error msg, just clicking the button multiple times with no response.
(7) refresh the page.
(8) Hit Enter VR button <--- Bug: Now a red error msg appears every time the button is pressed. See screenshot. This occurs indefinitely. It continues until the browser is restarted.


Another way to reproduce this is he following:
(1) With Daydream set to default headset
(2) Open https://webvr.info/samples/03-vr-presentation.html
(3) Click Enter VR button
(4) User is asked to place phone in headset. Before syncing the controller, hit the settings button in the upper right hand corner and change the default controller to cardboard.
(5) At this point the same bug occurs that is described above (from step 5)

Seems related to some other issues, but not sure if it's a dupe. See  issue 754342 ,  issue 759575 , and internal b/64899104
 
Screenshot_20170930-003938.png
741 KB View Download
Labels: -Restrict-View-Google
Cc: mthiesse@chromium.org
Labels: M-63 Pri-1 Type-Bug
Status: Available (was: Untriaged)
At ToT on October 2, I can repro this, but (within your first set of steps), at (5), the browser crashed for me, rather than returning to the webpage.  I immediately restart it, return to the 03-vr-presentation page, and then cannot Enter VR via the button.

Copying Michael as he's most aware of DON flow details/issues.

I've made this P1, but based on the fact that the issue shows only if the 'X'/'Gear' is touched, this could be dropped to P2 if this isn't exposing a critical underlying problem.
Cc: -mthiesse@chromium.org
Owner: mthiesse@chromium.org
Michael, can you please take a look?
Status: Started (was: Available)
Labels: -Type-Bug Type-Bug-Regression
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/158378368460f4fd0a70f2ddc34ea4683b22d217

commit 158378368460f4fd0a70f2ddc34ea4683b22d217
Author: Michael Thiessen <mthiesse@chromium.org>
Date: Wed Oct 11 20:42:37 2017

VR: Fix DON flow permanently failing after backing out of DON flow

I missed updating the state saying we were actually in the DON flow
when I added the s8 workaround ;)

Bug:  770245 
Change-Id: I858ae1c5daecf7b45c9206ed6477f29939729a58
Reviewed-on: https://chromium-review.googlesource.com/713748
Reviewed-by: Yash Malik <ymalik@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508100}
[modify] https://crrev.com/158378368460f4fd0a70f2ddc34ea4683b22d217/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
[modify] https://crrev.com/158378368460f4fd0a70f2ddc34ea4683b22d217/device/vr/android/gvr/gvr_device.cc

Status: Fixed (was: Started)
Issue is still reproducible in chrome Dev 64.0.3249.0

reproduction steps:
1. Open https://webvr.info/samples/03-vr-presentation.html
2. Hit "Enter VR" button
3. Don't put device in the headset when asked to. Before syncing the controller, hit the x in the upper left hand corner to exit the DON flow.
=> User is returned to Android Home screen, Chrome is running in the background at this point.
4. Open Chrome again
=> Error message is displayed on top of the page. New error message pops up every time when "Enter VR" button is clicked.
Status: Available (was: Fixed)
Owner: vsupruniuk@google.com
Status: Assigned (was: Available)
vsupruniuk, I think you're running into: https://bugs.chromium.org/p/chromium/issues/detail?id=759575

This is a known (separate) issue. Can you please confirm that the failure in that case isn't permanent, and only lasts ~10 seconds?

Please mark this issue as fixed/verified if that's the case.
Status: Verified (was: Assigned)
Right, it's possible to enter VR again after ~10 sec. Closing the issue.
Components: Blink>WebXR

Sign in to add a comment