Closed Bug 426983 Opened 16 years ago Closed 16 years ago

Make the download option Clear List always available

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
minor

Tracking

()

VERIFIED FIXED
mozilla1.9

People

(Reporter: ricardofbferreira, Assigned: Mardak)

Details

(Keywords: polish)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

If don't right click on a file but on an empty row in the download list, the option "Clear List" isn't showed.

Reproducible: Always

Steps to Reproduce:
1. Tools -> Downloads
2. Right click on empty space
3.
Works fine for me on Mac.  Maybe this bug is Windows-specific?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040402 Minefield/3.0pre

WFM
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9pre) Gecko/2008040204 Minefield/3.0pre

I can confirm this bug although it's a little tricky to reproduce.

1. Start a download and wait until it's finished.
2. Start a long-running download
3. Click the still running download
4. Right click empty space in the download manager

Result: No "Clear List" menu option
If you right click an ongoing download the option is gone. 
The same thing happens with paused downloads... The context menu items defined in download.js seem to be in effect even when you right click the clear area below the downloads and not an individual entry. Then the entry's context menu is shown.
Severity: enhancement → minor
Summary: Make the option Clear List always available → Make the download option Clear List always available
Madhava: Would it be okay to put "Clear List" on all context menus -- even for active downloads?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch v1Splinter Review
Add clear list for active downloads.. those that are downloading, paused, queued, scanning.

Waiting for madhava to comment.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #315167 - Flags: review?
OS: Windows Vista → All
Hardware: PC → All
Version: unspecified → Trunk
Comment on attachment 315167 [details] [diff] [review]
v1

<madhava>	Mardak - yeah, let's do it
Attachment #315167 - Flags: review? → review?(sdwilsh)
Comment on attachment 315167 [details] [diff] [review]
v1

r=sdwilsh

you might need to make some tests for this to land fyi.
Attachment #315167 - Flags: review?(sdwilsh) → review+
Checking in toolkit/mozapps/downloads/content/downloads.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v  <--  downloads.js
new revision: 1.146; previous revision: 1.145
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-litmus?
Keywords: polish
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3
Verified FIXED using:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008041306 Minefield/3.0pre and the Mac nightly on 10.5 (whose build ID I'm too lazy to paste here!)
Status: RESOLVED → VERIFIED
Whee.. bug 400495 will remove clear list from all the menus ;)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: