Viewing images on nondefault monitor DPI uses too big scaling (zoom)

UNCONFIRMED
Unassigned

Status

()

Core
Widget: Win32
P3
normal
UNCONFIRMED
a year ago
a year ago

People

(Reporter: David Balažic, Unassigned)

Tracking

49 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tpi:+)

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160922113459

Steps to reproduce:

Open http://htse.kapilarya.com/FIX-COM-Surrogate-Has-Stopped-Working-In-Windows-8.1.png on a system with 125% DPI setting.


Actual results:

Image is displayed zoomed in (enlarged), using a scaling algorithm that gives a blurry image.


Expected results:

Image should be displayed 1:1, not scaled. (as Chrome v53 does)
(Reporter)

Comment 1

a year ago
A few more notes:
 - this issue also result in this: if one takes a screenshot of Firefox (displaying some image for example), saves the file, opens it in Firefox, it is displayed enlarged. (taking another screenshot of it enlarges it again, and again...)
 - related question: "Image viewer doesn't offer a native zoom level unless layout.css.devPixelsPerPx is set to 1.0, which makes the entire interface tiny." <https://support.mozilla.org/en-US/questions/1081171>

PS: Is the often mentioned (also in the linked document) layout.css.devPixelsPerPx documented anywhere? (maybe respond out of band for this)

Updated

a year ago
Component: Untriaged → Widget: Win32
Product: Firefox → Core
Priority: -- → P3
Whiteboard: tpi:+
You need to log in before you can comment on or make changes to this bug.