Closed Bug 315491 Opened 19 years ago Closed 17 years ago

Firefox chrome/UI doesn't inherit Gtk's font size settings

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 232492

People

(Reporter: wasabi, Unassigned)

References

Details

(Keywords: access)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)

Firefox doesn't inherit Gnome/Gtk's font size settings for UI elements. It should.

Reproducible: Always
Changing to Toolkit (hopefully that's more accurate). I can confirm the bug, but I'm not sure about the component. This applies to Thunderbird as well.

Steps to reproduce:

1. In Gnome, select System > Preferences > Font
2. Click the "Details..." button
3. Change Resolution from 96 to something larger, e.g. 125 dpi
4. Start gedit
5. Start Firefox

Actual results:

gedit, and all other Gnome UI uses one font size, while Firefox uses something much larger.
Component: Disability Access → XUL Widgets
Product: Firefox → Toolkit
Summary: Firefox doesn't inherit Gtk's font size settings → Firefox chrome/UI doesn't inherit Gtk's font size settings
Upon further investigation, it seems that Firefox/Thunderbird is using the "Application font" property of gnome-font-properties, which appears to be completely ignored by other GTK apps.

As long as the Application font is set to 8, Fx/Tb uses the same font size as other Gnome apps, regardless of the selected dpi. I'm not sure what the Application font is for if only Mozilla uses it. Maybe this is a bug in Gnome as well?
Reporter, are you using the Dapper development trunk or are you using the stable Breezy? I found that this works without any problems on the stable Breezy, but didn't on Dapper when this was reported. It seems to work fine now for me, I've tested with several dpi's and font sizes.
Keywords: access, sec508
Assuming it still exists, surely Widget:Gtk rather than Toolkit?
Component: XUL Widgets → Widget: Gtk
Product: Toolkit → Core
QA Contact: disability.access → gtk
Version: unspecified → Trunk
Blocks: keya11y
Blocks: themea11y
No longer blocks: keya11y
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.