Closed Bug 18801 Opened 25 years ago Closed 24 years ago

[superwin] bugzilla query page looks terrible

Categories

(Core :: Layout, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

Details

Attachments

(2 files)

The superwin query page looks terrible in the superwin branch.  For some reason,
it creates grey empty blocks all over the place.  The main code has a similar
effect although it's not as bad.
Status: NEW → ASSIGNED
Actually, this happens on any page where there is a textarea.
I now know that the gray window in question is mClipView created in
nsScrollingView::CreateScrollControls
Ok, I've narrowed this down to being triggered by an html problem so I'm
starting to think it's a layout problem of some kind.  I'm going to make two
attachments of html, one that I don't have any problems with and one that I do.
The only difference between the two is that the one that triggers the problem
has a <CENTER> tag in it.
Ok, I set a break point at nsGfxTextControlFrame::CreateWebShell and found out
something interesting.  For this page will create one control frame:

http://people.redhat.com/blizzard/testing/not_broken_easy.html

and this one will create two:

http://people.redhat.com/blizzard/testing/broken_easy.html

The only difference between these two is that one has a center tag in it.
Here's the bug that I've had open on this:

http://bugzilla.mozilla.org/show_bug.cgi?id=18801

I've also checked and here are the statistics on these pages:

not_broken_easy.html

2 nsScrollingView
1 GfxTextControlFrame

broken_easy.html

3 nsScrollingView
2 GfxTextControlFrame
Severity: normal → critical
Here's some more debugging output.  Looks like the widgets associated with the
views, or the views themselves are never released.

nsGfxTextControlFrame constructor
TextControlFrame 0x8338120 just created webshell 0x8338180
nsWindow::nsWindow for 0x833a5b0
just loaded new widget 0x833a5b0 for view 0x833a548
initializing webshell 0x8338180 from widget in view 0x833a548
nsWindow::nsWindow for 0x833ab60
nsWindow::nsWindow for 0x8353908
just loaded new widget 0x8353908 for view 0x8357b98
nsWindow::nsWindow for 0x8363808
just loaded new widget 0x8363808 for view 0x83637a0
nsWindow::nsWindow for 0x8363c80
just loaded new widget 0x8363c80 for view 0x8363c08
just loaded new widget 0x8364158 for view 0x8364060
just loaded new widget 0x83646f0 for view 0x83645f8
nsGfxTextControlFrame destructor
about to destroy webshell 0x8338180 win in frame 0x8338120
about to set mWebShell 0x8338180 to null in frame 0x8338120
Ok, more clues.  The window is the clip view in nsScrollingView.  Apparently,
this window is supposed to be destroyed by something other than the
nsScrollingView destructor since it's just set to null.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in.  The problem was in the Destroy() code in the native widget
code.  That's why it wasn't showing up on Windows or Mac.
Status: RESOLVED → VERIFIED
With the Nov 29th Linux build (1999112908), this problem has been fixed.
Please ignore the spam.  Changing address.
Assignee: blizzard → blizzard
Status: VERIFIED → NEW
bustage from my reassign
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
bustage from my reassign
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: