Closed Bug 429144 Opened 17 years ago Closed 17 years ago

If downloaded file is removed, but saved dir still exists, then "Open Containing Folder" menu item should be disabled

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9

People

(Reporter: beltzner, Assigned: Mardak)

Details

Attachments

(1 file, 1 obsolete file)

Bug 392446 should have been WONTFIX but got fixed by bug 408565, which had the inadvertant effect of actually leading to error dialogs when the menuItem is used on Windows (see bug 392446 comment 10) We should disable that menuItem, undoing the inadvertent fix of bug 408565. Doesn't block.
Flags: wanted-firefox3+
Flags: blocking-firefox3-
No longer depends on: 392446
So, should 'show in finder' be gray for in-progress downloads? The problem with allowing that is that the final file doesn't actually exist yet (might be downloading to a temporary file), and that would probably lead to the same error message on windows for bug 392446.
Oh wait, perhaps not. Openable is being checked.
Attached patch v1 (obsolete) (deleted) — Splinter Review
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #315799 - Flags: review?(sdwilsh)
Comment on attachment 315799 [details] [diff] [review] v1 let's just add a new case statement for this please
Attachment #315799 - Flags: review?(sdwilsh) → review-
I was going to but remembered something strange happening with lets in switch. Do I need to put a block around the cmd_open case as well as the cmd_show case?
Attached patch v1.1 (deleted) — Splinter Review
Put the lets inside blocks.
Attachment #315799 - Attachment is obsolete: true
Attachment #315803 - Flags: review?(sdwilsh)
Comment on attachment 315803 [details] [diff] [review] v1.1 yeah, this is what I want. r=sdwilsh
Attachment #315803 - Flags: review?(sdwilsh)
Attachment #315803 - Flags: review+
Attachment #315803 - Flags: approval1.9?
Comment on attachment 315803 [details] [diff] [review] v1.1 a1.9=beltzner
Attachment #315803 - Flags: approval1.9? → approval1.9+
Checking in toolkit/mozapps/downloads/content/downloads.js; /cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <-- downloads.js new revision: 1.147; previous revision: 1.146 done Checking in toolkit/mozapps/downloads/tests/browser/browser_multi_select.js; /cvsroot/mozilla/toolkit/mozapps/downloads/tests/browser/browser_multi_select.js,v <-- browser_multi_select.js new revision: 1.2; previous revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3
in-litmus+; I amended https://litmus.mozilla.org/show_test.cgi?id=5257 to reflect this change.
Flags: in-litmus+
Verified FIXED using: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008041604 Minefield/3.0pre Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008041604 Minefield/3.0pre -and- Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008041606 Minefield/3.0pre When a downloaded file is deleted on disk or moved, we disable Open and Open Containing Folder / Show in Finder context-menu items.
Status: RESOLVED → VERIFIED
Keywords: uiwanted
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: