Open Bug 324721 Opened 19 years ago Updated 2 years ago

Make popups more sane

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

I said in bug 310638 comment 29:

I don't particularly like the special handling of popup frames...
I think the root cause is that the menu frame hides the child list from the
frame constructor (for performance reasons only?):
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/xul/base/src/nsMenuFrame.cpp&rev=1.305&root=/cvsroot&mark=295-306#292
Do you know if that performance argument still holds?
I think it would be an improvement if they could be handled like any other
frame...

============================================================================

Boris said in bug 310638 comment 32:

> Do you know if that performance argument still holds?

No idea.  Ask bryner, since it's his code?  I can't follow what changes were
made there, esp. since none of the bugs have a diff in them.

============================================================================

Boris said in bug 310638 comment 36:

A bug filed on making popups more sane (and mail sent to bryner?)

============================================================================

This is the requested bug report.
Note that DeletingFrameSubtree() will most likely be removed by bug 323105.
How does this relate to bug 279703? They seem more or less about the same subject.
This bug is about the popup frame storage.  That bug is about how popups are actually opened and closed.
Blocks: 325377
Blocks: 326015
Blocks: 326529
Note that I'm removing a lot of the special popup stuff in bug 349921.  We should revisit this bug after that.
Depends on: 349921
Depends on: 350460
So I guess we still have the weirdness in DoDeletingFrameSubtree...
Blocks: 356325
Blocks: 350460
No longer depends on: 350460
Blocks: 360339
Flags: blocking1.9?
Depends on: 361389
Blocks: 367149
Is DoDeletingFrameSubtree going to go away completely (in bug 323105) or do popups need to be de-weirded?
Minusing since it's unclear what the situation is here.
Flags: blocking1.9? → blocking1.9-
I nominated this bug because it blocks multiple sg:critical bugs.
Flags: blocking1.9- → blocking1.9?
Yeah, but it's not clear what needs to be done.
This bug is only [wanted-1.9] because it seems to vague to be truly blocking1.9+.  If there are specific dependent bugs that you think are blocking, feel free to nominate them.
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
All the bugs that are blocked by this bug are now fixed.
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Bug 279703 improved the popup code greatly, but I still think that some of
the issues mentioned in comment #0 can be improved.  E.g. with the "private"
frame list and frame destruction related issues, but I think this is something
to look at in relation with frame constructor refactoring post-1.9.
(so the wanted-1.9+ flag should be removed IMO)
At this point we're mostly using "wanted-1.9" to flag things we should work on after 1.9, as far as I can tell...
Flags: wanted1.9-
Flags: wanted1.9+
Flags: wanted-next+
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.