Closed
Bug 964262
Opened 10 years ago
Closed 10 years ago
Fade in icons in customization mode
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 30
People
(Reporter: phlsa, Assigned: bwinton)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:P2])
Attachments
(1 file, 3 obsolete files)
3.76 KB,
patch
|
jaws
:
review+
phlsa
:
ui-review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Currently, the items that are not yet in the panel or the toolbars appear once the transition into customization mode is finished. We should fade them in instead for ~0.3s (lengthening the overall transition time if that is necessary) in order to make the entire transition look smoother.
Reporter | ||
Updated•10 years ago
|
Blocks: australis-cust
Updated•10 years ago
|
Whiteboard: [Australis:P?] → [Australis:P-]
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → bwinton
Attachment #8384680 -
Flags: ui-review?(philipp)
Attachment #8384680 -
Flags: review?(jaws)
Comment 2•10 years ago
|
||
Comment on attachment 8384680 [details] [diff] [review] The first version of the patch… Review of attachment 8384680 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/customizableui/src/CustomizeMode.jsm @@ +258,5 @@ > this._customizing = true; > this._transitioning = false; > > // Show the palette now that the transition has finished. > + this.visiblePalette.setAttribute("showing", "true"); Drive-by - I think this is going to hurt our CART results. I think we should still apply hidden=false/hidden=true to the palette. Apply hidden=false, and then set the showing attribute, and then *maybe* we'll want to have a transitionend listener on the palette, and yield until that transition completes. Same for the exit transition - remove the showing attribute, yield until the transition completes, and then hide the palette for better performance. We get better performance because hidden removes the palette from the flow of the document, meaning layout doesn't have to worry about it anymore.
Comment 3•10 years ago
|
||
Comment on attachment 8384680 [details] [diff] [review] The first version of the patch… mconley's feedback is good, looking forward to a revised patch :)
Attachment #8384680 -
Flags: review?(jaws)
Reporter | ||
Updated•10 years ago
|
Attachment #8384680 -
Flags: ui-review?(philipp) → ui-review+
Assignee | ||
Comment 4•10 years ago
|
||
Let's try this instead. :) (I'm not using requestAnimationFrame because that doesn't give the dom enough time to be updated, and so the opacity doesn't transition.)
Attachment #8384680 -
Attachment is obsolete: true
Attachment #8384873 -
Flags: review?(jaws)
Updated•10 years ago
|
Whiteboard: [Australis:P-] → [Australis:P2]
Comment 5•10 years ago
|
||
Mike, what do you think about this? I couldn't get Blake's patch to work for me.
Attachment #8384873 -
Attachment is obsolete: true
Attachment #8384873 -
Flags: review?(jaws)
Attachment #8384954 -
Flags: review?(mconley)
Comment 6•10 years ago
|
||
Comment on attachment 8384954 [details] [diff] [review] Patch Review of attachment 8384954 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/customizableui/customizeMode.inc.css @@ +177,5 @@ > + transition: opacity .3s ease-in-out 1s, > + visibility 0s linear; > +} > + > +#main-window[customize-entered] #customization-palette { The customize-entered attribute will be set on #main-window as soon as the CSS transition is completed, but _not_ before we populate the palette. I wonder if this is why you're requiring the longer transition time. Perhaps instead of using the customize-entered attribute on the #main-window, perhaps we should select based on an attribute on the #customization-palette, which gets set after the palette is populated? And removed when depopulated? Also, what did phlsa think of this?
Attachment #8384954 -
Flags: review?(mconley) → feedback+
Assignee | ||
Comment 7•10 years ago
|
||
phlsa gave it a ui-r+. And I'll work on a new patch that adds a new attribute…
Assignee | ||
Comment 8•10 years ago
|
||
(Re-requesting ui-review from Philip, just to make sure this still works the way he wants. Also to give him a chance to check it out on Jared's Windows machine. ;)
Attachment #8384954 -
Attachment is obsolete: true
Attachment #8385369 -
Flags: ui-review?(philipp)
Attachment #8385369 -
Flags: review?(jaws)
Reporter | ||
Comment 9•10 years ago
|
||
Comment on attachment 8385369 [details] [diff] [review] The fourth(?) version of the patch. ;) ui-r+, assuming that this fixes the issues of the animation not triggering on Windows under certain circumstances.
Attachment #8385369 -
Flags: ui-review?(philipp) → ui-review+
Comment 10•10 years ago
|
||
Comment on attachment 8385369 [details] [diff] [review] The fourth(?) version of the patch. ;) Review of attachment 8385369 [details] [diff] [review]: ----------------------------------------------------------------- Perfect, this works great. Thanks :)
Attachment #8385369 -
Flags: review?(jaws) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/89011a82f5f4
Keywords: checkin-needed
Whiteboard: [Australis:P2] → [Australis:P2][fixed-in-fx-team]
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/89011a82f5f4
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P2][fixed-in-fx-team] → [Australis:P2]
Target Milestone: --- → Firefox 30
Comment 13•10 years ago
|
||
Comment on attachment 8385369 [details] [diff] [review] The fourth(?) version of the patch. ;) [Approval Request Comment] Bug caused by (feature/regressing bug #): Australis! User impact if declined: A less pleasant customize mode transition. Testing completed (on m-c, etc.): Lots of baking on m-c. Risk to taking this patch (and alternatives if risky): Very low. String or IDL/UUID changes made by this patch: None.
Attachment #8385369 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → fixed
Updated•10 years ago
|
Attachment #8385369 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•10 years ago
|
||
(huh, I only just noticed that this having my name on is a lie... but oh well :-\ )
Updated•10 years ago
|
QA Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•