Open Bug 78214 Opened 23 years ago Updated 2 years ago

need oncollapse="" / onuncollapse="" (onexpand=""?) handlers

Categories

(Core :: XUL, defect)

x86
Other
defect

Tracking

()

People

(Reporter: sspitzer, Unassigned)

Details

I need oncollapse="" handler

see #77506

in the mailnews 3 pane, we have the following optimization:

if the message pane is collapsed, we don't load and displaying the message.

if the message pane is collapsed, we tell the back end to supress message 
display.  when the message pane is uncollapsed (expanded?) we tell the
back end the state has changed and we load the currently selected message.

to make sure we don't get into the state where the back end is supressing
but the box is expanded, we poke the back end to much.
(when the grippy is clicked and onmouseup on the splitter)

it's a little tricky, see #77506

ideally, if I could add an oncollapse / onexpand handlers to the messagepane box
then I could poke the back end only when the box state changes.
adding hewitt.  this seems like something other xul developers would want, or 
perhaps something like it already exists. 
->hyatt
Assignee: trudelle → hyatt
Status: NEW → ASSIGNED
Target Milestone: --- → Future
--> default owner
Assignee: hyatt → jaggernaut
Status: ASSIGNED → NEW
Target Milestone: Future → ---
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.