Closed
Bug 873355
Opened 11 years ago
Closed 11 years ago
Download progress dialog can break in Private Browsing mode
Categories
(SeaMonkey :: Download & File Handling, defect)
SeaMonkey
Download & File Handling
Tracking
(seamonkey2.19 fixed, seamonkey2.20 fixed, seamonkey2.21 fixed)
RESOLVED
FIXED
seamonkey2.21
People
(Reporter: rsx11m.pub, Assigned: neil)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
26.89 KB,
image/png
|
Details | |
1.33 KB,
patch
|
iannbugzilla
:
review+
rsx11m.pub
:
feedback+
Callek
:
approval-comm-aurora+
Callek
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Go into Edit > Preferences > Browser > Downloads 2. Select "Open a progress dialog" 3. Open a Private Browsing window 4. Open the Download Manager (seems to help triggering the issue) 5. Download some file and watch the progress bar 6. Repeat until the progress bar dialog breaks (screenshot follows) (closing the private window and opening a new one may help as well) 7. File is downloaded but the dialog is completely useless Following entries in the Error Console: Error: TypeError: dldata is undefined Source File: chrome://communicator/content/downloads/progressDialog.js Line: 36 Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController] Source File: chrome://communicator/content/downloads/progressDialog.js Line: 102
Step #2 is implicit for Private Browsing, thus no need to select it. Apparently the issue needs a prior download from a non-private window to be triggered. And, the Download Manager has to be open when downloading from a private window. Thus, here the more direct list of steps to reproduce: 1. Start SeaMonkey with a new profile (just to be sure that nothing interferes) 2. Download some image or file from a site with the right-click menu 3. The Download Manager opens by default, leave it open 4. Now open a new private window, leave the initial non-private window open 5. Download another image or file from a web site 6. Progress Dialog comes up and stays broken, file is downloaded
To clarify the timing of the messages in the Error Console: > Error: TypeError: dldata is undefined > Source File: chrome://communicator/content/downloads/progressDialog.js > Line: 36 The first error occurs upon opening of the progress dialog. > Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 > (NS_ERROR_FAILURE) [nsIControllers.removeController] > Source File: chrome://communicator/content/downloads/progressDialog.js > Line: 102 The second error is logged when closing the progress dialog.
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee | ||
Comment 4•11 years ago
|
||
Ah yes, I know what's going on here; the progress dialog assumes that if the download manager is open then it will be showing its download. This is of course false for private downloads.
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 751686 [details] [diff] [review] Proposed patch This fixes it for me, with or without the Download Manager open.
Attachment #751686 -
Flags: feedback?(rsx11m.pub) → feedback+
Assignee | ||
Updated•11 years ago
|
Attachment #751686 -
Flags: review?(iann_bugzilla)
Attachment #751686 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Pushed comm-central changeset 6c6d2a00b240.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.21
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 751686 [details] [diff] [review] Proposed patch [Approval Request Comment] User impact if declined: Unable to track progress of a private download Risk to taking this patch (and alternatives if risky): Workaround is to close the download manager before starting a private download String changes made by this patch: None
Attachment #751686 -
Flags: approval-comm-beta?
Attachment #751686 -
Flags: approval-comm-aurora?
Updated•11 years ago
|
Attachment #751686 -
Flags: approval-comm-beta?
Attachment #751686 -
Flags: approval-comm-beta+
Attachment #751686 -
Flags: approval-comm-aurora?
Attachment #751686 -
Flags: approval-comm-aurora+
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/releases/comm-aurora/rev/e84bb9894e03 http://hg.mozilla.org/releases/comm-beta/rev/a70e094d8b4d
status-seamonkey2.19:
--- → fixed
status-seamonkey2.20:
--- → fixed
status-seamonkey2.21:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•