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

Issue 672273 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

Quickly pause and resume Chrome while presenting WebVR page will enter ChromeVR onResume

Project Member Reported by bshe@chromium.org, Dec 7 2016

Issue description

1. pair with a Cardboard
2. go to https://webvr.info/samples/03-vr-presentation.html
3. press present button
4. press task switcher button to pause current WebVr page
5. quickly select Chrome from task stack to resume browser (within 1 second)

expected:
WebVR in magic window mode

actually:
WebVR in magic window mode BUT displayed in a quad in ChromeVR.

I am not sure how common someone may quickly pause/resume Chrome. So label it as M57 for now. We could try merge back to M56 if this is more common than I think.
 
Good catch!  I don't know that it's worth trying to fix this in M56 unless
the fix is trivial.
Shouldn't be an issue for M56, as ChromeVR (VR Shell) won't be enabled. You should stay in 2D as expected.

Should be a relatively easy fix for M57 though.

Comment 4 by bshe@chromium.org, Dec 9 2016

Labels: -M-57 M-56 Merge-Request-56
It is an issue for M56 too. Vr Shell is enabled as part of WebVR and we enter ChromeVR due to a wrong mode setting. The fix is now landed at TOT. I think it is safe to merge.  Although it might be rare that user hit this issue, but since we are not suppose to expose ChromeVR in M56 and the fix is pretty trivial, let's still try to merge.

Comment 5 by dimu@chromium.org, Dec 9 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 6 by bugdroid1@chromium.org, Dec 12 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f760a6661e89565a01535da34420d5e53b30795d

commit f760a6661e89565a01535da34420d5e53b30795d
Author: bshe <bshe@chromium.org>
Date: Mon Dec 12 16:59:15 2016

Don't try to enter VR onResume for Cardboard mode

This is the CL that merge the fix in https://codereview.chromium.org/2560843003/
to M56. The CL that landed in TOT has a small refactor which cause conflicts. So
this CL only merge the relevent fix to M56 (stripped out the small refactor).

BUG= 672273 
R=mthiesse@chromium.org

Review-Url: https://codereview.chromium.org/2564413003 .
Cr-Commit-Position: refs/branch-heads/2924@{#457}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/f760a6661e89565a01535da34420d5e53b30795d/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java

Comment 7 by bshe@chromium.org, Dec 12 2016

Status: Fixed (was: Started)
Components: Blink>WebVR
Labels: Proj-VR
Components: Blink>WebXR

Sign in to add a comment