Closed Bug 1344214 Opened 8 years ago Closed 8 years ago

Status "waiting for download" does not contain the correct button in the pop-up

Categories

(Toolkit :: Add-ons Manager, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox53 --- wontfix
firefox54 --- fix-optional
firefox55 --- verified

People

(Reporter: cbadescu, Assigned: aswan)

References

Details

(Whiteboard: triaged)

Attachments

(3 files)

Attached image ActualResult.gif
[Affected versions]: - Firefox 54.0a1 (2017-03-03) - Firefox 53.0a2 (20170303004003) [Affected platforms]: - Windows 7 64-bit - Ubuntu 16.04 32-bit [Steps to reproduce]: 1.Launch Firefox with clean profile. 2.Create extensions.webextPermissionPrompts and set it to true. 3.Create xpinstall.signatures.dev-root and set it to true. 4.Restart the browser 5.Install the following WebExtension: https://addons-dev.allizom.org/en-US/firefox/addon/permissionsall3/ and observe the pop-up while the WebExtension is downloaded. [Expected results]: - The pop-up has the “Add extension” button while downloading, as presented in the install flow https://www.screencast.com/t/BCoXAATvojP [Actual results]: - The pop-up has the “Install” button while downloading. (please see attached gif) [Additional notes]: - This issue reproduces constantly.
Since that button never becomes active, is this something we care about? Should the install/add button just be removed from the progress notification if we're going to shown permissions prompts?
Flags: needinfo?(mjaritz)
I agree with the [Expected result]. The idea of showing the install (now add) button already on the download dialog is that the downloading time can already count towards the delay that we have for this button. (If the download is instant you would still have to wait some time before the button would become active.) But if it is not instant, the download time counts towards that delay. I would like us to keep that button and ensure that we always use the current string on that button.
Flags: needinfo?(mjaritz)
Flags: needinfo?(aswan)
Keep in mind that while we're downloading the xpi, we don't yet know if it is a webextension (for which we will show a permission notification with "Add") or something else (legacy extension, theme, language pack, etc. for which we may show the existing notification with "Install"). Is the request to change the button to "Add" and then have it change back to "Install" when it becomes active for non-webextensions? That sounds weird to me... Or is the request to change the existing prompt to say "Add"? Or something else?
Flags: needinfo?(aswan) → needinfo?(mjaritz)
(In reply to Andrew Swan [:aswan] from comment #3) > Or is the request to change the existing prompt to say "Add"? Yes. Please change all "Install" to "Add" to align with the new dialog. Thanks.
Flags: needinfo?(mjaritz)
Assignee: nobody → aswan
Priority: -- → P3
Whiteboard: triaged
Attachment #8857699 - Flags: review?(francesco.lodolo)
Comment on attachment 8857699 [details] Bug 1344214 Update button in addon install doorhanger https://reviewboard.mozilla.org/r/129630/#review132376 ::: browser/locales/en-US/chrome/browser/browser.properties:164 (Diff revision 1) > addonDownloadVerifying=Verifying > > addonInstall.unsigned=(Unverified) > addonInstall.cancelButton.label=Cancel > addonInstall.cancelButton.accesskey=C > -addonInstall.acceptButton.label=Install > +addonInstall.acceptButton.label2=Add Please use addonInstall.acceptButton2.label and addonInstall.acceptButton2.accesskey Some tools try to match ID.label and ID.accesskey, so versioning the first part would be better.
Comment on attachment 8857699 [details] Bug 1344214 Update button in addon install doorhanger https://reviewboard.mozilla.org/r/129630/#review132608 Looks good, thanks.
Attachment #8857699 - Flags: review?(francesco.lodolo) → review+
Pushed by aswan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d1429fe13f7 Update button in addon install doorhanger r=flod
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Sorry if not the right bug, This breaks installing of some ext, https://downloads.adblockplus.org/devbuilds/adblockplusfirefox/adblockplusfirefox-1.13.2.1764.xpi Door-hanger just closes w/o install/update option.
Flags: needinfo?(francesco.lodolo)
Flags: needinfo?(aswan)
Please file a new bug explaining what your issue is, what version of Firefox you're using, etc.. This bug only changed an existing string in the dialog. Also, I'm not the right person for a NI on this type of issues.
Flags: needinfo?(francesco.lodolo)
Flags: needinfo?(aswan)
Attached image AddButton.gif
This issue is verified as fixed on Firefox 55.0a1 (2017-04-24) under Wind 7 64-bit, Ubuntu 16.04 32-bit and Mac OS X 10.10.4 The pop-up has the “Add” button while downloading. Please see the attached file.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: