Closed Bug 7289 Opened 26 years ago Closed 25 years ago

Layout engine does not paint when there is no content

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 5569

People

(Reporter: locka, Assigned: kmcclusk)

Details

I am using the layout engine in the ActiveX control. It is possible to write an application that instantiates my control in a dialog but only navigates somewhere when the user clicks on a button. Until the button is clicked, the layout engine sitting in the contol is in a "created and visible but not showing any HTML content" state. It does not attempt to paint itself at all in this state meaning the window becomes dirty as windows are moved around over the top of it. Would it be possible for the layout engine to paint itself a solid colour when in this state?
Assignee: rickg → kmcclusk
Kevin -- I think we need a backstop renderer. If the page is empty (or no windows are open) perhaps the main window should render a background.
Status: NEW → ASSIGNED
Target Milestone: M9
The problem is there isn't any document so there isn't any frame around to paint the background. We should probably give the webshell a chance to look at paint events. If the webshell see's that there isn't a document loaded it can paint and consume the paint event. If there is a document it should do nothing and the normal. The default background color should come from the presentation context. A presentation context factory would be provided to the webshell so that the embedding app could change what the background initial background color.
Target Milestone: M9 → M10
Moving to M10
Target Milestone: M10 → M11
Moving to M11
Target Milestone: M11 → M12
Moving to M12
Target Milestone: M12 → M13
Moving to M13
I'm guessing this would also solve the problem with frames having undefined content before they have their document loaded - right?
Target Milestone: M13 → M15
Moving to M15
*** This bug has been marked as a duplicate of 5569 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Keywords: verifyme
Verified dupe.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.