Closed Bug 587534 Opened 14 years ago Closed 14 years ago

make sure plugins get hidden when they are unregistered for geometry updates

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tnikkel, Unassigned)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
My understanding is that there is no guarantee that a plugin geometry update will happen before we unregister the plugin for geometry updates. Some other patches I will probably need for 130078 cause this to happen frequently where we freeze a presshell later into the loading of the next page then we used to and there hasn't been enough time for a plugin geometry update to have run and hid the plugin. Is there a better way to ensure the plugin gets hidden before StopPluginInternal is called?
Attachment #466193 - Flags: review?(roc)
Comment on attachment 466193 [details] [diff] [review] patch + if (!configurations.IsEmpty()) { + parent->ConfigureChildren(configurations); + DidSetWidgetGeometry(); Good catch. I don't think you need the "if" test here, you can do this unconditionally.
Attachment #466193 - Flags: review?(roc) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: