Closed
Bug 1389167
Opened 7 years ago
Closed 7 years ago
No obvious customization region for bookmarks toolbar in customize mode
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | unaffected |
firefox57 | + | fixed |
People
(Reporter: alice0775, Assigned: Gijs)
References
Details
(Keywords: polish, regression, ux-userfeedback, Whiteboard: [reserve-photon-structure])
Attachments
(3 files)
[Tracking Requested - why for this release]: regression
Reproducible: always
Steps To Reproduce:
1. Enter customize mode
2. Enable Bookmarks Toolbar
3. Optionally, remove "Bookmarks Toolbar Item"
Actual Results:
There is no bottom border or background color for the toolbar.
So not clear customizable region where additional toolbutton can drop.
Especially, after step3, I can not recognize the tool bar any longer.
Expected Results:
Provide border or background color for the toolbar at lest.
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Whiteboard: [photon-visual]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [photon-visual] → [photon-visual][triage]
Updated•7 years ago
|
Whiteboard: [photon-visual][triage] → [photon-structure][triage]
Updated•7 years ago
|
Summary: Not clear customizable region of of bookmarks toolbar → No obvious customization region for bookmarks toolbar in customize mode
Assignee | ||
Comment 2•7 years ago
|
||
Please triage this within the visual team. You removed the border. I don't know in what bug (I have tried to find it before now and failed). But presumably, when this was removed, there was some decision about this case. I am not aware of it, and, not knowing in which bug this happened, I don't know what the decision was or what to do with this bug.
Flags: needinfo?(dao+bmo)
Whiteboard: [photon-structure][triage] → [photon-visual][triage]
Comment 3•7 years ago
|
||
I removed the border in bug 1349555, because other changes made that easy, it's part of <https://mozilla.invisionapp.com/share/ENBBK0F9U#/screens/229252091> and I figured it would be welcome if I take this off photon-structure's plate. I don't intend to spend more time on this as it's not part of photon-visual, but I can add the border back if that's what you want.
Flags: needinfo?(dao+bmo)
Whiteboard: [photon-visual][triage]
Assignee | ||
Comment 4•7 years ago
|
||
Aaron, why are we removing this border, and what are we supposed to be doing about the bookmarks toolbar? (please see the attached screenshot)
Flags: needinfo?(abenson)
Comment 5•7 years ago
|
||
The border was removed to help make it as clear as possible that toolbar items could be dragged from the grid into the toolbar (a border might inhibit this connection).
The bookmarks toolbar, however, is another issue and we'll address this after 57. Ideally this would be an actual toolbar with the bookmarks in it (and not the placeholder item that is currently shown).
Flags: needinfo?(abenson)
Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Aaron Benson from comment #5)
> The border was removed to help make it as clear as possible that toolbar
> items could be dragged from the grid into the toolbar (a border might
> inhibit this connection).
>
> The bookmarks toolbar, however, is another issue and we'll address this
> after 57. Ideally this would be an actual toolbar with the bookmarks in it
> (and not the placeholder item that is currently shown).
You think we should just ship this as-is? I don't think the state in the screenshot is shippable.
Flags: needinfo?(abenson)
Comment 7•7 years ago
|
||
I suggest we (re?)add a dashed outline around the bookmarks toolbar while customizing. This should be good enough for users who've enabled the bookmarks toolbar without compromising the experience for the rest.
Comment 8•7 years ago
|
||
Here are some details for making the toolbar area more visible:
Toolbar w/ contents: https://mozilla.invisionapp.com/share/FKD366GDM#/248932284_Customize_-_Toolbar_On
Toolbar empty: https://mozilla.invisionapp.com/share/FHD366WTU#/248932326_Customize_-_Toolbar_On_Empty
Measurements: https://mozilla.invisionapp.com/share/63D3667VZ#/248943707_Customize_-_Measurements
Flags: needinfo?(abenson)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
Flags: qe-verify+
Priority: -- → P1
QA Contact: gwimberly
Whiteboard: [reserve-photon-structure]
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Iteration: --- → 57.2 - Aug 29
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
https://reviewboard.mozilla.org/r/170142/#review175264
::: browser/themes/shared/browser.inc.css:38
(Diff revision 1)
>
> +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> + background-color: rgba(12,12,13,0.1);
> + border-radius: 2px;
> + margin-left: 4px;
> + margin-right: 4px;
I expect this won't work as intended when the window is transparent or has some other background that's different from our toolbar background (e.g. aero glass, or even Windows 10 where we currently use -moz-win-glass).
Maybe you can achive a similar effect using an inset box-shadow.
Otherwise I'd go back to my suggestion to use outline.
Attachment #8898726 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 12•7 years ago
|
||
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
This drops the border radius and margins as well, because as Dão suggested, on win10 glass and (I expect, only tested win10) on win7 glass, the radius / margin results in odd differently-coloured blobs at the edges. I don't think there's a way to get an inset border that doesn't go all the way to the edge, or that has 4 rounded corners.
Attachment #8898726 -
Flags: ui-review?(abenson)
Assignee | ||
Comment 13•7 years ago
|
||
Trypush with builds: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2a1dd20f5a2f
Comment 14•7 years ago
|
||
I think an outline with a negative offset would be preferable over making the whole toolbar darker without any margin around it...
Comment 15•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #14)
> I think an outline with a negative offset would be preferable over making
> the whole toolbar darker without any margin around it...
Yep, this would work for me too. Gijs, can we make an outline with a color of Grey 30 (#D7D7DB).
Comment hidden (mozreview-request) |
Comment 17•7 years ago
|
||
mozreview-review |
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
https://reviewboard.mozilla.org/r/170142/#review175298
::: browser/themes/shared/browser.inc.css:35
(Diff revision 3)
> max-height: 0;
> transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
> }
>
> +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> + outline: 1px solid rgba(12,12,13,0.2);
I think this should be dotted or dashed so that the toolbar doesn't look like a big flexible space.
::: browser/themes/shared/browser.inc.css:35
(Diff revision 3)
> max-height: 0;
> transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
> }
>
> +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> + outline: 1px solid rgba(12,12,13,0.2);
We still support arbitrary Gtk themes on Linux and I'm sure there are dark themes where this color won't be visible. Can you use ThreeDShadow?
Also need to take dark lightweight themes into account, including our own Dark theme.
The easiest solution that works in all scenarios would be to omit the color (equivalent to using currentColor). This would however make the outline stand out more than intended. Making it dotted or dashed should help with that.
::: browser/themes/shared/browser.inc.css:39
(Diff revision 3)
> +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> + outline: 1px solid rgba(12,12,13,0.2);
> + outline-offset: -4px;
> + -moz-outline-radius: 2px;
> + /* Avoid the toolbar having no height when there's no items in it */
> + min-height: calc(16px + 2 * var(--toolbarbutton-inner-padding));
bookmark items are narrower and don't use --toolbarbutton-inner-padding, so this min-height would make the toolbar grow unexpectedly in that case. I think this can just be hardcoded to 16px or 18px or so.
Attachment #8898726 -
Flags: review?(dao+bmo) → review-
Assignee | ||
Comment 18•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #17)
> Comment on attachment 8898726 [details]
> Bug 1389167 - make bookmarks toolbar more visible in customize mode,
>
> https://reviewboard.mozilla.org/r/170142/#review175298
>
> ::: browser/themes/shared/browser.inc.css:35
> (Diff revision 3)
> > max-height: 0;
> > transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
> > }
> >
> > +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> > + outline: 1px solid rgba(12,12,13,0.2);
>
> I think this should be dotted or dashed so that the toolbar doesn't look
> like a big flexible space.
>
> ::: browser/themes/shared/browser.inc.css:35
> (Diff revision 3)
> > max-height: 0;
> > transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
> > }
> >
> > +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> > + outline: 1px solid rgba(12,12,13,0.2);
>
> We still support arbitrary Gtk themes on Linux and I'm sure there are dark
> themes where this color won't be visible. Can you use ThreeDShadow?
>
> Also need to take dark lightweight themes into account, including our own
> Dark theme.
>
> The easiest solution that works in all scenarios would be to omit the color
> (equivalent to using currentColor). This would however make the outline
> stand out more than intended. Making it dotted or dashed should help with
> that.
--> Aaron. I asked about both of these things and was told it should be solid, and this colour. Maybe the linux thing makes a difference, I don't know.
> ::: browser/themes/shared/browser.inc.css:39
> (Diff revision 3)
> > +#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
> > + outline: 1px solid rgba(12,12,13,0.2);
> > + outline-offset: -4px;
> > + -moz-outline-radius: 2px;
> > + /* Avoid the toolbar having no height when there's no items in it */
> > + min-height: calc(16px + 2 * var(--toolbarbutton-inner-padding));
>
> bookmark items are narrower and don't use --toolbarbutton-inner-padding, so
> this min-height would make the toolbar grow unexpectedly in that case. I
> think this can just be hardcoded to 16px or 18px or so.
This is not what I see on Windows 10. With the bookmarks toolbar items in the toolbar, if I change to 'touch' density, the bookmarks toolbar grows taller, and it is 34px tall (16px + 2 * 9px padding). The toolbarbutton placeholder gets the padding from the same relevant rule in browser.css, including --toolbarbutton-inner-padding. What would you like me to do about this?
Flags: needinfo?(dao+bmo)
Flags: needinfo?(abenson)
Comment 19•7 years ago
|
||
Good point about it looking like a flexible spacer. A dashed line would be fine. As for color issues, I'm mostly trying to follow the Photon color guide but if there are other, more appropriate, color values to inherit from then that's fine too.
Flags: needinfo?(abenson)
Comment 20•7 years ago
|
||
mozreview-review |
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
https://reviewboard.mozilla.org/r/170142/#review175282
The dashed line probably works best (otherwise could be confused as a flexible spacer).
Attachment #8898726 -
Flags: review-
Comment hidden (mozreview-request) |
Comment 22•7 years ago
|
||
mozreview-review |
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
https://reviewboard.mozilla.org/r/170142/#review175346
Great!
Attachment #8898726 -
Flags: review+
Assignee | ||
Comment 23•7 years ago
|
||
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
Clearing ni - one request per bug is enough.
Flags: needinfo?(dao+bmo)
Attachment #8898726 -
Flags: ui-review?(abenson)
Comment 24•7 years ago
|
||
(In reply to :Gijs from comment #18)
> This is not what I see on Windows 10. With the bookmarks toolbar items in
> the toolbar, if I change to 'touch' density, the bookmarks toolbar grows
> taller, and it is 34px tall (16px + 2 * 9px padding). The toolbarbutton
> placeholder gets the padding from the same relevant rule in browser.css,
> including --toolbarbutton-inner-padding. What would you like me to do about
> this?
Do you have the overflow chevron on the bookmarks toolbar? That makes it taller (bug 1389966). Bookmark items adjust to compact / touch mode but not by using --toolbarbutton-inner-padding: http://searchfox.org/mozilla-central/rev/e8c36327cd8c9432c69e5e1383156a74330f11f2/browser/themes/shared/toolbarbuttons.inc.css#256-268
Assignee | ||
Comment 25•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #24)
> (In reply to :Gijs from comment #18)
> > This is not what I see on Windows 10. With the bookmarks toolbar items in
> > the toolbar, if I change to 'touch' density, the bookmarks toolbar grows
> > taller, and it is 34px tall (16px + 2 * 9px padding). The toolbarbutton
> > placeholder gets the padding from the same relevant rule in browser.css,
> > including --toolbarbutton-inner-padding. What would you like me to do about
> > this?
>
> Do you have the overflow chevron on the bookmarks toolbar? That makes it
> taller (bug 1389966). Bookmark items adjust to compact / touch mode but not
> by using --toolbarbutton-inner-padding:
> http://searchfox.org/mozilla-central/rev/
> e8c36327cd8c9432c69e5e1383156a74330f11f2/browser/themes/shared/
> toolbarbuttons.inc.css#256-268
No, I'm talking about within customize mode. Then no bookmark items show up, and no chevron either - just the placeholder button.
Comment 26•7 years ago
|
||
Ah, the placeholder "button" that never really acts as a button. I don't think this thing should be a toolbarbutton-1 in the first place; we should treat it as a bug that this makes the toolbar taller while customizing rather than implementing the same weird behavior a second time here.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 28•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #26)
> Ah, the placeholder "button" that never really acts as a button. I don't
> think this thing should be a toolbarbutton-1 in the first place; we should
> treat it as a bug that this makes the toolbar taller while customizing
> rather than implementing the same weird behavior a second time here.
OK. I went with 22px because although you suggested 16/18px but that looks way too small, esp. given the negative offset of the outline. Let me know if you want me to pick a different value.
Comment 29•7 years ago
|
||
mozreview-review |
Comment on attachment 8898726 [details]
Bug 1389167 - make bookmarks toolbar more visible in customize mode,
https://reviewboard.mozilla.org/r/170142/#review175914
Attachment #8898726 -
Flags: review?(dao+bmo) → review+
Comment 30•7 years ago
|
||
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/490b9614bd85
make bookmarks toolbar more visible in customize mode, r=abenson+572682,dao
Comment 31•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 32•7 years ago
|
||
I have reproduced this Bug on Nightly 57.0a1 (2017-08-10) on Windows 10, 64 bit!
The bug's fix is now verified on latest Nightly 57.0a1
Build ID : 20170829100404
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
QA Whiteboard: [bugday-20170823]
Comment 33•7 years ago
|
||
Updated icon for this and there should be extra padding around the toolbar item. See the spec for more detail: https://mozilla.invisionapp.com/share/FKD366GDM#/248932284_Customize_-_Toolbar_On
Updated•7 years ago
|
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•