Closed Bug 524811 Opened 15 years ago Closed 14 years ago

add glowing Firefox icon in the taskbar when downloads are completed

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jbecerra, Assigned: Felipe)

References

(Blocks 1 open bug)

Details

(Whiteboard: win7, [3.6b1])

Attachments

(2 files)

In IE8 when a download is completed, and the app is minimized, its icon in the taskbar starts to glow. In 3.6b1(build2) and trunk that's not the case. This is likely related to on-going work in bug 474060.
Blocks: win7support
Whiteboard: win7, [3.6b1]
Watching IE behavior it looks like they use both the "app requesting focus" nag (yellow/orange blink), and keep the download progress displayed at 100% until the download is dismissed.

I'm looking into finishing bug 474060 and as soon as it gets done I'll post some screenshots here to get some UX love and see what behavior we want to implement.
Depends on: 474060
I'm pretty sure this worked once bug 474060 landed but now I can't seem to get the glow effect when firefox is minimized and a download complete.
The glow effect is the effect of a window asking for attention.  The Download Manager does ask for attention when a download starts and it's already opened but not focused, so perhaps the observation was of a quick download starting and completing.
Ok, I thought it was a yellow glow after the download had complete.  Sorry for any confusion.
This image is a quick summary of the behavior and visual states for download progress that we have at the moment.

The orange blink is the Windows' styling for "a window requesting attention". Currently, we blink the download manager window, twice, at the beginning of a download, only if the download manager window is already open (if it's not open it's opened and brought to front, instead of requesting attention)

If the download finishes fast enough (before the 2 blinks), the orange glow stays. Otherwise, the glow is overriden whenever the progress display is updated.

So, we do have a bit of an inconsistent behavior (mostly due to the change of styling from windows 7), and nothing to indicate when a download has finished.

Things we can do:

 - Blink when a download finishes
 - Blink when all download finishes
 - Keep download progress at 100% after download finishes (but what about if there are other ongoing downloads)
 - Other combinations of these
 - Keep it as is.
Attachment #442519 - Attachment is patch: false
Attachment #442519 - Attachment mime type: text/plain → image/png
My instinct would be (not having used IE8 much):

- Let the progress bar indicate the sum of the downloads
- Let the highlighting (what you refer to as blinking?) indicate whenever any of the downloads are completed.

This way, you know when there's a download that wants your attention, but you can still choose to ignore it if you're waiting for 20 other files to complete.
This patch changes the getAttention calls to the end of a download, rather on the beginning.

On win7, the getAttention call blinks and adds a glow on the taskbar icon (only if the window is not the active one). Also, if there are other downloads going on, the taskbar progress display will override the attention request after a few seconds, so the glow will only remain indefinitely when the last active download finishes.

On other platforms it would just change the call for attention to the end of a download (which makes more sense IMO)

Shawn, what do you think of this change? Do you know what was the reasoning behind calling getAttention when a download begins?
I talked to limi on IRC about making this change and if you like it I'll ask a ui-r? from him too.
Attachment #442927 - Flags: review?(sdwilsh)
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Comment on attachment 442927 [details] [diff] [review]
Get attention on download finished

r=sdwilsh
Attachment #442927 - Flags: review?(sdwilsh) → review+
Comment on attachment 442927 [details] [diff] [review]
Get attention on download finished

Limi, this implements the behavior described in comment #6 that we talked about on IRC some weeks ago.
Attachment #442927 - Flags: ui-review?(limi)
Blocks: cuts-os
Attachment #442927 - Flags: ui-review?(limi) → ui-review+
(In reply to comment #7)
> Created an attachment (id=442927) [details]
> Get attention on download finished

http://hg.mozilla.org/mozilla-central/rev/9be97a5edd72
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
I can verify the patch worked, but the hourly build after this was fixed, broke it.  see bug 570131.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: