Closed Bug 123430 Opened 24 years ago Closed 24 years ago

"Bad drawing state" assertion at startup

Categories

(Core Graveyard :: GFX, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterv, Assigned: sfraser_bugs)

Details

Attachments

(1 file)

I'm seeing these: ###!!! ASSERTION: Bad drawing state: 'ValidateDrawingState()', file nsRenderingContextMac.cpp, line 113 ###!!! ASSERTION: Bad drawing state: 'ValidateDrawingState()', file nsMacMessagePump.cpp, line 491 both on startup and on shutdown. The ones on startup happen after choosing my profile in the profile manager.
Status: NEW → ASSIGNED
The patch fixes some bogus assertions. First, it only complains about using the Window Manager port if no other windows are open. Second, it knows that the SIOUX window is monochrome. Finally, it comments out IsValidPort() for carbon, because that was very slow.
Comment on attachment 69384 [details] [diff] [review] Patch to nsGfxUtils.h to fix r=pink shouldn't the port be the hidden window if there are no windows open? isn't having the port be the WM port at any time bad?
Attachment #69384 - Flags: review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: