Closed Bug 195801 Opened 23 years ago Closed 10 years ago

Fix wxWin/gecko redraw problems

Categories

(Core Graveyard :: Embedding: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ccarlen, Assigned: ccarlen)

Details

There are redraw problems which happen when embedding Gecko into a wxWindows app that do not happen when embedding into a PowerPlant app. PowerPlant does a save and restore of the graphic state around the drawing of each pane, while wxWindows does not. Gecko's redraw code may be leaving some things in a bad state which PowerPlant happens to clean up for it.
One of the issues here is that Gecko can clobber the clip region while processing PLEvents, which happens via Caron Events (and thus at hard-to-determine times). We make nsIRenderingContexts for reflow, and they don't/can't cleanup after themselves. I also found that wxWin is paranoid to the point of rabidity about saving/restoring the clip region, meaning that it will happily save/restore an empty clip for evermore.
QA Contact: dunn5557 → mac
Mass change of bugs in the Embedding: Mac component in preparation for archiving it. I don't believe any of these are useful any more, as we don't have a mac embedding API. If they are relevant, they should be moved to an alternate component.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.