Closed Bug 495999 Opened 16 years ago Closed 16 years ago

Paused download label shown in status bar when leaving PB with active downloads

Categories

(Firefox :: Private Browsing, defect)

3.5 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.6a1
Tracking Status
status1.9.1 --- wontfix

People

(Reporter: sylvain.pasche, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

STR: 1. Start Private Browsing 2. Start one download that is large enough so that you can stop PB with the download still being active. 3. Stop PB with the download still active. Result: "One paused download" label is visible in the status bar, but there is no paused download if you open the Downloads window. Expected: No such label should be visible, the downloads are apparently canceled when leaving PB.
Confirmed in latest branch and trunk Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090602 Shiretoko/3.5pre Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090602 Minefield/3.6a1pre
OS: Linux → All
Hardware: x86_64 → All
Summary: Paused download label shows in status bar when leaving PB with active downloads. → Paused download label shown in status bar when leaving PB with active downloads
Nominating for blocker (new feature + tossing it on the radar)
Flags: blocking-firefox3.5?
I don't that this blocks 3.5 but what would be interesting is this a regression? I think we haven't seen this in the past.
I haven't seen this previously, so my hunch is it might be... (In reply to comment #3) > I don't that this blocks 3.5 but what would be interesting is this a > regression? I think we haven't seen this in the past.
Regression range would help, then. Whimboo was right; not blocking release.
Flags: wanted1.9.1.x+
Flags: blocking-firefox3.5?
Flags: blocking-firefox3.5-
Ehsan, it looks like that this really happens since the beginning. Don't we clear out the statusbar yet?
Version: Trunk → 3.5 Branch
Yeah, this is most certainly not a regression, because I don't remember fixing it at all in the first place! ;-) Taking, patch forthcoming.
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Attached patch Patch (without tests yet) (obsolete) — Splinter Review
Attached patch Patch + testSplinter Review
Same patch code-wise, but this time with a test.
Attachment #381287 - Attachment is obsolete: true
Attachment #381301 - Flags: review?(mconnor)
Is mconnor still the right reviewer here?
status1.9.1: --- → ?
Flags: wanted1.9.1.x+
Whiteboard: [needs r=mconnor]
(In reply to comment #10) > Is mconnor still the right reviewer here? Yes, he's the only possible reviewer.
Comment on attachment 381301 [details] [diff] [review] Patch + test >+ >+ setTimeout(function () { >+ if (DownloadMonitorPanel.inited()) >+ DownloadMonitorPanel.updateStatus(); >+ }, 0); > }, should we just make updateStatus check inited/call init() if something starts early? Might be cleaner. r=me either way.
Attachment #381301 - Flags: review?(mconnor) → review+
I made updateStatus bail out if inited returns false. It can't call init itself because the download manager service is initialized in the delayedStartup function. http://hg.mozilla.org/mozilla-central/rev/d0dadd3b71bb
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs r=mconnor]
Target Milestone: --- → Firefox 3.6a1
Attachment #381301 - Flags: approval1.9.1.3?
Verified FIXED on trunk Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090802 Minefield/3.6a1pre
Status: RESOLVED → VERIFIED
Comment on attachment 381301 [details] [diff] [review] Patch + test Doesn't seem like the kind of fix we have to take on the stable branch. 1.9.1 approval denied.
Attachment #381301 - Flags: approval1.9.1.3? → approval1.9.1.3-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: