Bug 107803

Summary: mozilla misapplies pref browser.display.screen_resolution
Product: [Fedora] Fedora Reporter: Felix Miata <mrmazda>
Component: mozillaAssignee: Christopher Aillon <caillon>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mcepl, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.mozilla.org/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-28 21:08:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot - 1.4.1-7 on severn beta3 @ 100 DPI pref
none
screenshot - 1.4.1-7 on severn beta3 @ 120 DPI pref
none
screenshot - 1.5 on severn beta3 @ 100 DPI pref
none
screenshot - 1.5 on severn beta3 @ 120 DPI pref
none
screenshot - Konqueror
none
screenshot - 1.5 on SuSE 8.1 @ 100 DPI pref
none
screenshot - 1.5 on SuSE 8.1 @ 120 DPI pref
none
screenshot - 1.5 on Win98 @ 096 DPI system setting
none
screenshot - 1.5 on Win98 @ 120 DPI system setting none

Description Felix Miata 2003-10-23 05:36:37 UTC
Description of problem:
browser.display.screen_resolution is the Mozilla pref designed to tailor
effective DPI to user needs so that fonts specified in points via css size
reasonably. All Mozilla versions I've tested increase the size of all fonts
specfied in points, except the current 1.4.1 version. This includes the
mozilla.org tarball of v1.5 run under severn beta3.

Version-Release number of selected component (if applicable):
1.4.1-7

How reproducible:
easy

Steps to Reproduce:
1-add 'user_pref("browser.display.screen_resolution", 100);' to user.js
2-start Mozilla 1.4.1 to indicated URL
3-take a screenshot of Mozilla window
4-close Mozilla
5-add 'user_pref("browser.display.screen_resolution", 120);' to user.js
6-start Mozilla 1.4.1 to indicated URL
7-take a screenshot of Mozilla window
8-close Mozilla
9-compare screenshots
10-Repeat steps above, but substitute mozilla.org's tarball of v1.5
11-Repeat steps 1-8 above, but use mozilla.org's tarball of v1.5 or v1.4.1 on
SuSE, Mandrake, OS/2 and/or Win98 (in Win98 and OS/2, DPI must be changed via
system settings rather than user.js)
    
Actual results:
1-page text sized in points in both screenshots of 1.4.1-7 is identical
2-page text sized in points in all other screenshots is larger at 120DPI than at
100DPI
3-page text overall is sized smaller in 1.4.1-7 than the others

Expected results:
1-page text sized in points is larger at 120DPI than at 100DPI in every
screenshot pair
2-page text overall is sized similarly in all screenshots, depending on the
actual fonts available to Mozilla

Additional info:
1-dbaron & bz on moznet are of the opinion that this is a Mozilla rather than a
Fedora bug. I tried contacting blizzard for an opinion about this, but was
unsuccessful.
2-In every Mozilla screenshot following, the default 16px font size setting was
used. The Konqueror shot was made on a fresh severn3 install with no system
settings or Konq specific changes having been made.

Comment 1 Felix Miata 2003-10-23 05:45:42 UTC
Created attachment 95414 [details]
screenshot - 1.4.1-7 on severn beta3 @ 100 DPI pref

Comment 2 Felix Miata 2003-10-23 05:45:53 UTC
Created attachment 95415 [details]
screenshot - 1.4.1-7 on severn beta3 @ 120 DPI pref

Comment 3 Felix Miata 2003-10-23 05:46:00 UTC
Created attachment 95416 [details]
screenshot - 1.5 on severn beta3 @ 100 DPI pref

Comment 4 Felix Miata 2003-10-23 05:46:07 UTC
Created attachment 95417 [details]
screenshot - 1.5 on severn beta3 @ 120 DPI pref

Comment 5 Felix Miata 2003-10-23 05:46:16 UTC
Created attachment 95418 [details]
screenshot - Konqueror

Comment 6 Felix Miata 2003-10-23 05:46:26 UTC
Created attachment 95419 [details]
screenshot - 1.5 on SuSE 8.1 @ 100 DPI pref

Comment 7 Felix Miata 2003-10-23 05:46:33 UTC
Created attachment 95420 [details]
screenshot - 1.5 on SuSE 8.1 @ 120 DPI pref

Comment 8 Felix Miata 2003-10-23 05:46:41 UTC
Created attachment 95421 [details]
screenshot - 1.5 on Win98 @ 096 DPI system setting

Comment 9 Felix Miata 2003-10-23 05:46:50 UTC
Created attachment 95422 [details]
screenshot - 1.5 on Win98 @ 120 DPI system setting

Comment 10 Felix Miata 2003-10-31 01:30:53 UTC
See also Mozilla bug http://bugzilla.mozilla.org/show_bug.cgi?id=197037 for
additional analysis of this situation.

Comment 11 Felix Miata 2005-09-29 22:51:21 UTC
I believe the comment 10 bug fix fixed this. It seems to be fine now in
mozilla-1.7.8-2 in FC4.

Comment 12 John Thacker 2006-10-28 21:08:52 UTC
Closing.

Comment 13 Matěj Cepl 2007-04-27 09:57:53 UTC
*** Bug 238108 has been marked as a duplicate of this bug. ***