Closed
Bug 597268
Opened 14 years ago
Closed 14 years ago
Quickdraw plugins flicker
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(blocking2.0 beta7+)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file, 1 obsolete file)
3.06 KB,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•14 years ago
|
||
roc can explain why this works better than I.
Comment on attachment 476110 [details] [diff] [review]
A fix
This looks fine. Let's get it in (plus the patch in bug 596414 this depends on).
Attachment #476110 -
Flags: review+
Oh, I think you should check mIsPluginView as well as mPluginDrawingModel == NPDrawingModelQuickDraw.
If you do this can you get rid of the Quickdraw paint event code in nsObjectFrame? Specifically, the stuff in "nsPluginInstanceOwner::Paint".
Comment 6•14 years ago
|
||
I only see carbon event model draw code in nsPluginInstanceOwner::Paint.
We can(In reply to comment #4)
> If you do this can you get rid of the Quickdraw paint event code in
> nsObjectFrame? Specifically, the stuff in "nsPluginInstanceOwner::Paint".
We can and should, but we don't have to do it in this patch.
Comment 8•14 years ago
|
||
Attachment #476110 -
Attachment is obsolete: true
Attachment #476187 -
Flags: review?
Updated•14 years ago
|
Attachment #476187 -
Flags: review? → review?(joshmoz)
(After the patches here and in bug 596414 land, we can also remove code in layout that handles painting of child widgets.)
Attachment #476187 -
Flags: review?(joshmoz) → review+
Comment 10•14 years ago
|
||
So why exactly does this patch fix things? What's the difference between sending the update event directly from drawRect vs from nsObjectFrame.cpp?
Updated•14 years ago
|
blocking2.0: --- → beta7+
Comment 11•14 years ago
|
||
Assignee: nobody → jmuizelaar
Blocks: 596414
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
When we do the update via nsObjectFrame, the plugin paints onto the window while we're drawing the contents of retained layer buffers. After that, the layer manager draws the buffers onto the window, overwriting what the plugin painted.
When we do the update via drawRect on the plugin's view, the plugin paints onto the window after the drawRect for the main NSView, so after the layer manager has drawn layer buffers onto the window.
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•