Closed Bug 1190621 Opened 9 years ago Closed 8 years ago

Profile Manager dialog doesn't contain any text, tiny main window with no contents on Nightly with gtk-font-name set in ~/.config/gtk-3.0/settings.ini

Categories

(Core :: Widget: Gtk, defect)

42 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: vincent-moz, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

With Firefox nightly (just downloaded), the following commands yield dialogue boxes with almost nothing in them; I'm going to attach snapshots of these dialogue boxes.

./firefox -safe-mode -no-remote -P test
./firefox -safe-mode -no-remote -ProfileManager
What I obtain with: ./firefox -safe-mode -no-remote -P test
What I obtain with: ./firefox -safe-mode -no-remote -ProfileManager
The machine is an up-to-date Debian/unstable one.
Pretty weird Vincent. That should not happen.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Do you mean a nightly downloaded from https://nightly.mozilla.org/ ? What's the download URL? Do you get any output in the console?
Status: NEW → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(vincent-moz)
Summary: broken dialogue boxes → Profile Manager dialogs broken / don't contain any text on Nightly
Summary: Profile Manager dialogs broken / don't contain any text on Nightly → Profile Manager dialog broken / don't contain any text, tiny main window with no contents on Nightly
(In reply to Nickolay_Ponomarev from comment #5)
> Do you mean a nightly downloaded from https://nightly.mozilla.org/ ?

Yes.

> What's the download URL?

https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-42.0a1.en-US.linux-x86_64.tar.bz2

> Do you get any output in the console?

(firefox:18458): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(firefox:18458): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

The problem still occurs with the 2015-08-09 version.
Flags: needinfo?(vincent-moz)
Thanks. I don't know what might be causing this... If an older build works fine for you, http://mozilla.github.io/mozregression/ might be a way to figure this out.
I believe we recently switched to GTK3, perhaps that could be related?..
Vincent can you find the regression range please?


(In reply to Michael Buluma from comment #4)
> Pretty weird Vincent. That should not happen.

Typically a bug wouldn't be marked NEW unless you reproduce the behavior.
Severity: blocker → critical
Flags: needinfo?(vincent-moz)
 6:35.65 LOG: MainThread Bisector INFO Last good revision: 1ee54e043b9b05d69e6a9f981aa6c4ef0dd65be3
 6:35.65 LOG: MainThread Bisector INFO First bad revision: 939320b957c588ad809e9b4a64b7f232dd4d9b72
 6:35.65 LOG: MainThread Bisector INFO Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=1ee54e043b9b05d69e6a9f981aa6c4ef0dd65be3&tochange=939320b957c588ad809e9b4a64b7f232dd4d9b72

The commit message:

Mike Hommey — Bug 1186003 - Switch automated builds to Gtk+3. r=mshal

The build-gtk3.sh script contains the script used to generate the tooltool packages.
Flags: needinfo?(vincent-moz)
Note: I used the following command:

mozregression --arg=-safe-mode --arg=-no-remote --arg=-ProfileManager --good 2015-01-01
Blocks: 1186003
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
This bug still occurred on this machine (zira), but when doing a test for another problem on another machine (cventin), I had no problems with Nightly, on the same binary. I could see the differences for "gtk" occurrences in the strace output, and I've eventually found the cause of this display issue. On the former machine, my file ~/.config/gtk-3.0/settings.ini contains:

[Settings]
gtk-font-name = "DejaVu Sans 15"
Summary: Profile Manager dialog broken / don't contain any text, tiny main window with no contents on Nightly → Profile Manager dialog doesn't contain any text, tiny main window with no contents on Nightly with gtk-font-name set in ~/.config/gtk-3.0/settings.ini
Removing the double quotes should work around, but there seems to be a bug in finding a fallback font when the setting is bad.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I confirm that removing the double quotes solves the problem. FYI, this was an error in https://wiki.archlinux.org/index.php?title=GTK%2B&oldid=381032#Basic_theme_configuration (the oldid corresponds to the date when I read this document, as the ~/.config/gtk-3.0/settings.ini file was added on 2015-07-10).
Profile Manager looks fine to me on Ubuntu 16.04 with Nightly 51.0a1, 20160824030337
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: