Open Bug 379784 Opened 19 years ago Updated 4 years ago

The "What do you want me to do with this file" download dialog centers itself and is annoying.

Categories

(Toolkit :: Downloads API, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: psionicspam, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 The line is here: http://lxr.mozilla.org/seamonkey/source/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js#320 I'd recommend removing it or making it an option. XUL already has a convenient 'persist' attribute that is applied to most of the dialogs I've found. There's no reason for the download window to center itself when it can remember where it was last and go there. On dual screens, this is annoying because the window goes to the middle of the split. Reproducible: Always Steps to Reproduce: 1. Download something 2. Watch your window not stay where it was before 3. Profit? Actual Results: Window opens and centers itself. Expected Results: Window opens and positions itself where it was last time. Offending line of code: http://lxr.mozilla.org/seamonkey/source/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js#320
OS: Linux → All
Hardware: PC → All
Resolving old UNCONFIRMED Download Manager bugs as INCOMPLETE. If you still see this issue, please reopen. To mark all these bug changes as read, filter on ONOMATOPOEIA.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
Given the line of code causing this problem still exists, I am reopening the bug.
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
If providing a patch to fix this problem would help this bug move along faster, let me know. The patch itself will be a one line change removing the offending line of code, which is why I did not provide a patch in the first place.
A patch would be ideal - your link is no longer valid.
When I follow the link, I see this on the page: 320 this.mDialog.centerWindowOnScreen(); I'll post a patch against whatever latest version of the file I can find if necessary :) I'm also OK if the patch is rejected, because this is not viewed as a bug, fwiw.
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.