Closed Bug 118999 Opened 23 years ago Closed 23 years ago

"Make Default Browser" prompt appears off screen

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows ME
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: izanbardprince, Assigned: law)

References

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.7+) Gecko/20020109
BuildID:    20020109

When I started up todays Mozilla build, the "Make Default Browser" prompt,
appeared at the top left of my screen, running off screen in fact, leaving only
the option buttons visible.

Reproducible: Always
Steps to Reproduce:
1. Make another browser the defualt
2. Start Mozilla
3. When Mozilla starts, the "Make Default Browser" confirmation dialog box will
appear in the wrong place.
->bill
Assignee: trudelle → law
Keywords: qawanted
Confirmed.  Win2k.   2002010903
Status: UNCONFIRMED → NEW
Ever confirmed: true
Also, for me at least...    Even if I do click "Yes", I get the same dialog
every time I launch Mozilla.
Nominating for machv.
Keywords: nsbeta1
*** Bug 119026 has been marked as a duplicate of this bug. ***
Something must have changed in nsIPrompt (or related code).

This may go away with the pending fix for bug 87257.
Target Milestone: --- → mozilla0.9.8
*** Bug 119089 has been marked as a duplicate of this bug. ***
Blocks: 119141
No longer blocks: 119141
*** Bug 119141 has been marked as a duplicate of this bug. ***
*** Bug 119208 has been marked as a duplicate of this bug. ***
looking at nsWindowsHooks.cpp, we use the common dialog. [ConfirmEx()]

maybe the centering bug lies there?  or a bug in some lower level window code.
*** Bug 119238 has been marked as a duplicate of this bug. ***
I recently changed the semantics of "centerscreen" for dependent windows: they
now interpret that as "center on parent." This dialog is given an incompletely
initialized parent window (the nascent initial browser window). It attempts to
center on it and ends up in a somewhat random position.

This could be fixed by removing the parent parameter sent by
checkForDefaultBrowser. But let me think about this one for a bit. Maybe I can
error-proof dependent window centering a little better.
That's what I suspected.  So the fix I mention in comment 6 should take care of
this problem.  Or at least the symptom.  Maybe this needs fixing to prevent it
cropping up again, though.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
fixed along with 87257
*** Bug 119356 has been marked as a duplicate of this bug. ***
*** Bug 119379 has been marked as a duplicate of this bug. ***
*** Bug 119453 has been marked as a duplicate of this bug. ***
Keywords: qawanted
QA Contact: sairuh → tpreston
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.