Closed
Bug 411172
Opened 17 years ago
Closed 17 years ago
del key does not remove files from the download manager anymore
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
VERIFIED
FIXED
mozilla1.9beta3
People
(Reporter: Peter6, Assigned: elmar.ludwig)
References
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
sdwilsh
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3pre) Gecko/2008010708 Minefield/3.0b3pre ID:2008010708
repro:
open FF
open DM
select a file and hit the [del] key on your keyboard
result:
nada
expected:
the file to be removed from the list
nothing in the errorconsole
this regressed today
Reporter | ||
Updated•17 years ago
|
Summary: del key does not remove files form download manager anymore → del key does not remove files from the download manager anymore
Reporter | ||
Comment 2•17 years ago
|
||
Updated•17 years ago
|
Assignee: nobody → comrade693+bmo
Flags: blocking-firefox3?
Target Milestone: --- → Firefox 3 M11
Updated•17 years ago
|
Whiteboard: [needs patch]
Assignee | ||
Comment 3•17 years ago
|
||
Like so? This patch fixes the problem for me.
Attachment #295831 -
Flags: review?(comrade693+bmo)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs patch] → [has patch]
Comment 4•17 years ago
|
||
Oh hey, I missed two. I regret to inform you that we'll need a browser test for this as well though.
Assignee | ||
Comment 5•17 years ago
|
||
Well, the bug isn't assigned to me, is it... ;-)
What kind of test do you mean? Litmus?
Comment 6•17 years ago
|
||
no - an automated browser test - Like I have in attachment 295657 [details] [diff] [review].
Comment 7•17 years ago
|
||
Comment on attachment 295831 [details] [diff] [review]
patch v1
r=sdwilsh
Test being attached momentarily
Attachment #295831 -
Flags: review?(comrade693+bmo)
Attachment #295831 -
Flags: review+
Attachment #295831 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #295831 -
Flags: approval1.9?
Comment 8•17 years ago
|
||
same patch as v1, but with the test
Attachment #295831 -
Attachment is obsolete: true
Attachment #296171 -
Flags: review+
Attachment #296171 -
Flags: approval1.9?
Updated•17 years ago
|
Whiteboard: [has patch] → [has patch][has review][needs approval]
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Updated•17 years ago
|
Whiteboard: [has patch][has review][needs approval] → [has patch][has review][can land]
Updated•17 years ago
|
Attachment #296171 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Assignee: comrade693+bmo → elmar.ludwig
Comment 9•17 years ago
|
||
Thanks for the patch!
Checking in toolkit/mozapps/downloads/content/downloads.xul;
new revision: 1.44; previous revision: 1.43
Checking in toolkit/mozapps/downloads/tests/browser/Makefile.in;
new revision: 1.4; previous revision: 1.3
Checking in toolkit/mozapps/downloads/tests/browser/browser_bug_411172.js;
initial revision: 1.1
Stephen - you can now remove the litmus test for this since we have an automated one for it!
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Flags: in-litmus?
Resolution: --- → FIXED
Whiteboard: [has patch][has review][can land]
Comment 10•17 years ago
|
||
I backed out the test for this since it was failing on Linux. I'm guessing that one of the keys isn't working for removing downloads, and I'm not sure why...
Checking in toolkit/mozapps/downloads/tests/browser/Makefile.in;
new revision: 1.5; previous revision: 1.4
Status: RESOLVED → REOPENED
Flags: in-testsuite+ → in-testsuite?
Resolution: FIXED → ---
Comment 11•17 years ago
|
||
As Ryan pointed out on irc last night - only mac uses VK_DOM_BACK_SPACE. Oops...
Attachment #296335 -
Flags: review?(rflint)
Assignee | ||
Comment 12•17 years ago
|
||
I should have noticed that as well, but I hadn't looked at the test in detail...
Updated•17 years ago
|
Attachment #296335 -
Flags: review?(rflint)
Comment 13•17 years ago
|
||
All better :)
Checking in toolkit/mozapps/downloads/tests/browser/Makefile.in;
new revision: 1.6; previous revision: 1.5
Checking in toolkit/mozapps/downloads/tests/browser/browser_bug_411172.js;
new revision: 1.2; previous revision: 1.1
Checking in toolkit/mozapps/downloads/tests/browser/browser_bug_411172_mac.js;
initial revision: 1.1
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Verified FIXED using:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008011104 Minefield/3.0b3pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008011104 Minefield/3.0b3pre
and
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2008011105 Minefield/3.0b3pre
Status: RESOLVED → VERIFIED
Flags: in-litmus? → in-litmus+
In addition to automating the delete-and-then-select-the-next-download testcase above, we should have ones for the following:
* when the user is anywhere but the absolute bottom of the DM list, we should keep advancing/selecting downloads until we come to the bottom of the list, at which point we should start moving upwards.
* we should also test--if possible--that starting to delete from the bottom of the DM list moves upwards
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•