Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Enter VR button just going to fullscreen/video, not immersive #1926

Closed
larsbergstrom opened this issue Oct 7, 2019 · 13 comments
Closed

Enter VR button just going to fullscreen/video, not immersive #1926

larsbergstrom opened this issue Oct 7, 2019 · 13 comments
Assignees
Milestone

Comments

@larsbergstrom
Copy link

Configuration

Firefox Reality version: 1.4.1
Firefox Reality build ID:

Hardware: HTC Vive Focus Plus

Steps to Reproduce

  1. Load a WebVR site (tried on both a Hubs room and the "anime UI" example https://aframe.io/examples/ )
  2. Click the button to enter VR

Current Behavior

The experience goes full-screen mode, but stays 2D.

Expected Behavior

Immersive, wrap-around 3D.

Possible Solution

Context

Error Logs and Stack Traces

@bluemarvin
Copy link
Contributor

@larsbergstrom Can get a screen shot of about:support? I was able to reproduce the issue once, but after uninstalling 1.4.1 then running the update from the Vive store, immersive mode works. Also, are you able to see the controllers in FxR?

@jvonitter jvonitter added this to the #5 polish milestone Oct 7, 2019
@bluemarvin
Copy link
Contributor

Actually, never mind. I don't think the Gecko version is the issue.

@bluemarvin
Copy link
Contributor

@larsbergstrom Is this issue 100% reproducible for you? I see very sporadically (twice) but have not found a way to reliably reproduce the issue.

@larsbergstrom
Copy link
Author

@bluemarvin I've mainly seen it when the first thing that I load is a very complicated Hubs scene (like the meetups). Otherwise, it's also very intermittent for me. It's gotten into that state for the last 2-3 meetups now, and only when they were in a pretty complicated room.

@bluemarvin
Copy link
Contributor

Okay, based on what I've seen, I think something is preventing FxR from entering immersive mode. Once that happens, immersive mode appears to be broken. Both times I got FxR into this state, after multiple attempts to enter immersive mode, FxR would hang on the immersive spinner and had to be killed and restarted.

@larsbergstrom
Copy link
Author

Yes! That sounds right - killing FxR and re-starting does let the "Anime UI" work again.

@philip-lamb
Copy link
Contributor

philip-lamb commented Oct 8, 2019

Appears to be a duplicate of #1777. The Geckoview bug in that issue is now P1.

@bluemarvin
Copy link
Contributor

This is actually a different issue because the VR display exists but fails to go into immersive mode. With #1777 there aren’t any VR displays to even attempt to enter immersive mode and a page reload fixes the issue.

@jvonitter jvonitter modified the milestones: #5 polish, #6 features Oct 8, 2019
@MortimerGoro
Copy link
Contributor

MortimerGoro commented Oct 9, 2019

It seems we are mixing two different issues here:

I posted a GV patch for the fullscreen fallback issue (https://bugzilla.mozilla.org/show_bug.cgi?id=1587366) when a session is restored. In a-frame they fallback to fullscreen when they don't find VRDisplays. This case may be similar to #1777.

If you see the spinner then it's a different issue because the VRDisplay is found

@larsbergstrom
Copy link
Author

@MortimerGoro No spinner ever appears in this case.

@bluemarvin
Copy link
Contributor

To be clear, how you can tell the two issues apart, if it is the restore bug, reloading the page will fix it. If it is the immersive mode failure, reloading the page will not fix it. The immersive mode failure is much harder to reproduce.

@MortimerGoro
Copy link
Contributor

I found another race condition which can cause the fullscreen issue. Bugzilla patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=1591949

@bluemarvin
Copy link
Contributor

I believe this was fixed by #2135

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants