Closed
Bug 521410
Opened 15 years ago
Closed 15 years ago
buttons without labels should ignore the images-in-buttons setting (RSS icon doesn't appear in the Firefox URL bar)
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
Tracking | Status | |
---|---|---|
blocking2.0 | --- | alpha1+ |
People
(Reporter: hidenosuke, Assigned: dao)
References
Details
Attachments
(1 file, 2 obsolete files)
873 bytes,
patch
|
Details | Diff | Splinter Review |
There is no feed button on the location bar with recent Linux trunk build. Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091009 Minefield/3.7a1pre My Environment: Distro : Debian GNU/Linux unstable GNOME: 2.28 GTK+: 2.18.2-1 GLIB: 2.22.2-1 Addtional information: Bookmarks -> Subscribe to This Page does work.
Comment 1•15 years ago
|
||
The icon is present on Windows Vista.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → dao
Assignee | ||
Updated•15 years ago
|
Component: Location Bar and Autocomplete → XUL Widgets
Product: Firefox → Toolkit
QA Contact: location.bar → xul.widgets
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #405640 -
Flags: review?(gavin.sharp)
Comment 3•15 years ago
|
||
Could we get away with button[label]:not([label=""]):not(:-moz-system-metric(images-in-buttons)) .button-icon instead, to avoid having to make the button.xml changes? (is there a bug about removing the apparently unused buttonleft-ile binding?)
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > Could we get away with > > button[label]:not([label=""]):not(:-moz-system-metric(images-in-buttons)) > .button-icon > > instead, to avoid having to make the button.xml changes? We could, but what's the problem with the button.xml changes? We did this for toolbarbuttons too. > (is there a bug about removing the apparently unused buttonleft-ile binding?) bug 521547
Comment 5•15 years ago
|
||
(In reply to comment #4) > We could, but what's the problem with the button.xml changes? We did this for > toolbarbuttons too. What use are labels on <xul:image>s, apart from allowing you to use a more efficient selector for this particular case?
Assignee | ||
Comment 6•15 years ago
|
||
It's just that, the more efficient selector.
Comment 7•15 years ago
|
||
Comment on attachment 405640 [details] [diff] [review] patch This should instead be fixed by changing the patch for bug 509671, either by reopening the bug or filing a new one.
Attachment #405640 -
Flags: review?(gavin.sharp) → review-
Assignee | ||
Updated•15 years ago
|
Assignee: dao → nobody
Assignee | ||
Updated•15 years ago
|
Summary: No feed button (orange icon) on the location bar → Buttons without labels should ignore the images-in-buttons setting
Assignee | ||
Updated•15 years ago
|
Attachment #405640 -
Flags: review- → review?(enndeakin)
Comment 9•15 years ago
|
||
Comment on attachment 405640 [details] [diff] [review] patch Looks right to me (but get Neil to sign off on it anyways)
Attachment #405640 -
Flags: review+
Comment 10•15 years ago
|
||
I don't really like the idea of copying the string on every button just for this feature. We should at least only do this on linux. Is a rule button[label]:not... .buttonicon less efficient? The right way, of course, is to have an <imagebutton> element specifically for buttons intended to be used with images. I'll file a bug on adding this.
Assignee | ||
Comment 11•15 years ago
|
||
The efficiency of button[label]:not... depends on whether we can use > to get to the .button-icon. Without >, every node up to the root element needs to be tested if button[label]:not... doesn't match the button element.
blocking2.0: --- → ?
Updated•15 years ago
|
Summary: Buttons without labels should ignore the images-in-buttons setting → buttons without labels should ignore the images-in-buttons setting (RSS icon doesn't in the Firefox URL bar)
blocking2.0: ? → alpha1
Assignee | ||
Comment 14•15 years ago
|
||
(In reply to comment #10) > I don't really like the idea of copying the string on every button just for > this feature. We should at least only do this on linux. > > Is a rule button[label]:not... .buttonicon less efficient? Addressed this by using: button[label]:not([label=""]) > .button-box > .button-icon ... for ordinary buttons and: button[label]:not([label=""]) > .button-box > .box-inherit > .button-icon ... for menu buttons.
Assignee: nobody → dao
Attachment #405640 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #405640 -
Flags: review?(enndeakin)
Assignee | ||
Comment 16•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/abb82f981e02
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Reporter | ||
Comment 17•15 years ago
|
||
I confirmed to fix the problem with recent build. Thanks for great work.
Updated•15 years ago
|
Summary: buttons without labels should ignore the images-in-buttons setting (RSS icon doesn't in the Firefox URL bar) → buttons without labels should ignore the images-in-buttons setting (RSS icon doesn't appear in the Firefox URL bar)
You need to log in
before you can comment on or make changes to this bug.
Description
•