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)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: tnikkel, Unassigned)
References
Details
Attachments
(1 file)
1.46 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter 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+
Reporter | ||
Comment 2•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Depends on: 604734
You need to log in
before you can comment on or make changes to this bug.
Description
•