Open Bug 1089347 Opened 11 years ago Updated 3 years ago

Downloads button keeps attention flag after DownloadList.removeFinished() is called

Categories

(Firefox :: Downloads Panel, defect)

33 Branch
x86_64
Windows 8.1
defect

Tracking

()

UNCONFIRMED

People

(Reporter: fuzzykiller, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: With Downloads.jsm, execute the following code after a download has finished and the Downloads button in the toolbar has the attention flag set: let downloadList = yield Downloads.getList(Downloads.ALL); downloadList.removeFinished(); Actual results: Download is removed (ie. list of downloads is empty). Attention flag stays. Expected results: Download is removed. Because there is no longer anything there warranting the attention flag, it should be removed.
Also occurs on Firefox 33, missed the update until now, sorry.
Version: 32 Branch → 33 Branch
Component: Untriaged → Downloads Panel
Does it work as expected in previous versions of Firefox? (NB: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/)
No. In Firefox 20, the first version to fix bug 812813, this behavior can be reproduced by having the Download history open prior to finishing the download and then clearing it from there. The button will stay colored. In Firefox 26, the first version to implement Downloads.jsm, this behavior can be reproduced the same way. Until bug 1068052 is fixed, I expect it to remain this way. The patch on this bug report, however, will not fix this issue, because it's implement such that the state is reset "manually" after removeFinished() is called.
In the last paragraph, I meant to reference bug 974718.

6+ years later, on Firefox 86, this behavior remains unchanged. At least auto-hide is triggering correctly, if enabled.

sign in to Firefox sync with Google than download

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: