Closed
Bug 960484
Opened 11 years ago
Closed 11 years ago
Download button should notify user on every completed download in case of multiple downloads (followup from bug 953433)
Categories
(Firefox for Metro Graveyard :: Downloads, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 30
People
(Reporter: azasypkin, Assigned: azasypkin)
References
Details
(Whiteboard: p=5 s=it-30c-29a-28b.2 r=ff30)
Attachments
(1 file, 1 obsolete file)
6.25 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
We need to somehow notify user on every completed download in case of multiple concurrent downloads. Currently we only show the progress of a single download even if two are occurring at the same time.
Steps to reproduce the issue:
1) Open Firefox Metro;
2) Start download anything from a website;
3) While the first file is downloading, start new download;
4) Download indicator will become dark blue only once both downloads finished.
Current Behavior:
- Download indicator will become dark blue only once both downloads are finished without any intermediate notifications on every finished download.
Expected Behavior:
- User should be notified somehow on every finished download.
Updated•11 years ago
|
Whiteboard: [triage] [defect] p=0
Updated•11 years ago
|
Whiteboard: [triage] [defect] p=0 → [defect] p=0
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Whiteboard: [defect] p=0 → [defect] p=5 s=it-30c-29a-28b.1 r=ff30
Updated•11 years ago
|
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [defect] p=5 s=it-30c-29a-28b.1 r=ff30 → p=5 s=it-30c-29a-28b.1 r=ff30
Assignee | ||
Comment 1•11 years ago
|
||
Here is PoC of how we can notify user on every completed download - just using concentric effect not only for the case when when all downloads finished, but for every completed download. It's similar to what desktop version does. What do you think?
Attachment #8375085 -
Flags: feedback?
Assignee | ||
Updated•11 years ago
|
Attachment #8375085 -
Flags: feedback? → feedback?(sfoster)
Comment 2•11 years ago
|
||
Comment on attachment 8375085 [details] [diff] [review]
poc.diff
Review of attachment 8375085 [details] [diff] [review]:
-----------------------------------------------------------------
Code-wise this looks great. Note you'll want to dupe bug 967632 if you end up landing the concentric ring effect here.
I think we'll want some UI review on the behavior though. If I start 2 simultaneous downloads, the notification tracks progress of those two together. And I only see the ring effect when the 2nd of those downloads is complete. If I then start a further download without dismissing the notification, that one notifies correctly. ISTM that the goal of this bug was to keep the summarized progress, but show the navbar and ring effect on the download button when each download completes.
Possibly a separate issue - I still find it awkward that the only way to dismiss the download-complete notification is to actually run/open the file or view its location in explore.exe. If we hooked up the close button so it also cleared out the completed downloads, the navbar download button would become more useful. As it stands, its a bit annoying as clicking it only shows you the notification you've already seen.
I've kicked off a build on try so people can give it a whirl: https://tbpl.mozilla.org/?tree=Try&rev=f0059c7b50c8, installer will show up at: https://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/sfoster@mozilla.com-f0059c7b50c8/
::: browser/metro/theme/circularprogress.css
@@ +24,2 @@
> background-size: 40px 40px;
> + background: url(chrome://browser/skin/images/progresscircle-bg.png) no-repeat;
doesnt using the background shorthand here just reset background-size to auto auto?
@@ +34,5 @@
> +
> +.circularprogressindicator-progressNotification.progressNotification-active {
> + visibility: visible;
> + opacity: 0;
> + transform: scale(2);
I love it :)
@@ +35,5 @@
> +.circularprogressindicator-progressNotification.progressNotification-active {
> + visibility: visible;
> + opacity: 0;
> + transform: scale(2);
> + transition: opacity 1s, transform 1s;
We have a @metro_animation_duration@ we use for a lot of animations, which you might try. 1 second looked ok to me though.
Attachment #8375085 -
Flags: ui-review?(ywang)
Attachment #8375085 -
Flags: feedback?(sfoster)
Attachment #8375085 -
Flags: feedback+
Assignee | ||
Comment 3•11 years ago
|
||
.(In reply to Sam Foster [:sfoster] from comment #2)
> Comment on attachment 8375085 [details] [diff] [review]
> poc.diff
>
> Review of attachment 8375085 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Code-wise this looks great. Note you'll want to dupe bug 967632 if you end
> up landing the concentric ring effect here.
> I think we'll want some UI review on the behavior though. If I start 2
> simultaneous downloads, the notification tracks progress of those two
> together. And I only see the ring effect when the 2nd of those downloads is
> complete. If I then start a further download without dismissing the
> notification, that one notifies correctly. ISTM that the goal of this bug
> was to keep the summarized progress, but show the navbar and ring effect on
> the download button when each download completes.
Yeah, actually we have one more bug, that looks the same - bug 960489, but I'm not sure how I can divide these two bugs on the "patch" level, as on logical level I think it's right to have them both.
Regarding to bug 967632 - I thought we already have UX proposal for concentric ring effect (later will use just "cr effect" :) ) itself provided by mmaslaney in bug 953433 that you converted to mov :) Still need hover\active styles for "download-finished" though.
Regarding to case with 2 simultaneous downloads, did you mean that while we have several downloads and navbar is hidden, then navbar will appear (+ cr effect) only once everything is downloaded? Yes, currently intermediate cr effect is visible only if navabar is visible. Agree that we need UX feedback to improve that. The easiest solution would be showing up navbar + cr effect on every completed download, but it may be distracting for the user. Probably we can use some less distracting (smth like toast?) notifications in case navbar is hidden and cr effect otherwise.
> Possibly a separate issue - I still find it awkward that the only way to
> dismiss the download-complete notification is to actually run/open the file
> or view its location in explore.exe. If we hooked up the close button so it
> also cleared out the completed downloads, the navbar download button would
> become more useful. As it stands, its a bit annoying as clicking it only
> shows you the notification you've already seen.
Totally agree on that, first I was thinking that was a bug :) I think it's a good candidate for the separate bug. Also I'm a bit confused with infobar all the time: in case we started 2 downloads, it displays "2 files downloading", once one of the files is downloaded it still displays "2 files downloading". Do we have some initial info on how it should be?
> I've kicked off a build on try so people can give it a whirl:
> https://tbpl.mozilla.org/?tree=Try&rev=f0059c7b50c8, installer will show up
> at:
> https://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/sfoster@mozilla.
> com-f0059c7b50c8/
>
> ::: browser/metro/theme/circularprogress.css
> @@ +24,2 @@
> > background-size: 40px 40px;
> > + background: url(chrome://browser/skin/images/progresscircle-bg.png) no-repeat;
>
> doesnt using the background shorthand here just reset background-size to
> auto auto?
Oops, right. Btw, I'm trying to use shorthand properties where it's possible, for me it looks more readable even if I need to explicitly set some default values like "top left" in this case:
background: url(chrome://browser/skin/images/progresscircle-bg.png)
no-repeat
top left / 40px 40px;
Do we have any Team wide preferences on that?
> @@ +34,5 @@
> > +
> > +.circularprogressindicator-progressNotification.progressNotification-active {
> > + visibility: visible;
> > + opacity: 0;
> > + transform: scale(2);
>
> I love it :)
I like it too :) But "visibility: visible" and "opacity: 0" together look kind of awkward and hacky :)
> @@ +35,5 @@
> > +.circularprogressindicator-progressNotification.progressNotification-active {
> > + visibility: visible;
> > + opacity: 0;
> > + transform: scale(2);
> > + transition: opacity 1s, transform 1s;
>
> We have a @metro_animation_duration@ we use for a lot of animations, which
> you might try. 1 second looked ok to me though.
Great, thanks! Will definitely use @metro_animation_duration@ and it will look even better.
Comment 4•11 years ago
|
||
Hi Oleg, could you please attach screenshots of the UI you implemented to the bug, including all different states?
That will help me review your UI request. Thanks!
Flags: needinfo?(azasypkin)
Comment 5•11 years ago
|
||
After discussions on IRC, we agreed for bug 960484 we focus applying flash animation to download icon when nav bar is visible. For v1 we don't notify the users on the individual download when they are on full-screen.
A idea Yuan proposed for v2:
On full-screen, when a download is completed, download icon jumps up and down like a ball for a few seconds. No need of showing download info bar or nav bar.
Flags: needinfo?(azasypkin)
Updated•11 years ago
|
Attachment #8375085 -
Flags: ui-review?(ywang)
Comment 6•11 years ago
|
||
To summarize discussion in IRC: for this bug we want to:
* Flash the download icon in the navbar whenever a download completes (if the navbar is visible)
* Only show the navbar and completed notification when all downloads complete
* Behavior for clicking on the navbar download status button doesn't change
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8375085 -
Attachment is obsolete: true
Attachment #8376184 -
Flags: review?(sfoster)
Comment 8•11 years ago
|
||
Comment on attachment 8376184 [details] [diff] [review]
patch.diff
Review of attachment 8376184 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, works nicely.
Attachment #8376184 -
Flags: review?(sfoster) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Thanks for review! Created one more followup to further improve that thing :) - bug 973043.
Also it looks like we can close both bug 967632 and bug 960489 once this patch is landed.
Keywords: checkin-needed
Updated•11 years ago
|
Whiteboard: p=5 s=it-30c-29a-28b.1 r=ff30 → p=5 r=ff30
Comment 10•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: p=5 r=ff30 → p=5 r=ff30[fixed-in-fx-team]
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: p=5 r=ff30[fixed-in-fx-team] → p=5 r=ff30
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
QA Contact: jbecerra → kamiljoz
Whiteboard: p=5 r=ff30 → p=5 s=it-30c-29a-28b.2 r=ff30
Comment 12•11 years ago
|
||
Flagged for testing and verification. If defects found please reopen.
Flags: needinfo?(kamiljoz)
Comment 13•11 years ago
|
||
Went through the following verification process using the following build:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-02-26-03-02-02-mozilla-central/
- Ensured that the animation is triggered when downloading a single file and the navigation app bar is visible
- Ensured that the animations are triggered when downloading multiple files at the same time and the navigation app bar is visible
- Ensured that the download button is visible under about:start and the animations are triggered when there's multiple downloads
- Ensured that once all the downloads are complete, the "download complete app bar" slides into view without any issues
- Ensured that the download button is cleared when "Open" or "Show in folder" is selected
- Ensured that the animation is still triggered if a user hits save after waiting and the download already completed in the background
- Went through all of the above test cases using different variations of snapped view
I found tons of issues with the download process and created the appropriate bugs, blocked Bug #898477.
Status: RESOLVED → VERIFIED
Flags: needinfo?(kamiljoz)
You need to log in
before you can comment on or make changes to this bug.
Description
•