MozillaReality / FirefoxReality

INACTIVE - A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://mzl.la/reality
Mozilla Public License 2.0
768 stars 217 forks source link

Display density does not work as expected when user agent mode is desktop #2709

Closed crh0716 closed 3 months ago

crh0716 commented 4 years ago

Configuration

Firefox Reality version: 7.1 Firefox Reality build ID:

Hardware: Oculus Quest

Steps to Reproduce

  1. Launch Firefox Reality.
  2. Go to display settings. Set user agent mode to desktop and display density to any value other than 1.
  3. Browse any web sites.

Current Behavior

The window (window.innerWidth, window.innerHeight) size remains the same as display density is 1.

Expected Behavior

The window size should be adjusted based on display density.

Possible Solution

Context

I was trying to enlarge the displaying size of the web pages but couldn't find the zoom control. Ideally there should be a zoom control like any other desktop browser to enlarge the content without the need of tweaking display density.

Error Logs and Stack Traces

``` ```
bluemarvin commented 4 years ago

The display density setting should be removed and a zoom controller should be added as documented in #379.