Closed Bug 508223 Opened 15 years ago Closed 15 years ago

Favicons in All Tabs dropdown not shown if menus_have_icons=false

Categories

(Firefox :: Tabbed Browser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- beta1-fixed
status1.9.1 --- ?

People

(Reporter: andreasn, Assigned: mmcnicklebugs)

Details

(Keywords: verified1.9.2, Whiteboard: [polish-easy])

Attachments

(2 files, 1 obsolete file)

Related to bug 504275, GNOME recently set menus_have_icons to false by default.
[1] What this means is that menus will no longer show icons, including the tabs dropdown.
However, bookmarks (and favicons) are exceptions that should use icons
according to the guidelines [2] and those can be set to "always-show-icons"
property (GtkImageMenuItem).

1. http://bugzilla.gnome.org/show_bug.cgi?id=557469
2. http://bugzilla.gnome.org/show_bug.cgi?id=588668
Flags: wanted-firefox3.6?
Whiteboard: [polish-easy]
Attached patch patchSplinter Review
Overrides default style and shows icons in the tab dropdown.
Attachment #397052 - Flags: review?
Attachment #397052 - Flags: review? → review+
Comment on attachment 397052 [details] [diff] [review]
patch

> /* Bookmarks override the "images-in-menus" metric in xul.css */
> .bookmark-item > .menu-iconic-left {
>   visibility: inherit;
> }
>+
>+.alltabs-item > .menu-iconic-left {
>+  visibility: inherit;
>+}

These two rules can be combined:

/* favicons override the "images-in-menus" metric in xul.css */
.alltabs-item > .menu-iconic-left,
.bookmark-item > .menu-iconic-left {
  visibility: inherit;
}
Attached patch combined rules (obsolete) — Splinter Review
Attachment #397052 - Attachment is obsolete: true
Actually, this belongs in tabbrowser.css. I'll move it there before landing. Thanks Martin!
Assignee: nobody → mmcnicklebugs
Keywords: checkin-needed
Attachment #397052 - Attachment is obsolete: false
Attachment #397083 - Attachment is obsolete: true
http://hg.mozilla.org/mozilla-central/rev/ad18d068d42e
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Attachment #397052 - Flags: approval1.9.2?
Comment on attachment 397052 [details] [diff] [review]
patch

a192=beltzner
Attachment #397052 - Flags: approval1.9.2? → approval1.9.2+
Keywords: checkin-needed
Verified fixed on trunk and 1.9.2 with:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20090920 Minefield/3.7a1pre ID:20090920031240

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a2pre) Gecko/20090921 Namoroka/3.6a2pre ID:20090921035151

Given bug 504275 a fix on 1.9.1 would be needed too.
Status: RESOLVED → VERIFIED
status1.9.1: --- → ?
Keywords: verified1.9.2
Summary: Favicons not shown if menus_have_icons=false → Favicons in All Tabs dropdown not shown if menus_have_icons=false
Comment on attachment 397052 [details] [diff] [review]
patch

Probably too late for 3.5.4. But asking anyway. Patch is simple and applies well to 1.9.1.
Attachment #397052 - Flags: approval1.9.1.5?
Attachment #397052 - Flags: approval1.9.1.4?
Attachment #397052 - Flags: approval1.9.1.4?
Comment on attachment 397052 [details] [diff] [review]
patch

There's no reason for us to take this at this point. Linux distros can fix it on their side or wait for 3.6.
Attachment #397052 - Flags: approval1.9.1.5? → approval1.9.1.5-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: