Closed Bug 1705049 Opened 3 years ago Closed 3 years ago

Overflow button is slightly moved after Pin to overflow animation is completed

Categories

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

Firefox 89
Desktop
All
defect

Tracking

()

VERIFIED FIXED
90 Branch
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)

Attached image pin_overflow.gif

Affected versions

  • 89.0a1(20210412213434)

Affected platforms

  • macOS 11.2.3
  • Windows 10x64
  • Ubuntu 20.04

Steps to reproduce

  1. Open Firefox and select the Pin to Overflow context menu option on a random item from the toolbar.
  2. 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

Notes

  • Attached a screen recording.
Has Regression Range: --- → yes
Has STR: --- → yes

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?

Flags: needinfo?(amlee)
Attached image Overflow icon.svg

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.

Flags: needinfo?(amlee)

Scratch that - I was wrong in comment 3. Changing stroke colours causes us to re-rasterize the image.

(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.

Priority: -- → P1
Priority: P1 → P2
Whiteboard: [proton-toolbar][proton-icons] → [proton-toolbar][proton-icons][priority-2b]
Whiteboard: [proton-toolbar][proton-icons][priority-2b] → [proton-toolbar][proton-icons][priority:2b]
Whiteboard: [proton-toolbar][proton-icons][priority:2b] → [proton-toolbar] [proton-icons] [priority:2b]

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.

  • 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.
Assignee: nobody → sfoster
Status: NEW → ASSIGNED
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fd40805444e
Update chevron/overflow menu animation. r=mconley
Flags: needinfo?(sfoster)
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07b727f23e70
Update chevron/overflow menu animation. r=mconley

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:
Flags: needinfo?(sfoster)
Attachment #9219344 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Whiteboard: [proton-toolbar] [proton-icons] [priority:2b] → [proton-toolbar] [proton-icons] [priority:2b] [proton-uplift]

Comment on attachment 9219344 [details]
Bug 1705049 - Update chevron/overflow menu animation. r?mconley

Low risk Proton patch, approved for 89 beta 8, thanks.

Attachment #9219344 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

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.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Attached image animation.gif
Regressions: 1831300
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: