Closed
Bug 288222
Opened 20 years ago
Closed 20 years ago
Widget reconfiguration doesn't always happen in a timely manner
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file)
|
5.58 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
While debugging my new scrollframe patch I noticed that during rapid resizing I was sometimes drawing garbage for a moment. What's happening is that during the resize reflow of the content area, we resize the scrolling view. Its widget resize is deferred because of the batch around the reflow. After the reflow we enable refresh, but we defer processing of pending updates. Before that event happens, we get an expose event, I presume from the window system because the widgets in the chrome have resized. We repaint poorly because the widget is not in sync with its view. I have a patch that fixes this by running ProcessPendingUpdates inside Refresh(), but not triggering the pending paints, just reconfiguring widgets. (I presume based on Boris' comments there that triggering invalidates would cause problems.) I'm not 100% sure this is the best way to fix the issue...
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #178996 -
Flags: superreview?(bzbarsky)
Attachment #178996 -
Flags: review?(bzbarsky)
Comment 2•20 years ago
|
||
Comment on attachment 178996 [details] [diff] [review] fix r+sr=bzbarsky, but I think aDoInvalidate may be better than aDoPaint... We aren't really painting, just telling the widget the area needs to be painted.
Attachment #178996 -
Flags: superreview?(bzbarsky)
Attachment #178996 -
Flags: superreview+
Attachment #178996 -
Flags: review?(bzbarsky)
Attachment #178996 -
Flags: review+
| Assignee | ||
Comment 3•20 years ago
|
||
I checked this in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 4•20 years ago
|
||
Is this related to bug 268320?
| Assignee | ||
Comment 5•20 years ago
|
||
It certainly could be.
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
•