Overflow button is slightly moved after Pin to overflow animation is completed
Categories
(Firefox :: Toolbars and Customization, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | verified |
firefox90 | --- | verified |
People
(Reporter: atrif, Assigned: sfoster)
References
(Blocks 3 open bugs, Regressed 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [proton-toolbar] [proton-icons] [priority:2b] [proton-uplift])
Attachments
(4 files)
Affected versions
- 89.0a1(20210412213434)
Affected platforms
- macOS 11.2.3
- Windows 10x64
- Ubuntu 20.04
Steps to reproduce
- Open Firefox and select the Pin to Overflow context menu option on a random item from the toolbar.
- Observe the Overflow animation.
Expected result
- Animation icon have the same size as the button itself.
Actual result
- When the animation is completed the Overflow button has a slight movement. I think this is because the animation has bolded lines like the new implemented chevron icon.
Regression range
- Last good revision: ca8aff8285cadc7fb74b0f05676ebcd98b4f77d3
First bad revision: f160141317e9c764ac698e7dab08c36820e7e922
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ca8aff8285cadc7fb74b0f05676ebcd98b4f77d3&tochange=f160141317e9c764ac698e7dab08c36820e7e922
Notes
- Attached a screen recording.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
I think this is because the overflow button animation was generated using the old icon.
amylee, was this animation in scope for being regenerated for MR1?
Assignee | ||
Comment 2•3 years ago
|
||
Here's the replacement animation from UX. It needs optimization still, but it basically does a cross fade between the default and highlight color. We need to either implement this or remove the animation entirely for 89. I think implementing it - replacing the existing film strip with this one - would actually be less work.
Comment hidden (obsolete) |
Comment 4•3 years ago
|
||
Scratch that - I was wrong in comment 3. Changing stroke colours causes us to re-rasterize the image.
Comment 5•3 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) (Catching up on needinfos) from comment #1)
I think this is because the overflow button animation was generated using the old icon.
amylee, was this animation in scope for being regenerated for MR1?
Hi, yes the icon has been provided to be implemented for MR1
This is present also pre-proton, see bug 1386025 and its dupes.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
I have a new animation from :amylee that uses the re-drawn chevron icon and is a more subtle touch in keeping with the Proton style. Its also the same size as the icon itself and fixes this bug so I'm going to hijack it to get those changes in.
Assignee | ||
Comment 8•3 years ago
|
||
- New filmstrip animation svg. It animates between the currentColor and attention color. We could do this via a CSS animation changing the fill value over time, but my understanding is to ensure animation happens on the compositor/GPU, the filmstrip is the better way to go.
Updated•3 years ago
|
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8fd40805444e Update chevron/overflow menu animation. r=mconley
Comment 10•3 years ago
|
||
Backed out changeset 8fd40805444e (bug 1705049) for Browser-chrome failures in browser/components/customizableui/test/browser_widget_animation.js. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=338238388&repo=autoland&lineNumber=3301
Push that introduced failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=8fd40805444ee0adfa2a70f9f9f6610b53db59dd
Backout:
https://hg.mozilla.org/integration/autoland/rev/c3b1ce3677861d736f61c8df8ea3de621351f29d
Comment 11•3 years ago
|
||
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07b727f23e70 Update chevron/overflow menu animation. r=mconley
Assignee | ||
Comment 12•3 years ago
|
||
Comment on attachment 9219344 [details]
Bug 1705049 - Update chevron/overflow menu animation. r?mconley
Beta/Release Uplift Approval Request
- User impact if declined: Required for Proton/MR1
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0 in the bug.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Updates an existing toolbar animation.
- String changes made/needed:
Assignee | ||
Updated•3 years ago
|
Comment 13•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Comment on attachment 9219344 [details]
Bug 1705049 - Update chevron/overflow menu animation. r?mconley
Low risk Proton patch, approved for 89 beta 8, thanks.
Comment 15•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Reporter | ||
Comment 16•3 years ago
|
||
Verified fixed with Firefox 89.0b8 and 90.0a1 (20210504214950) on Windows 10x64, macOS 11.2.3 and Ubuntu 20.04.
The animation is displayed as shown in comment 2.
Reporter | ||
Comment 17•3 years ago
|
||
Updated•3 years ago
|
Description
•