Closed Bug 797431 Opened 13 years ago Closed 13 years ago

Black clipping on resize with lightweight theme installed

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: rcampbell, Assigned: mattwoodrow)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

when resizing the browser with a lightweight theme applied, resizing is very slow to redraw, will not repaint toolbars at the bottom of the screen if made smaller until after resize is complete and will draw black clipped areas outside of content if the window is made larger. OS X 10.8.2, nightly builds 2012-10-01 to 03.
Confirmed, this happens if-and-only-if you have a lightweight theme (personas) installed. This is similar to a bug we've fixed before but I can't find the number.
What's the difference between a "lightweight" theme and a "regular" theme? Please provide examples of both.
We renamed personas to lightweight theme because we're releasing something else as peronas. There is no regular theme, we just mean the old term for personas here.
Last good nightly: 2012-08-13 First bad nightly: 2012-08-14 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f89feda9d997&tochange=22288130fea2 Looks like it caused by DLBI. We likely have to do a fix like in bug 782980. Matt can you take a look?
Depends on: 782980
Oh right, that regression range doesn't include DBLI, just a bunch of preliminary work from a while ago. This is more or less exactly the same as bug 782980. The problem here is that we paint the same view twice, once for the titlebar, and once for the window. We set the 'force synchronous repaint' flag on resize, and it's used when painting the titlebar and cleared before we paint the window. We need to make sure that the synchronous repaint happens for both paints of the view to get correct behaviour, not really sure what the best way to handle that is.
Attached patch Add alternate paint flags (obsolete) — Splinter Review
Does this look like a reasonable approach? Probably want to change the bool parameter crazyness into flags.
Attachment #670677 - Flags: feedback?(roc)
Comment on attachment 670677 [details] [diff] [review] Add alternate paint flags Review of attachment 670677 [details] [diff] [review]: ----------------------------------------------------------------- yes, flags, oh yes
Attachment #670677 - Flags: feedback?(roc) → feedback+
Attachment #671289 - Flags: review?(roc)
Attachment #670677 - Attachment is obsolete: true
Attachment #671290 - Flags: review?(roc)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: