Closed
Bug 622032
Opened 14 years ago
Closed 14 years ago
Give some indication that we called InstallTrigger after a button click
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Q1 2011
People
(Reporter: jbalogh, Unassigned)
Details
Attachments
(2 files)
On a slow internet connection it can take a long time for the AOM to do whatever it does in the background before triggering the addon popup. I waited for a few seconds wondering if my button click was actually registered.
We could start a spinner that would get turned off with the success callback from the AOM.
Comment 1•14 years ago
|
||
Ugh, this happens to me all the time. CCing chowse to see if he has great ideas, but yeah, we should do something
Comment 2•14 years ago
|
||
What I'd recommend:
1. While installing, give the button the same style as 'older version' buttons:
white background, light blue border, and blue text. I believe
'.button.concealed' captures most of the style.
2. Change the label from 'Add to Firefox' to 'Installing...'.
3. Replace the plus icon with a spinner.
4. Disable any input, focus, and hover effects on the button until the
install is complete.
5. Revert the button to its original style afterwards.
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
am I correct in assuming the spinner is the same as the one we use across the site?
Comment 6•14 years ago
|
||
(In reply to comment #5)
> am I correct in assuming the spinner is the same as the one we use across the
> site?
Unfortunately, no. Different size, color and background (an unfortunate requirement of animated GIFs).
APNG or SVG+SMIL might work, if I had the time and tools to make either.
Comment 7•14 years ago
|
||
FYI: the reason this is such a problem is that Firefox 4 actually downloads the entire add-on before it pops the install dialog. It's really Firefox's fault that there's no UI indication of this, and it was something that was going to be worked on at some point, but it would be awesome if we could do something too.
Comment 8•14 years ago
|
||
mossop: Does Firefox fire a callback when it's done downloading that we can trigger off of?
Reporter | ||
Comment 9•14 years ago
|
||
(In reply to comment #8)
> mossop: Does Firefox fire a callback when it's done downloading that we can
> trigger off of?
https://developer.mozilla.org/en/XPInstall_API_Reference/InstallTrigger_Object/Methods/install
We already use the callback for redirecting to contributions after installation.
Comment 10•14 years ago
|
||
Note that bug 570012 should be landing today or so which will give immediate feedback in Firefox 4. Firefox 3 is less of an issue as it only downloads 4k or so before showing the install dialog.
Updated•14 years ago
|
Priority: -- → P5
Comment 11•14 years ago
|
||
wontfix due to comment 10, thanks
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•