Seth Spitzer wrote:
>
> I'm not sure how big of a performance win it would be, but we should
> see if it is possible to build up our file and copy menus *really*
> lazily.
>...
> Right now, we set the datasources for those menus on loading of the
> xul (or they are hard coded in the xul, in the compose case), instead
> of when the user clicks on the menu item or toolbar button.
>...
> The one that is bugging me the most is the Fcc menu item in compose.
> I'm glad is there, but I've never use it. Why should I pay for it
> every time I create a message?
If `setting the datasource' means what I think it means, then surely you
have to create the menus lazily anyway -- otherwise you'll have a bug
which goes something like this ...
* Open a compose window
* Switch back to the three-pane
* Create a new mail folder `Foo'
* Switch back to the compose window
* Open the Fcc menu, discover that `Foo' isn't present
--
Matthew `mpt' Thomas, Mozilla user interface QA
Mozilla UI decisions made within 48 hours, or the next one is free