Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
796 stars 100 forks source link

[VisionGlass] Improve app startup when the user dismisses projection dialogs #1288

Closed svillar closed 6 months ago

svillar commented 6 months ago

Steps to Reproduce

  1. Start Wolvic without VisionGlass
  2. The "connect glasses" message appears. So far so good
  3. Plug the glasses in

Several dialogs will appear. You should proceed this way

  1. For USB permissions dialog you should grant permissions
  2. For projection permissions dialog you should deny permissions

After interacting with some of these dialogs a spinner is shown and the app remains in that state forever unless you re-plug the glasses.

The problem is the projection dialog that is shown by the system so we don't have any idea about what the user has done. Perhaps we could check the state of some permission and improve our workflow.

svillar commented 6 months ago

With "projection dialog" I mean this one Screenshot_20240306_173037_com android systemui

svillar commented 6 months ago

This was really fixed by #1281 and #1282 so closing