Closed Bug 507201 Opened 15 years ago Closed 13 years ago

Pages always rendered at default DPI

Categories

(Core :: Layout, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 537890

People

(Reporter: t_edwards, Unassigned)

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

Changing the DPI of Windows Vista results in Firefox's UI changing size appropriately, except for images which remain at 96DPI.

However, pages do not change size at all. They should appear zoomed in by the correct amount (except where a length is defined in px, of course!).

Reproducible: Always

Steps to Reproduce:
1. Change DPI (search control panel for DPI, choose 120 DPI in the dialog suggested to you)
2. Restart
3. Visit any web page.
Actual Results:  
UI scales correctly except for images; pages displayed at original DPI

Expected Results:  
Default font-size increases appropriately; inch/cm/pt/etc. measurements increase appropriately. Images scaled up appropriately in both web pages and UI.
Notice how the scrollbar for the Component control has been scaled correctly.
This looks like it may be a duplicate of Bug 433664.
Tom -> Is your issue resolved? If not, did you try the step in Bug 433664 comment 18?
There is no change in fx3.5.6: UI text is scaled, UI images are not, web pages are not. I can't try devPixelsPerPx = 1.5 because the value is int, but devPixelsPerPx = 2 does scale pages...only they end up too enormous to read.

In fx3.7a1pre, changing the devPixelsPerPx value DOES scale webpages and DOES scale UI images. At devPixelsPerPx = 1.2, the scaling is more or less correct for 120DPI. But changing devPixelsPerPx also increases the size of the browser's UI elements, even though they had already been adjusted. They end up ridiculously large.

IE8 gets everything right. No, really.
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-2-15]
Yes, this is still a bug in Fx4.0b8 (in safe mode, with a fresh profile) and Windows 7 x64. There has been no change since I opened this bug report.
Whiteboard: [CLOSEME 2011-2-15]
Version: unspecified → Trunk
Tom -> Are you still experiencing this issue with the latest version of Firefox 6? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
Product: Firefox → Core
QA Contact: general → general
Version: Trunk → 2.0 Branch
Yes, still happening under the latest nightly. There is a new property that I've found called layout.css.dpi, but it has no visible effect.

The new Addons window is rendered correctly so this is definitely an HTML issue.

However, it looks like this issue is being discussed elsewhere so I will mark this one as a duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Component: General → Layout
OS: Windows Vista → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.