Closed Bug 201697 Opened 21 years ago Closed 21 years ago

"Remove from List" does nothing - cannot delete items from download manager.

Categories

(SeaMonkey :: Download & File Handling, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4final

People

(Reporter: phil, Assigned: janv)

References

Details

(Keywords: regression, Whiteboard: [adt1])

Attachments

(1 file)

User-Agent:       Mozilla/4.7 (X11; Linux)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030327 Debian/1.3-4

On seemingly random occasions, entries in the download manager cannot be removed
once they have finished downloading.  I cannot consistently reproduce the
problem, but it seems to only occur with non-image files saved to disk (e.g., a
.pdf file).

IMHO, this is "major" because now the DM has an ever-accumulating list of
documents that I can't clear for easy management.  (At the moment, it serves as
a handy reference to every field manual I've downloaded in the last week, but I
really didn't want that, thanks...)


Reproducible: Sometimes

Steps to Reproduce:
1. Download some things, preferably a non-image file.  Save them to disk rather
   than open them in an application.
2. Click the DM.  Use Ctrl-A to select all of them.
3. Click "Remove from List".

Actual Results:  
Sometimes, nothing at all.


Expected Results:  
Removed all of them.  (Which works sometimes.)
Can be reproduced with Mozilla 1.4a/MacOSX.
WFM - current CVS based trunk build - linux

Reporter : can you try with a younger build, even a nightly one (for 1.4b) ?

Thanks.
Happens on Windows2003 as well with recent builds.

OS -> all perhaps?
Status: UNCONFIRMED → NEW
Ever confirmed: true
-> jag.

Error: ds.beginUpdateBatch is not a function
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 269
Keywords: nsbeta1
OS: Linux → All
really over to jag.
Assignee: blaker → jaggernaut
Sorry Jag, I jumped the gun. 

Jan this is your regression (or at least someone needs to change the Download
Manager callers, or something).

1.25 <varga@netscape.com> 23 May 2003 05:03
Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.

In that revision of downloadManager.js, you did:

-      var observer =
gDownloadView.builder.QueryInterface(Components.interfaces.nsIRDFObserver);
-      var ds = gDownloadView.database;
-      observer.beginUpdateBatch(ds);
-      
+      var ds = window.arguments[0];
+      ds.beginUpdateBatch();
       for (i = 0; i <= selectedItems.length - 1; ++i) {
         gDownloadManager.removeDownload(selectedItems[i].id);
       }
+      ds.endUpdateBatch();
 
       gDownloadManager.endBatchUpdate();
-      observer.endUpdateBatch(ds);
-      var remote =
window.arguments[0].QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
-      remote.Flush();
-      gDownloadView.builder.rebuild();
Assignee: jaggernaut → varga
*** Bug 207101 has been marked as a duplicate of this bug. ***
Tweaking bug summary for better b.m.o. queries.
Summary: "Remove from List" does nothing → "Remove from List" does nothing - cannot delete items from download manager.
I have encountered this as well in 1.3.1 and 1.4b but it has never been a real
problem for me, as it allows me to delete the entries eventually.
This is currently happening to me.

I am running a CVS build (not nightly) from yesterday (5-26-03).

It will not allow me to remove any entries from the list.

Nominating for blocking1.4
Flags: blocking1.4?
Keywords: regression
silly regression
Priority: -- → P3
Target Milestone: --- → mozilla1.4final
Attached patch patchSplinter Review
Attachment #124297 - Flags: superreview?(sspitzer)
Attachment #124297 - Flags: review?(jaggernaut)
Attachment #124297 - Flags: approval1.4?
Flags: blocking1.4? → blocking1.4+
adt: nsbeta1+/adt1
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt1]
*** Bug 207380 has been marked as a duplicate of this bug. ***
Attachment #124297 - Flags: review?(jaggernaut) → review+
*** Bug 200663 has been marked as a duplicate of this bug. ***
*** Bug 207405 has been marked as a duplicate of this bug. ***
Comment on attachment 124297 [details] [diff] [review]
patch

sr=jag
Attachment #124297 - Flags: superreview?(sspitzer) → superreview+
Comment on attachment 124297 [details] [diff] [review]
patch

a=asa (on behalf of drivers) for checkin to the 1.4 branch.
Attachment #124297 - Flags: approval1.4? → approval1.4+
fixed on the trunk and 1.4 branch
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed1.4
Resolution: --- → FIXED
*** Bug 208112 has been marked as a duplicate of this bug. ***
Verified on 2003-06-03-05 Macho and Win32 branch builds.
Status: RESOLVED → VERIFIED
Keywords: fixed1.4verified1.4
Verified on Macho and Win32 trunk (2003-06-03-08) builds
*** Bug 209444 has been marked as a duplicate of this bug. ***
Just speaking as the reporter -- thanks, works for me under 1.4!
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: