Bug 54104 - WebView keeps painting even when one of its ancestor windows is hidden
Summary: WebView keeps painting even when one of its ancestor windows is hidden
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-02-09 07:20 PST by Adam Roben (:aroben)
Modified: 2011-02-09 09:36 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-02-09 07:20:13 PST
WebView keeps track of whether its HWND is hidden or shown so that it can stop painting while it's hidden. But it doesn't keep track of whether any of its ancestors' HWNDs are hidden, so we unnecessarily paint when WebView itself is not hidden but one of its ancestors is.

There doesn't seem to be any notification sent to WebView when one of its ancestors becomes hidden (similar to -[NSView viewDidHide]), so I'm not sure how we would fix this.
Comment 1 Adam Roben (:aroben) 2011-02-09 07:21:31 PST
<rdar://problem/8977301>