Public bug reported:
## Steps to reproduce
1. Use Ubuntu 20.04 with an Nvidia graphics card with GNOME Desktop.
2. Set display scaling to any fractional value (150%)
3. open up Firefox/Chrome/Chromium. Open up Console and type
`window.devicePixelRatio`
## What happened
I received 2
## What should have happened
I should have gotten 1.5
---
I reported this bug here instead of in Firefox/Chrome because they both
report the same value only on Linux. They correctly report 1.5 on
Windows, which I believe may be an issue with GNOME.
** Affects: mutter (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895164
Title:
Display scaling 150% causes Firefox and Chrome to return
window.devicePixelRatio = 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1895164/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs