Closed
Bug 63315
Opened 24 years ago
Closed 24 years ago
Editor dialogs show up and then get moved; ugly
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.8
People
(Reporter: sfraser_bugs, Assigned: danm.moz)
Details
When bringing up the various editor dialogs (table, image etc), they show up in the top left of the screen, and then get moved to the center. This is really ugly.
Comment 1•24 years ago
|
||
This started since about last Friday (12/15). We have not made any changes in dialog code. The dialog is moving because at the end of every dialog's onload handler, I am resetting the window.screenX and window.screenY based on persisted X and Y offsets (relative to caller window) of dialog after it's last use. This is the only way we could get the dialog to come up in a reasonable position with each use and not some wacky location like the center of the computer screen. So the problem is that you are now displaying the dialog too early -- before the end of the onload handler.
Assignee: cmanske → danm
I'm pretty sure I caused this bug when I was messing with the restoration of window state for bug 32148. I'm pretty sure I fixed this a couple of days later when I fixed related bug 63268. Certes, I can't see the problem in today's build. Calling it fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•