Closed Bug 1391017 Opened 7 years ago Closed 7 years ago

"Bookmarks Toolbar Items" icon is too small, when in Customization mode

Categories

(Firefox :: Toolbars and Customization, defect, P1)

57 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.2 - Aug 29
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- verified

People

(Reporter: itiel_yn8, Assigned: dao)

References

Details

(Keywords: regression, Whiteboard: [reserve-photon-visual])

Attachments

(6 files)

STR:
1. Open Nightly
2. Enter Customization mode, and drag'n'drop the Bookmarks Toolbar Items somewhere on the toolbar

ER:
The "Bookmarks Toolbar Items" icon should appear with a normal size.

AR:
It doesn't. A very small icon is visible.

See attached.

Tell me if pinpointing the regression range is needed.
(In reply to ItielMaN from comment #0)
> Tell me if pinpointing the regression range is needed.

I think it'd be helpful if you could, yes please.
Flags: needinfo?(itiel_yn8)
(In reply to :Gijs from comment #1)
> (In reply to ItielMaN from comment #0)
> > Tell me if pinpointing the regression range is needed.
> 
> I think it'd be helpful if you could, yes please.

2017-08-16T22:57:04: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=500a01cf896dbb9883cb85f162552e20b8facfc0&full=1
2017-08-16T22:57:05: DEBUG : Found commit message:
Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh

MozReview-Commit-ID: DvMorv7HhDu

2017-08-16T22:57:05: INFO : The bisection is done.
2017-08-16T22:57:05: INFO : Stopped

Regression range is 2017-08-10 to 2017-08-11.
Flags: needinfo?(itiel_yn8)
Has Regression Range: --- → yes
Blocks: 1377184
Whiteboard: [photon-visual][triage]
Bryan, is there an SVG asset to replace the ancient one we're still using?
Flags: needinfo?(bbell)
Attached image use this icon, example
It should use the same icon we use to refer to it in the Library.
Flags: needinfo?(bbell)
Attached image toolbar-16.svg
This is the asset needed in case you can't find it in the app.
That icon highlights a toolbar. This is the icon for the movable set of items that by default appear in the bookmarks toolbar. Given that in customize mode, the icon can appear on other toolbars or the palette or the panel if it's moved there - but outside customize mode, that item shows your bookmarks, I think this would be very confusing.

To be clear, what we're talking about is the icon that appears in the bookmarks bar on a clean profile. You can drag that item, and put the bookmarks that appear in the bookmark toolbar by default somewhere else (like on the main toolbar, or the tabstrip, or...).
Flags: needinfo?(bbell)
Attached image tiny.png
We are talking about this tiny tiny icon right? A thing that we show as a place holder just in Customization mode?
Flags: needinfo?(bbell)
Attached image icon.png
(In reply to bbell from comment #7)
> Created attachment 8898998 [details]
> tiny.png
> 
> We are talking about this tiny tiny icon right? A thing that we show as a
> place holder just in Customization mode?

Yes. This icon is also used in "Bookmarks" button menu, but it's in normal size there, see attached screenshot. It's also not yet updated to Photon design.
Re-needinfo'ing given I don't think the attached .svg is what we want. :-)
Flags: needinfo?(bbell)
I think we should just use the generic star icon here.
Priority: -- → P4
Whiteboard: [photon-visual][triage] → [reserve-photon-visual]
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Flags: qe-verify+
Priority: P4 → P1
Iteration: --- → 57.2 - Aug 29
QA Contact: ovidiu.boca
Comment on attachment 8899831 [details]
Bug 1391017 - Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing.

https://reviewboard.mozilla.org/r/171156/#review176700

Thanks!

If we want a different icon, we can sub one in pretty easily in a followup.

::: browser/themes/shared/toolbarbutton-icons.inc.css:183
(Diff revision 1)
>  
>  #home-button {
>    list-style-image: url("chrome://browser/skin/home.svg");
>  }
>  
> -#bookmarks-menu-button {
> +#bookmarks-menu-button,

It wouldn't be OK to reuse the same icon because it'd be confusing to have them both as customizable toolbar buttons or in the overflow menu, but the bookmarks menu button never actually uses this icon. So while we're here, can you remove the selector suggesting it does, and the `#bookmarks-menu-button[starred]` styling, and normalize the "real" `#bookmarks-menu-button > .toolbarbutton-icon` selector to match the others?

Fair warning: we probably also need to update https://dxr.mozilla.org/mozilla-central/source/browser/components/extensions/test/browser/browser_ext_themes_icons.js and https://dxr.mozilla.org/mozilla-central/source/browser/base/content/theme-vars.inc.css .
Attachment #8899831 - Flags: review?(gijskruitbosch+bugs) → review+
(In reply to :Gijs from comment #12)
> Fair warning: we probably also need to update
> https://dxr.mozilla.org/mozilla-central/source/browser/components/extensions/
> test/browser/browser_ext_themes_icons.js and
> https://dxr.mozilla.org/mozilla-central/source/browser/base/content/theme-
> vars.inc.css .

This wasn't necessary but I cleaned it up anyway.
Flags: needinfo?(bbell)
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b45c8f18e246
Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing. r=Gijs
https://hg.mozilla.org/mozilla-central/rev/b45c8f18e246
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Depends on: 1393411
Fixed on latest Nightly, but the new icon seems to be darker than other Photon buttons. Is that intended?
Flags: needinfo?(dao+bmo)
(In reply to ItielMaN from comment #17)
> Fixed on latest Nightly, but the new icon seems to be darker than other
> Photon buttons. Is that intended?

nope
Flags: needinfo?(dao+bmo)
^
|
I created follow up about that change in bug #1393507.

About this bug, I'm confirming that bug is fixed, starting in Mozilla Firefox Nightly 57.0a1 (2017-08-24), so I'm marking this bug as VERIFIED. Thanks.
Has STR: --- → yes
No longer depends on: 1393507
QA Contact: ovidiu.boca → Virtual
Version: unspecified → 57 Branch
Flags: qe-verify+
Blocks: 1197652
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: