Closed Bug 269736 Opened 20 years ago Closed 20 years ago

Invalidation bug on dynamically painted/moved tab.

Categories

(Core :: Web Painting, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: stephend, Assigned: roc)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

There appears to be a Windows GDI leak from the 2004-11-06-06 builds onward.

3.371	roc+%cs.cmu.edu	2004-11-05 05:59	 	Bug 243726. Fix up child-covering
calculations. r+sr=bzbarsky is suspect.

Steps to Reproduce:

1.  Go to http://home.netscape.com
2.  Click on the "What's New" tab at the top of the page.

Expected Results:

Using JavaScript/DOM, the window comes downward, with no black trails.

Actual Results:

The window that appears leaves a trail of black lines.
I very much doubt this is a GDI leak... probably an invalidation bug, almost
certainly the same one as bug 268090.
Depends on: 268090
OS: Windows XP → All
Hardware: PC → All
Summary: Windows GDI resource leak on dynamically painted/moved tab. → Invalidation bug on dynamically painted/moved tab.
I can reproduce this with both GTK1 (mozilla.org nightly) and GTK2 (albeit with
the recursive widget painting removed) builds...

It looks like we're just not invalidating that area properly for some reason.

The tentative patch in bug 268090 fixes this for me on Linux (GTK1), but that
causes lots of double-painting in GTK1, so I'm not sure it fixes the real
problem here, whatever that is...
Related, probably (since it appears with the same 11-06 build and disappears
with the 11-05 build) is that under the "News" section on Netscape.com, we don't
paint the underline on :hover, but we do with a click.
Fixed by patch in bug 268090
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED with build 2004-11-19-04, Windows XP Seamonkey trunk.

Thanks Boris!
Status: RESOLVED → VERIFIED
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: