Open Bug 71112 Opened 23 years ago Updated 2 years ago

Make XUL popups lightweight if possible

Categories

(Core :: XUL, defect)

defect

Tracking

()

Future

People

(Reporter: mikepinkerton, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [nav+perf])

For performance reasons, it would be nice if we could create xul popups as 
"lightweight" views if they didn't extend outside of the bounds of the window. As 
soon as they did, they would need to be converted into top-level windows.

This would also allow us to get things like translucent popups in many cases.
Status: NEW → ASSIGNED
Keywords: perf
Target Milestone: --- → mozilla1.0
Blocks: 70798
I don't think performance will be any better as long as the native window
is not created/destroyed all the time. Is it now?

As for translucency it wouldn't work in all cases, so...
I once saw a crazy demo, worked on Nav4.x, written entirely in JS and Java,
where a popup was drawn over an applet using Java, and over the page surrounding
the applet using JS and DHTML.  As the popup crossed the boundary, the JS/DHTML
kicked in and seamlessly drew the outlying parts.  It was awesome.

This was all hacked by Henri Torgemane' (sp), an intern in the JS group.

The DHTML of the day didn't support translucency, but if it had, and given Java
support for same, I have no doubt that a seamlessly composited, translucent,
popup could have straddled the Java (now gfx) and JS (native) boundary.

If we were motivated enough, couldn't we do something similar here?  Anyway, I
agree we should get rid of native windows where possible.

/be
Whiteboard: [nav+perf]
Target Milestone: mozilla1.0 → Future
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: mikepinkerton → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.