Closed
Bug 1455269
Opened 6 years ago
Closed 6 years ago
Switching tabs while an install doorhanger is open breaks the install flow
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | + | fixed |
firefox62 | + | verified |
People
(Reporter: acupsa, Assigned: zombie)
References
Details
(Keywords: regression)
Attachments
(2 files)
1.71 MB,
image/gif
|
Details | |
59 bytes,
text/x-review-board-request
|
aswan
:
review+
RyanVM
:
approval-mozilla-beta+
|
Details |
Version: 61.0a1 Build ID: 20180418230818 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 [Affected Platforms]: - Win 10 x64 - Ubuntu 14.04 x64 - Mac 10.13.3 [Steps to reproduce]: 1. Start Firefox latest Nightly and navigate on any website in a tab. 2. Open a new tab and and navigate to https://addons.mozilla.org/en-US/firefox/ page. 3. Navigate to one of the extensions and click on "Add to Firefox" button. 4. Wait for the "Add" doorhanger to appear and switch to previous page tab. 5. Return to the Add-ons tab and click on "Add" button from displayed doorhanger. 6. Observe the page's behaviour. [Expected results]: - A confirmation of the installation doorhanger is being displayed. [Actual results]: - The doorhanger is dismissed and the add-on is not installed. [Regression]: - This is not reproducible on the Latest Release Firefox version, and after further investigation seems to be caused by a change occured in recent Nightly builds. After searching for regression window, I have found that this was caused by Bug 1446686. Last good revision: 22cd4c5fcb397d80fc7f693737dc1c827ce61d74 First bad revision: 7e5efe49f034c364260d5f1e0964060693c50d7e Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=22cd4c5fcb397d80fc7f693737dc1c827ce61d74&tochange=7e5efe49f034c364260d5f1e0964060693c50d7e
Reporter | ||
Comment 1•6 years ago
|
||
@:kmag can you please take a look since you have worked on that issue?
Flags: needinfo?(kmaglione+bmo)
Comment 2•6 years ago
|
||
Not a blocker, but not great either.
status-firefox-esr52:
--- → unaffected
tracking-firefox61:
--- → +
Updated•6 years ago
|
Flags: needinfo?(kmaglione+bmo)
Summary: Switching to a website tab while enabling a web extension add-on, breaks the enabling process → Switching tabs while an install doorhanger is open breaks the install flow
Updated•6 years ago
|
Flags: needinfo?(ddurst)
Priority: -- → P2
Updated•6 years ago
|
Updated•6 years ago
|
Comment 4•6 years ago
|
||
David, we've realistically got about two weeks left in this cycle to get this fixed for 61. Is there anybody on your team you can assign to look into this?
Flags: needinfo?(ddurst)
Assignee | ||
Comment 5•6 years ago
|
||
I think I have a simple fix for 61, later today or tomorrow.
Assignee: nobody → tomica
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(ddurst)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Tomislav Jovanovic :zombie from comment #5) > I think I have a simple fix for 61, later today or tomorrow. Calling this a "fix" might be generous, it's a simple workaround for the uplift. The proper fix is probably something like [1], but I can't figure out the cause of intermittent test failures with that applied, and will investigate outside any time pressure.
Assignee | ||
Comment 9•6 years ago
|
||
> something like [1] 1) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4452774a509bb7eb45263be4952075daea55182
Assignee | ||
Updated•6 years ago
|
Attachment #8979649 -
Flags: review?(aswan)
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8979649 [details] bug 1455269 - Cancel instalation on notification dismissal https://reviewboard.mozilla.org/r/245796/#review252330 thanks, don't forget to either set leave-open or file a separate follow-up ::: browser/base/content/test/webextensions/browser_permissions_dismiss.js:7 (Diff revision 2) > + let testURI = makeURI("https://example.com/"); > + Services.perms.add(testURI, "install", Services.perms.ALLOW_ACTION); The test uses mozAddonManager, which shouldn't need this...
Attachment #8979649 -
Flags: review?(aswan) → review+
Comment hidden (mozreview-request) |
Comment 12•6 years ago
|
||
Pushed by tomica@gmail.com: https://hg.mozilla.org/integration/autoland/rev/755e1ebfde37 Cancel instalation on notification dismissal r=aswan
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/755e1ebfde37
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee | ||
Comment 14•6 years ago
|
||
Can we please get QE to verify this doesn't disrupt any existing installation workflow?
Flags: qe-verify?
Updated•6 years ago
|
Flags: qe-verify? → qe-verify+
Reporter | ||
Comment 15•6 years ago
|
||
Version: 62.0a1 Build ID: 20180528220216 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 I have verified this issue on Windows 10 x64, Mac 10.13 and Arch Linux on the latest Nightly(62.0a1), now when navigating to another page tab during an installation flow and returning to the page tab with the installation doorhanger, the doorhanger is no longer displayed. @zombie, is this the intended fix for this issue?
Flags: needinfo?(tomica)
Assignee | ||
Comment 16•6 years ago
|
||
Yes, this is the simple workaround intended for uplift, the full restoration of previous functionality is a followup bug 1464459. I was just wondering if QA could verify this didn't regress any other existing install workflows.
Flags: needinfo?(tomica)
Reporter | ||
Comment 17•6 years ago
|
||
This fix did no regress any other existing install workflows. Methods tested: - Go to the Firefox Add-ons site and select the extension or theme that you would like to install, click on the Add to Firefox button and then click on Install Now. - Open the Add-ons Manager > (Alt + t > a) click on the gear icon (Tools for all add-ons) > Install Add-on From File.. > browse to the add-on > double click the add-on (or select Open) > Install Now - With Firefox open, hit Ctrl+ o (or Cmd+ o) > browse to the extension > double click the extension (or select Open) > Install Now. - Press Alt + f > o > browse to the extension > double click the extension (or select Open) > Install Now. - Drag the extension to the "about:addons" page, Extensions section. - Drag the extension to the instance of Firefox on the taskbar > wait for Firefox to appear > drop onto the browser window > Install Now.
Comment 18•6 years ago
|
||
Thanks for the verification, Andreea! Please request uplift on this when you get a chance, zombie. Thanks :)
Flags: needinfo?(tomica)
Assignee | ||
Comment 19•6 years ago
|
||
Comment on attachment 8979649 [details] bug 1455269 - Cancel instalation on notification dismissal > Approval Request Comment > [Feature/Bug causing the regression]: Bug 1446686. > [User impact if declined]: An uncommon addon install flow leaves installs in a broken state. > [Is this code covered by automated tests?]: Yes. > [Has the fix been verified in Nightly?]: Yes. > [Needs manual test from QE? If yes, steps to reproduce]: Done. > [List of other uplifts needed for the feature/fix]: None. > [Is the change risky?]: Somewhat. > [Why is the change risky/not risky?]: This workaround is only making explicit that we are already canceling the install on tab switching (from bug 1446686). > [String changes made/needed]: None.
Flags: needinfo?(tomica)
Attachment #8979649 -
Flags: approval-mozilla-beta?
Comment 20•6 years ago
|
||
Comment on attachment 8979649 [details] bug 1455269 - Cancel instalation on notification dismissal Fix for poor UX when switching tabs with an open install doorhanger. Approved for 61.0b11.
Attachment #8979649 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 21•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/251c38d653d0
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•