Closed Bug 1221162 Opened 11 years ago Closed 11 years ago

GTK3: all text absent from all Gtk widgets

Categories

(Core :: Widget: Gtk, defect)

43 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: david+bugs, Unassigned)

Details

Attachments

(1 file)

I tried running a Gtk3 version of Firefox for the first time today (43.0b1 compiled from http://hg.mozilla.org/releases/mozilla-beta/rev/fcf963bf85da - but I also tried an official developer edition firefox-44.0a2.en-US.linux-x86_64.tar.bz2 to the same effect), and Gtk3 widgets are hopelessly broken: no text appears anywhere in any Gtk widget (HTML text appears correctly, however: see attached screenshot). This is with a fresh profile. In fact, even the profile manager suffers from the same bug, making it very difficult to use. This is probably a bug in the upstream Gtk3 and not in Firefox itself, so I'll investigate in other channels, but it's probably worth recording here, as Firefox might with to do something with it.
I tried compiling and running the "hello world" Gtk3 program from <URL: https://developer.gnome.org/gtk3/stable/gtk-getting-started.html > (example-1.c) and it displays correctly. So at least Gtk3 is not completely broken on my system. Also, I forgot to add the following info: system is Debian stable, gtk3 version is Debian's 3.14.5-1+deb8u1.
Solved: the problem was that some migration tool of some kind had created a .config/gtk-3.0/settings.ini file in my $HOME which contained [Settings] gtk-font-name = "Sans 12" (probably converted from my .gtkrc-2.0 file which has the same second line), whereas the correct syntax is: [Settings] gtk-font-name = Sans 12 Apparently gtk3 can't parse the quotes, and does not produce any kind of error or warning about missing or invalid fonts, it just fails to display anything. Brilliant. This is mind-numbingly stupid, but Firefox is not to blame, so closing this bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Thanks for following up with the solution. Odd fallback behavior. Others are likely to find this helpful.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: