Closed Bug 329659 Opened 20 years ago Closed 20 years ago

download manager open,remove and contextmenu don't work anymore

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: Peter6, Assigned: smaug)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060307 Firefox/1.6a1 ID:2006030710 repro: 1.download something 2.rightclick in download manager and choose anything 3.click on open or remove result nothing happens: only the clean up button and doubleclick still work
This is likely a regression from bug 234455, the DM fires events when the context menu options are selected. http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/content/downloads.js#113 (should regressions from that bug block it, or depend on it? I wish bug 251556 was fixed on b.m.o :)
i'll test this later, but does changing e.initEvent("download-" + aEventType, false, true); to e.initEvent("download-" + aEventType, true, true); help here? Earlier events did always bubble in XUL, but not anymore.
> i'll test this later, but does > changing e.initEvent("download-" + aEventType, false, true); > to e.initEvent("download-" + aEventType, true, true); > help here? Earlier events did always bubble in XUL, but not anymore. That change fixes the context menu, but not the Open/Remove links.
OS: Windows 2000 → All
Assignee: nobody → smaug
OS: All → Windows 2000
Status: NEW → ASSIGNED
Attached patch proposed patchSplinter Review
Attachment #214442 - Flags: review?
Attachment #214442 - Flags: review? → review?(mconnor)
(In reply to comment #5) > Created an attachment (id=214442) [edit] > proposed patch > mconnor is sick in bed acc. his blog
Attachment #214442 - Flags: review?(mconnor) → review?(robert.bugzilla)
Comment on attachment 214442 [details] [diff] [review] proposed patch Thanks
Attachment #214442 - Flags: review?(robert.bugzilla) → review+
Checking in mozapps/downloads/content/download.xml; /cvsroot/mozilla/toolkit/mozapps/downloads/content/download.xml,v <-- download.xml new revision: 1.22; previous revision: 1.21 done Checking in mozapps/downloads/content/downloads.js; /cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <-- downloads.js new revision: 1.55; previous revision: 1.54 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
While I don't have Win2000, I know for a fact this works on other Win32 platforms, such as XP and Vista. 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: