Closed Bug 143963 Opened 22 years ago Closed 19 years ago

The Chatzilla nick dialog displays in the wrong location

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: thomas, Assigned: bugzilla-mozilla-20000923)

References

()

Details

(Whiteboard: [cz-0.9.69])

Attachments

(1 file, 1 obsolete file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0rc2)
Gecko/20020510
BuildID:    2002051005 

(1.0 RC2)


The Chatzilla window that asks for a nick appears at the top left of the screen
(so the top of the window is masked). It should appear as a modal dialog in the
center of the screen or as a sheet in the Chatzilla or in the browser window. 

Reproducible: Always
Steps to Reproduce:
Click on any irc:// link
Thomas, can you still reproduce this problem using a more current build? If so,
can you reproduce this problem using another Mozilla user profile?
Severity: normal → trivial
Summary: The Chatzilla nick dialog wrong location (when clicking on an irc: URL) → The Chatzilla nick dialog displays in the wrong location
Confirmed using 2002100403 and 1.1, in my current profile and in a new one.
It's even worse now : you can't even change your nick and you have to click 5/10
times on cancel/ok to get the popup to close. 
It's completely buggy. 
Additional note : 
- when you type an irc:// url in the url bar, the dialog that asks for a nick is
not in the right place (should appear as a sheet or as a modal dialog). But you
can change the nick and click on OK.

- when you click on a irc:// link, there is the problem too but this time you
can't even change the nick or close the window properly.

I've never tried on Win.
Confirmed using FizzillaCFM/2002100308 on 10.1.5. Clicking an IRC link in the
browser displays the "Choose a Nick" dialog sheet, but the sheet descends from
the top left corner of the screen.
Severity: trivial → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ok, I think this (if it still happens) is because the dialog is opened before
the window has finished onload, and thus before it's visible.
Product: Core → Other Applications
Blocks: 231363
Whiteboard: [cz-0.9.68.6]
Blocks: 299458
Whiteboard: [cz-0.9.68.6] → [cz-need-patch][cz-0.9.68.6]
Assignee: rginda → silver
Status: NEW → ASSIGNED
This actually happens on Windows too. :)
OS: MacOS X → All
Hardware: Macintosh → All
Could we just wait until the main window is opened?  Is it possible to know when that is?
That's pretty much my fix in 0.9.68.6 (though it has more extensive changes to window events too). I simply made it call init() from a setTimeout in onload, so that the window appears *then* everything is loaded.

For this bug, only the processStartupURLs (and later code) really needs that delay, though.
Attached patch move startupurls to after init (obsolete) — Splinter Review
Attachment #201145 - Flags: review?(silver)
Whiteboard: [cz-need-patch][cz-0.9.68.6] → [cz-0.9.68.6]
Attached patch simpler patchSplinter Review
Attachment #201145 - Attachment is obsolete: true
Attachment #201191 - Flags: review?(silver)
Attachment #201145 - Flags: review?(silver)
Comment on attachment 201191 [details] [diff] [review]
simpler patch

r=silver
Attachment #201191 - Flags: review?(silver) → review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.68.6] → [cz-0.9.69]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: