Closed
Bug 408351
Opened 17 years ago
Closed 17 years ago
Double click download should do default action (first item in menu)
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
VERIFIED
FIXED
mozilla1.9beta3
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(1 file)
2.21 KB,
patch
|
sdwilsh
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
After bug 407655 lands, the first item is the default action, so instead of redefining the default actions for each state in the double click code, we can just use the first item's command.
Assignee | ||
Comment 1•17 years ago
|
||
Move the logic into a separate function for doing the default for selected item. Note that the double click handler is only for the gDownloadsView which only contains richlistitem downloads.
Comment 2•17 years ago
|
||
Comment on attachment 293345 [details] [diff] [review] v1 r=sdwilsh
Attachment #293345 -
Flags: review?(comrade693+bmo) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #293345 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #293345 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 3•17 years ago
|
||
Checking in toolkit/mozapps/downloads/content/downloads.js; /cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <-- downloads.js new revision: 1.118; previous revision: 1.117 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-litmus?
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
Comment 4•17 years ago
|
||
Verified; tested with failed, paused, and of course completed download types on: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2007121802 Minefield/3.0b3pre Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2007121801 Minefield/3.0b3pre and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007121802 Minefield/3.0b3pre
Status: RESOLVED → VERIFIED
Comment 5•17 years ago
|
||
I have amended the following testcases to include double-clicking as well as Enter/Return (to cover bug 408350). Active downloads: https://litmus.mozilla.org/show_test.cgi?id=4552 Paused downloads: https://litmus.mozilla.org/show_test.cgi?id=4577 Cancelled/failed downloads: https://litmus.mozilla.org/show_test.cgi?id=4580 Completed downloads: https://litmus.mozilla.org/show_test.cgi?id=3976 in-litmus+
Flags: in-litmus? → in-litmus+
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•