"Bad drawing state" assertion at startup

RESOLVED FIXED

Status

Core Graveyard
GFX
RESOLVED FIXED
16 years ago
9 years ago

People

(Reporter: peterv, Assigned: Simon Fraser)

Tracking

Trunk
PowerPC
Mac System 9.x

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

1.18 KB, patch
Mike Pinkerton (not reading bugmail)
: review+
Details | Diff | Splinter Review
(Reporter)

Description

16 years ago
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.
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

16 years ago
Created attachment 69384 [details] [diff] [review]
Patch to nsGfxUtils.h to fix

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+
(Assignee)

Comment 3

16 years ago
Checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.