Closed Bug 405078 Opened 17 years ago Closed 17 years ago

When an update is ready "Apply Downloaded Update Now" menu does nothing

Categories

(Toolkit :: Application Update, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9beta2

People

(Reporter: mossop, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

After an update has been downloaded and is ready to install but before restarting the help menu has an "Apply Downloaded Update Now..." item. Clicking it does nothing.

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007112104 Minefield/3.0b2pre ID:2007112104
I don't have the bandwidth to test repeatedly downloading updates, but since the menuitem calls http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/browser/base/content/utilityOverlay.js&rev=1.55&mark=424-425#412 which calls http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in&rev=1.144&mark=2806-2807#2804 which used to showUI, but after bug 323041 will only showUIWhenIdle, I'll go out on a limb and guess that it does nothing because when you've just selected a menuitem, you haven't been idle for 60 seconds.
Blocks: 323041
Flags: blocking-firefox3?
Keywords: regression
Assignee: nobody → dao
OS: Mac OS X → All
Hardware: PC → All
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox 3 M10
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Attached patch patch (obsolete) — Splinter Review
Another option would be to add a showUpdateDownloadedWhenIdle method or to handle the idle stuff on the call side, but I think it makes more sense this way.
Attachment #289974 - Flags: review?(sspitzer)
s/Helds/Holds/
Attachment #289974 - Attachment is obsolete: true
Attachment #289980 - Flags: review?(sspitzer)
Attachment #289974 - Flags: review?(sspitzer)
Could not Reproduce.
Comment on attachment 289980 [details] [diff] [review]
patch (checked in)

looks good, let's get this landed ASAP.
Attachment #289980 - Flags: review?(sspitzer) → review+
Keywords: checkin-needed
Checking in toolkit/mozapps/update/public/nsIUpdateService.idl;
/cvsroot/mozilla/toolkit/mozapps/update/public/nsIUpdateService.idl,v  <--  nsIUpdateService.idl
new revision: 1.47; previous revision: 1.46
done
Checking in toolkit/mozapps/update/src/nsUpdateService.js.in;
/cvsroot/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in,v  <--  nsUpdateService.js.in
new revision: 1.145; previous revision: 1.144
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
checkForUpdates in utilityOverlay.js must pass both arguments to showUpdateDownloaded.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #290102 - Flags: review?(mconnor)
Comment on attachment 290102 [details] [diff] [review]
sync nsIUpdatePrompt consumers (checked in)

r=sspitzer (stealing review from mike)
Attachment #290102 - Flags: review?(mconnor) → review+
Attachment #289980 - Attachment description: patch → patch (checked in)
Checking in browser/base/content/utilityOverlay.js;
/cvsroot/mozilla/browser/base/content/utilityOverlay.js,v  <--  utilityOverlay.js
new revision: 1.56; previous revision: 1.55
done
Checking in calendar/resources/content/applicationUtil.js;
/cvsroot/mozilla/calendar/resources/content/applicationUtil.js,v  <--  applicationUtil.js
new revision: 1.24; previous revision: 1.23
done
Checking in mail/base/content/mailWindowOverlay.js;
/cvsroot/mozilla/mail/base/content/mailWindowOverlay.js,v  <--  mailWindowOverlay.js
new revision: 1.181; previous revision: 1.180
done
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Attachment #290102 - Attachment description: sync nsIUpdatePrompt consumers → sync nsIUpdatePrompt consumers (checked in)
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120505 Minefield/3.0b2pre and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b2pre) Gecko/2007120504 Minefield/3.0b2pre

-> Verified
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: