Refresh the download icons and animation
Categories
(Firefox :: Theme, enhancement, P1)
Tracking
()
People
(Reporter: sfoster, Assigned: sfoster)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [proton-icons] [proton-uplift])
Attachments
(6 files, 1 obsolete file)
We have newly drawn svgs for the download toolbar button (browser/themes/shared/downloads/download-icons.svg)
Note that this is currently a composite SVG with a few <use href="#"/>
elements to draw the various states consistently from one single image.
One of those uses is in the animation when a download starts/ends, so updating this image needs to be tightly coordinated with updating those animations.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #0)
Note that this is currently a composite SVG with a few
<use href="#"/>
elements to draw the various states consistently from one single image.
That's a hack that's bad for perf afaik, that should stop being used ideally.
Assignee | ||
Comment 2•4 years ago
|
||
As the animation and icon are interlinked, lets update both on this bug.
(In reply to Tim Nguyen :ntim from comment #1)
(In reply to Sam Foster [:sfoster] (he/him) from comment #0)
Note that this is currently a composite SVG with a few
<use href="#"/>
elements to draw the various states consistently from one single image.That's a hack that's bad for perf afaik, that should stop being used ideally.
Noted. That might make sense as the designs I've seen for the new animation and progress indicator look like they don't need these parts broken out and reusable in the same way.
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
Assets for animation
Comment 6•4 years ago
|
||
I'll note that this is very much not a drop-in replacement. It looks like the old download icons SVG contained multiple images:
- chrome://browser/skin/downloads/download-icons.svg#arrow
- chrome://browser/skin/downloads/download-icons.svg#arrow-with-bar
- chrome://browser/skin/downloads/download-icons.svg#default-bar
- chrome://browser/skin/downloads/download-icons.svg#progress-bar-bg
- chrome://browser/skin/downloads/download-icons.svg#progress-bar-fg
Attempting to detangle this now.
Comment 7•4 years ago
|
||
It looks like these sub images are all components of the various pre-existing downloads button animations. The vast majority of the uses of download-icons.svg
is the "arrow-with-bar" variant, which is what the downloads.svg
looks like. I'm going to update all of the uses of "arrow-with-bar" to use downloads.svg
directly.
For the animations... there's no way I can just drop this in and have it work. Replacing downloads.svg
means inserting the downloads animations simultaneously, so it's all going to be one big change. I guess that's why we split this out into its own bug.
Comment 8•4 years ago
|
||
This mainly replaces all usages of the historical "arrow-with-bar" variant of the icon. This
does not update any of the download animations.
Comment 9•4 years ago
|
||
sfoster said he'd take over, since he's more familiar with the downloads button.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
- New start and finish animations using svg filmstrip images
- Toolbarbutton progress "bar" is a pie-chart, using the same filmstrip animation technique
Status:
- Basic start/progress/finish animations hooked.
- First pass at SVG optimization done, more todo.
- SVG colors are currently hard-coded, not using context-fill/stroke
- Not looked yet at indeterminate downloads
- Not yet verified download button customization
Updated•4 years ago
|
Assignee | ||
Comment 11•4 years ago
|
||
Reference video for the download animation (download panel is closed as download completes)
Assignee | ||
Comment 12•4 years ago
|
||
Reference video for the download animation (download panel is open as download completes)
Comment 13•4 years ago
|
||
how does it work on indetermined size downloads, where there's no known progress?
Oh sorry, I just saw that in the TODO section of comment 10
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
bugherder |
Assignee | ||
Comment 16•4 years ago
|
||
Comment on attachment 9217933 [details]
Bug 1700238 - Update download icon and animations. r?Gijs
Beta/Release Uplift Approval Request
- User impact if declined: Inconsistent icon weight in toolbar, old/non-photon UX for downloading animations.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: The behavior of the downloading button should not changed by this patch, but the visual effects in the download button for the start of a download, download progress and download completion have been updated. Verification should include these steps in supported themes.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Icon and animation assets updated.
Code changes are limited to the download component and are visual changes only with no behavior change or expected side-effects. - String changes made/needed: None
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 17•4 years ago
|
||
Sam, you asked to uplift 025fbea4eca1 which landed on m-c 2 days ago but also D110864 which is marked as WIP and has no review, did you really mean to have this revision imported into beta? Thanks
Updated•4 years ago
|
Assignee | ||
Comment 18•4 years ago
|
||
Comment on attachment 9213657 [details]
WIP: [WIP] Bug 1700238 - Replace downloads icon.
Clearing uplift request on this. This patch was folded into the other.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 19•4 years ago
|
||
:pascalc, thanks for catching that. Yeah 025fbea4eca1 already contains the relevant pieces of that WIP patch. I've removed the uplift flag and marked that attachment as obsolete.
Comment 20•4 years ago
|
||
Comment on attachment 9217933 [details]
Bug 1700238 - Update download icon and animations. r?Gijs
Planned proton work, approved for 89 beta 9, thanks.
Comment 21•4 years ago
|
||
bugherder uplift |
Comment 22•4 years ago
|
||
Confirming here that we (UX and PM) want this uplifted for MR1 to Beta.
Comment 23•4 years ago
|
||
Verified that the refreshed download icon and animations are implemented on 89.0b10 and 90.0a1 (2021-05-10) on Windows 10, Ubuntu 20.04 and macOS 10.15.7.
However we noticed that the panel and progress bar in Comment 12 is different from what we are seeing (see attachment).
Sam, is this intended or the changes in Comment 12 are not yet implemented?
Assignee | ||
Comment 24•3 years ago
|
||
(In reply to Catalin Sasca, QA [:csasca] from comment #23)
However we noticed that the panel and progress bar in Comment 12 is different from what we are seeing (see attachment).
Sam, is this intended or the changes in Comment 12 are not yet implemented?
Yeah the panel progress bar has not yet been implemented. Thanks for the reminder, I've filed bug 1710918 to get that done.
Comment 25•3 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #24)
(In reply to Catalin Sasca, QA [:csasca] from comment #23)
However we noticed that the panel and progress bar in Comment 12 is different from what we are seeing (see attachment).
Sam, is this intended or the changes in Comment 12 are not yet implemented?Yeah the panel progress bar has not yet been implemented. Thanks for the reminder, I've filed bug 1710918 to get that done.
Thank you, Sam! Closing this as verified per comment 23 and comment 24.
Description
•