Closed
Bug 782980
Opened 12 years ago
Closed 12 years ago
Temporary blank boxes on right and bottom while resizing browser window
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: BenWa, Assigned: mattwoodrow)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
3.38 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
I get a black bar while resizing that is similar to an async resize artifact.
Reporter | ||
Comment 1•12 years ago
|
||
Approximate regression range: hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f89feda9d997&tochange=0678e3e84923
Keywords: regression
Comment 2•12 years ago
|
||
Here's a more precise description: Black boxes appear (temporarily) to the right and bottom of a browser window while rapidly resizing it.
Comment 3•12 years ago
|
||
The regression range in mozilla-central nightlies is: firefox-2012-08-13-03-05-32-mozilla-central firefox-2012-08-14-03-05-21-mozilla-central So far both Benoit and I have only tested on OS X 10.7.4.
Comment 4•12 years ago
|
||
I see a similar bug (and regression range) on OS X 10.6.8. But in this case the boxes (to the right and bottom) are filled with junk/noise (they're not black).
Summary: Black bar while resizing on OS X → Temporary extra boxes to right and bottom while resizing browser window on OS X
Updated•12 years ago
|
Summary: Temporary extra boxes to right and bottom while resizing browser window on OS X → Temporary extra boxes on right and bottom while resizing browser window on OS X
Updated•12 years ago
|
Summary: Temporary extra boxes on right and bottom while resizing browser window on OS X → Temporary blank boxes on right and bottom while resizing browser window on OS X
Comment 5•12 years ago
|
||
I see exactly the same symptoms (and regression range) on OS X 10.8 as I do on 10.7.4.
Reporter | ||
Comment 6•12 years ago
|
||
Here's the inbound regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=038266727ddc&tochange=3dbfe7ede3d4
Comment 7•12 years ago
|
||
I've found the patch that caused/triggered this bug: http://hg.mozilla.org/mozilla-central/rev/0ad204385022 Bug 770000 - Call WillPaint and DidPaint from the refresh driver instead of the widget events. r=roc author Matt Woodrow <mwoodrow@mozilla.com> Mon Aug 13 22:10:11 2012 +1200 (at Mon Aug 13 22:10:11 2012 +1200)
Blocks: 770000
Assignee | ||
Comment 8•12 years ago
|
||
This happens when we resize the widget/view but don't get a refresh driver tick before we attempt to composite again. This just forces us to repaint the retained layers synchronously so that this doesn't happen.
Attachment #653213 -
Flags: review?(roc)
Attachment #653213 -
Flags: review?(roc) → review+
Assignee | ||
Comment 9•12 years ago
|
||
The previous patch caused painting during reflow with associated assertions. This delays the forced paint until we attempt to composite.
Attachment #653213 -
Attachment is obsolete: true
Attachment #653242 -
Flags: review?(roc)
Comment on attachment 653242 [details] [diff] [review] Repaint layers when the view size changes v2 Review of attachment 653242 [details] [diff] [review]: ----------------------------------------------------------------- ::: view/src/nsViewManager.cpp @@ +338,5 @@ > } > > + nsIWidget *widget = aView->GetWidget(); > + if (!widget) { > + return; I think the new code should be inside "if (widget)" instead of bailing out here whenever there's no widget.
Assignee | ||
Comment 11•12 years ago
|
||
We just crash inside PresShell::Paint if we do that - see bug 770424
Attachment #653242 -
Flags: review?(roc) → review+
Assignee | ||
Comment 12•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2a39d3361d72
Assignee: nobody → matt.woodrow
Updated•12 years ago
|
Blocks: 783791
Component: Widget: Cocoa → Layout: View Rendering
OS: Mac OS X → All
Hardware: x86 → All
Summary: Temporary blank boxes on right and bottom while resizing browser window on OS X → Temporary blank boxes on right and bottom while resizing browser window
Version: unspecified → Trunk
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2a39d3361d72
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•