Closed
Bug 629838
Opened 12 years ago
Closed 12 years ago
Fire MozAfterPaint events when empty transactions occur
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b12
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: roc, Assigned: kael)
References
Details
(Keywords: regression, Whiteboard: [softblocker])
Attachments
(1 file, 1 obsolete file)
Like bug 625248 but for MozAfterPaint events. This should be easier, you just need to call NotifyDidPaintForSubtree in the right place. You'll need to write tests though.
Reporter | ||
Updated•12 years ago
|
blocking2.0: --- → final+
Whiteboard: [softblocker]
Reporter | ||
Updated•12 years ago
|
Keywords: regression
Assignee | ||
Comment 1•12 years ago
|
||
I cannot come up with a reproduction case where trunk fails to fire MozAfterPaint for empty transactions, though I admit I don't understand the graphics stack very well at this point. Can you provide a repro, or at least a description of one?
Assignee | ||
Comment 2•12 years ago
|
||
I've attached a patch that dispatches the MozAfterPaint event after incrementing mozPaintCount during an empty transaction. The patch includes a couple tests based on the ones for the mozPaintCount bug. Note that this patch won't merge correctly unless my patch from #625248 has been applied.
Attachment #508644 -
Flags: review?(roc)
Reporter | ||
Comment 3•12 years ago
|
||
Looks great! + frame->PresContext()->NotifyDidPaintForSubtree(); Just use 'presContext'
Assignee | ||
Comment 4•12 years ago
|
||
Patch updated.
Attachment #508644 -
Attachment is obsolete: true
Attachment #508855 -
Flags: review?(roc)
Attachment #508644 -
Flags: review?(roc)
Reporter | ||
Updated•12 years ago
|
Attachment #508855 -
Flags: review?(roc) → review+
Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Whiteboard: [softblocker] → [softblocker][needs landing]
Comment 5•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f4c949162937
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [softblocker][needs landing] → [softblocker]
Target Milestone: --- → mozilla2.0b12
Comment 6•12 years ago
|
||
I backed this patch as part of this pushlog <http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=7e12e3e16e6c> because of the oranges it caused <http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1296852850.1296854923.2345.gz&fulltext=1>. I'm not sure which one of the bugs was at fault, so I just backed them all out. The assignee needs to investigate and make sure that his patch has not been the culprit, and then re-add checkin-needed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•12 years ago
|
||
(In reply to comment #6) > I backed this patch as part of this pushlog > <http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=7e12e3e16e6c> > because of the oranges it caused > <http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1296852850.1296854923.2345.gz&fulltext=1>. > > I'm not sure which one of the bugs was at fault, so I just backed them all out. > The assignee needs to investigate and make sure that his patch has not been > the culprit, and then re-add checkin-needed. Sorry, this belonged to bug 631329.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 8•12 years ago
|
||
Relanded all but one of the patches in that push. For this bug, that's: http://hg.mozilla.org/mozilla-central/rev/10ecb300665e
Comment 9•12 years ago
|
||
The last four comments apparently all belonged on bug 631329.
Comment 10•12 years ago
|
||
er, comment 6 through comment 8 did.
You need to log in
before you can comment on or make changes to this bug.
Description
•