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

Wrong orientation of the tray bar in multi-window #1372

Closed javifernandez closed 5 months ago

javifernandez commented 5 months ago

Configuration

Wolvic version: 1.7 Wolvic build ID:

Hardware: Vision Glass

Steps to Reproduce

  1. Click on + to launch a new window
  2. Select the new created window on the left side

Current Behavior

The tray bar is displayed with the wrong orientation

Expected Behavior

The tray bar is displayed just below the new window and both the Window and Tray must be correctly aligned in the 3D space.

Possible Solution

Context

Error Logs and Stack Traces

``` ```
svillar commented 5 months ago

That's a consecuence of moving the windows further away. What happens if you set the window distance to the minimum?

javifernandez commented 5 months ago

That's a consecuence of moving the windows further away. What happens if you set the window distance to the minimum?

The effect is different, but still wrong, or not properly aligned with the window.

svillar commented 5 months ago

I've tested it and indeed it's poorly orientated. The thing is that this is not exclusive to vision glass. If you set extreme distances to the windows in other architectures you'd get similar issues.

Regarding how to solve this, I am not really sure because the orientation is a consequence of window distance and the perspective (VisionGlass also has a narrow FoV)