Closed
Bug 635405
Opened 13 years ago
Closed 13 years ago
Zooming windowless plugin frame can cause it to "bleed" outside bounds
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla2.0
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: cjones, Assigned: MatsPalmgren_bugz)
References
()
Details
(Keywords: regression, Whiteboard: [softblocker])
Attachments
(1 file, 1 obsolete file)
3.86 KB,
patch
|
roc
:
review+
roc
:
approval2.0+
|
Details | Diff | Splinter Review |
STR (1) Load URL above (2) Ctrl-+ page to zoom in a ways (3) Ctrl-0 The plugin ImageLayer ends up drawing outside its bounds and splatting content all over its surrounding ThebesLayer. Nothing knows to invalidate what was splatted, so it can persist "forever". Not clear yet what's causing this; roc suggested empty transactions. Wouldn't necessarily block on this, but it's a regression from 3.6. Would be nice to fix.
Reporter | ||
Comment 1•13 years ago
|
||
(Can't attach a screenshot because that invalidate the entire window and makes the glitch go away. But it's easy to repro.)
Comment 2•13 years ago
|
||
This could very well be the plugin version of bug 633164.
Reporter | ||
Comment 3•13 years ago
|
||
Yup, I'd take that bet.
It certainly meets softblocker criteria.
Assignee: nobody → matspal
Assignee | ||
Comment 5•13 years ago
|
||
Fwiw, this seems to fix it. Should we fall through here? It's the nsDisplayPluginReadback that is causing the problem.
I don't see how that can possibly be right. We wouldn't paint anything when using async rendering.
Assignee | ||
Comment 7•13 years ago
|
||
Applying the patches in bug 631388 changes the symptoms in this bug. Now the damage looks similar to what I saw in bug 633164, ie changing the zoom doesn't invalidate the old area.
Assignee | ||
Comment 8•13 years ago
|
||
Detect image size change and then UnionRect the old area to the damage so that it'll be Invalidated too. Simplify the common "rect + TopLeft" expressions to make the code more readable.
Attachment #513694 -
Attachment is obsolete: true
Attachment #514336 -
Flags: review?(roc)
Comment on attachment 514336 [details] [diff] [review] fix v1 Nice.
Attachment #514336 -
Flags: review?(roc)
Attachment #514336 -
Flags: review+
Attachment #514336 -
Flags: approval2.0+
Assignee | ||
Comment 10•13 years ago
|
||
Needs bug 631388 though to work correctly, although I think it wouldn't cause any problem if we landed it before that.
Whiteboard: [softblocker] → [softblocker][needs landing]
Assignee | ||
Comment 11•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/cdf6300f80f5
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: Resizing windowless plugin frame can cause it to "bleed" outside bounds → Zooming windowless plugin frame can cause it to "bleed" outside bounds
Whiteboard: [softblocker][needs landing] → [softblocker]
Target Milestone: --- → mozilla2.0
You need to log in
before you can comment on or make changes to this bug.
Description
•