$ printf 'Desktop: %s\nSession: %s\n' "$XDG_CURRENT_DESKTOP" "$GDMSESSION" Desktop: ubuntu:GNOME Session: ubuntu
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1895164 Title: Display scaling 150% causes Firefox and Chrome to return window.devicePixelRatio = 2 Status in mutter package in Ubuntu: New Bug description: ## 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1895164/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp