Closed Bug 1282050 Opened 9 years ago Closed 9 years ago

"clear downloads" is grayed out when there is an active download till one download is removed from histroy

Categories

(Firefox :: Downloads Panel, defect)

50 Branch
x86_64
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 50
Tracking Status
firefox48 --- wontfix
firefox49 + verified
firefox50 --- verified

People

(Reporter: ht990332, Assigned: Paolo)

References

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20160623005403 Steps to reproduce: First of all, follow the instructions carefully otherwise the bug will not show up. 1) Make sure no active downloads are in process. Close all firefox instances (if you don't do this, you won't see the bug). 2) Open firefox and start a large download that takes 30 minutes. 3) Open Library -> downloads and right click on any download in your history. Noticed the "clear downloads" option is greyed out. 4) Right click on another download and "remove from history". 5) Right click on any other download and notice that "clear downloads" is active again. 6) Finish the above steps BEFORE the currently active file is completely downloaded. If you don't see the bug, stop the active download, remove it from history, close firefox, start it again and repeat the above steps.
Attached image before.png
Attached image after.png
This should be fixed next week by bug 1280799. Please reopen if it doesn’t fix this one
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
It looks like bug 1280799 is fixed. I just did a trunk build and I still see my issue.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Hey Hussam, thanks for checking. Could you check with latest Nightly as well? I can’t reproduce anymore.
Flags: needinfo?(me)
Hi. I think we are talking about different issues. bug 1280799 fixed what happens when the download is cancelled. In this bug, while a download is in progress, the 'clear downloads' button is greyed out. Then if I remove one previous download from history, "clear downloads" is no longer greyed out (while a download is still in progress).
Flags: needinfo?(me)
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 I have managed to reproduce this issue on the latest Nightly (50.0a1, Build ID 20160627030215). I have also ran mozregression and reached the following: Last good revision: 0a58b5b8a407f1420ce27b09554305c6b4bebfa2 First bad revision: 3b3428c04743ca6da4472583dc809ae78cd3a5db Pushlog: https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=0a58b5b8a407f1420ce27b09554305c6b4bebfa2&tochange=3b3428c04743ca6da4472583dc809ae78cd3a5db Looks like the following bug has the changes which introduced the regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1117145
Status: UNCONFIRMED → NEW
Component: Untriaged → Downloads Panel
Ever confirmed: true
Flags: needinfo?(paolo.mozmail)
OS: Unspecified → All
Hardware: Unspecified → x86_64
See Also: → 1277385
Flags: needinfo?(paolo.mozmail)
Comment on attachment 8771426 [details] Bug 1282050 - Fix the updating of download commands in the Library. https://reviewboard.mozilla.org/r/64594/#review61734
Attachment #8771426 - Flags: review?(jaws) → review+
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
Hi, I reported similar behavior some time ago and am happy to see someone working on the bug. I also have suggested adding column sorting for the various columns (i.e., name, speed, size, download progress) if it's an easy thing to do. Maybe there's a widget with this capability that could be used instead of the one that is being used? Just a thought. I'm also seeing a situation where disk full halts the downloads but when the fullness is resolved, the downloads do NOT continue. Also, I'm seeing a situation with download in progress being continued after a browser crash but this download manager widget gives no indication that anything is running. Subsequent termination of the browser happens as if there were no downloads in progress. I know, make a new bug report. Sorry for the shameless posting. George...
Pushed by paolo.mozmail@amadzone.org: https://hg.mozilla.org/integration/fx-team/rev/1249782e3771 Fix the updating of download commands in the Library. r=jaws
Status: ASSIGNED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
[Tracking Requested - why for this release]: Fixes a UI regression in the Library window. Safe to uplift to Aurora.
Tracking 49+ for this visible UI regression in the Library Window.
Comment on attachment 8771426 [details] Bug 1282050 - Fix the updating of download commands in the Library. Approval Request Comment [Feature/regressing bug #]: Bug 1117145 [User impact if declined]: Inconsistent enabled/disabled state of commands in the Library window. [Describe test coverage new/current, TreeHerder]: Landed on mozilla-central [Risks and why]: There are no automated regression tests. The bug was essentially caused by a typo introduced during the refactoring in bug 1117145. This patch fixes the typo and restores the original logic. Therefore the risk of further regressions is probably lower than the average for code without test coverage. [String/UUID change made/needed]: None
Attachment #8771426 - Flags: approval-mozilla-aurora?
Comment on attachment 8771426 [details] Bug 1282050 - Fix the updating of download commands in the Library. This fixes a UI regression in the Library Window. Take it in aurora.
Attachment #8771426 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Blocks: 1276973
Flags: qe-verify+
I have reproduced this bug with Nightly 50.0a1(2016-06-24) on Windows 10, 64 bit. The Bug's fix is now verified on- Latest Beta 49.0b6 Build ID 20160822111414 User Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 Latest Aurora 50.0a2 Build ID 20160824004001 User Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 [bugday-20160824]
This is verified fixed on: - 49.0b8-build1 (20160829102229) - 50.0a2 (2016-08-31) using Windows 10 x64, Mac OS X 10.10.5 and Ubuntu 14.04 x86 - the "Clear Downloads" option is now working as expected. Based on Tanvir's results (Comment 20) and my own findings, we can safely mark this as verified.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
48.0.1 also affected.
Paolo, are you aware of 48.0.1 being affected? Not much we can do about 48, we should probably mark this as wontfix for 48.
Flags: needinfo?(paolo.mozmail)
Yes, this affects 48 and the fix will be released soon in 49. The partial fix in bug 1280799 is already in 48 though. Thanks!
Flags: needinfo?(paolo.mozmail)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: