Open Bug 1287929 Opened 5 years ago Updated 4 years ago

[webvr] Need to present content to replace "Please wait" spinner before requestPresent() and during WebVR link traversal

Categories

(Core :: WebVR, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: caseyyee.ca, Assigned: kip)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webvr])

Looks like I get a "Please wait" in the headset before requestPresent() into headset.  This is probably expected behavior, but could be a confusing for some people.

After a while, I get the message:

"Sorry, "firefox.exe" is taking a while to load ... <cut>"

The browser does not return control back to oculus home until it is completely shut-down the browser, even after navigate to a non-webVR page.

Possible Solution:
Probably OK for this release, but we could probably have some kind of doorhanger notice on the users main display so that the user understands what is happening?  I can see a situation where the browser interferes with using native content.
Flags: needinfo?(kgilbert)
Component: General → DOM
Product: Firefox → Core
Thanks for finding this Casey.  The reason for the spinner is that the Oculus must activate in order to even enumerate the presence of the headset or get details on its capabilities and sensors.

We certainly could present our own content or simply a black frame to clear the please wait notice.

In the future with backwards compatibility, we could present a projected 2d view of the non-vr page until it calls requestpresent().
Flags: needinfo?(kgilbert)
Summary: [webvr] "Please wait" spinner before requestPresent() → [webvr] Need to present content to replace "Please wait" spinner before requestPresent()
I'll take this, as I'm likely the one to implement.
Assignee: nobody → kgilbert
This could be implemented using the "VR Compositor" concept described in Bug 1258504.  I expect Bug 1258504 to be promoted to a meta bug and the individual "VR Compositor" features landing incrementally.

It may be possible to implement a simple indicator with minimal "VR Compositor" functionality landed.
Depends on: 1258504
Summary: [webvr] Need to present content to replace "Please wait" spinner before requestPresent() → [webvr] Need to present content to replace "Please wait" spinner before requestPresent() and during WebVR link traversal
I'm getting the same error too. Any updates on this? I get this error when I use aframe.io
Component: DOM → WebVR
Blocks: 1291827
No longer blocks: webvr
Depends on: 1362213
No longer depends on: 1258504
You need to log in before you can comment on or make changes to this bug.