Closed Bug 423218 Opened 16 years ago Closed 16 years ago

Restart option does not appear for installs from the local filesystem

Categories

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

defect

Tracking

()

VERIFIED FIXED
mozilla1.9beta5

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(1 file)

When installing an extension from the local disk by drag and drop into the app or by using the install button the restart button is not triggered.
Flags: blocking-firefox3?
Attached patch patch rev 1Splinter Review
Since threading was removed from xpinstall it is now possible for a call to gEM.addDownloads to perform a complete install from the local filesystem in one hit. So in this case the install would complete, set gInstalling to false then addDownloads would return and gInstalling would get set to true. A simple reorder of setting the flag solves this.
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #309763 - Flags: review?(robert.bugzilla)
Just for the records: This affects SeaMonkey 2.0a1pre Trunk-Builds too. 
Attachment #309763 - Flags: review?(robert.bugzilla) → review+
Needed for toolkit apps like Thunderbird.
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Checking in toolkit/mozapps/extensions/content/extensions.js;
/cvsroot/mozilla/toolkit/mozapps/extensions/content/extensions.js,v  <--  extensions.js
new revision: 1.174; previous revision: 1.173
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 beta5
20080317_1734_firefox-3.0b5pre.en-US.win32.zip

fixed, thanks Mossop.
Jupp, I can verify this, using SeaMonkey 2008031716 Tinderbox-Build. Thanks. 
Verified with:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008031904 Minefield/3.0b5pre ID:2008031904

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008031806 Minefield/3.0b5pre ID:2008031806

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008032003 Thunderbird/3.0a1pre ID:2008032003
Blocks: 414936
Status: RESOLVED → VERIFIED
Flags: in-litmus?
OS: Windows XP → All
Hardware: PC → All
Added litmus test: https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=5298
Flags: in-litmus? → in-litmus+
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: