Closed Bug 1169232 Opened 9 years ago Closed 9 years ago

[gtk3] White text on grey background on notification toolbar.

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
e10s m8+ ---
firefox41 --- fixed

People

(Reporter: glandium, Assigned: stransky)

References

()

Details

Attachments

(2 files)

Attached image Screenshot.png
I assume this is true for other info bars, although it doesn't happen for the telemetry thing.

See attached screenshot.
This is the CSS fragment corresponding to the style of those infobars:

http://hg.mozilla.org/mozilla-central/file/baa9c64fea6f/toolkit/themes/linux/global/notification.css#l7

So InfoText must be wrong.
1011     gtk_style_context_add_class(style, GTK_STYLE_CLASS_TOOLTIP);
1012     gtk_style_context_get_background_color(style, GTK_STATE_FLAG_NORMAL, &color);
1013     sInfoBackground = GDK_RGBA_TO_NS_RGBA(color);
1014     gtk_style_context_get_color(style, GTK_STATE_FLAG_NORMAL, &color);
1015     sInfoText = GDK_RGBA_TO_NS_RGBA(color);
1016     g_object_unref(style);
tracking-e10s: --- → m8+
Keywords: polish
IMHO it should also use tooltip background (which is black) or choose a different text color.
Actually the bug is caused by transparent tooltip background color which is defined by Gtk3 themes.
Assignee: nobody → stransky
Attachment #8613482 - Flags: review?(karlt)
Unfortunately it breaks all kind of notifications like addon updates and so.
Summary: [gtk3] White text on grey background for e10s post activation info bar. → [gtk3] White text on grey background on notification toolbar.
Attachment #8613482 - Flags: review?(karlt) → review+
https://hg.mozilla.org/mozilla-central/rev/92c770d9b2cc
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: