I guess the short answer is no, recreateAll will probably NOT be called
outside of DynAPI.resizeHandler, but there's no guarantee...
When Netscape is resized, it destroys it's layers array. So while the
DynLayer objects still exist, the physical layers they represent do
not. That's why the .elm property gets altered.
How does your patch work?
scottandrew
mi...@pr... wrote:
>
> Does any body know if the recreateAll() method of DynDocument ever get called (or need to get called) outside of the DynAPI resizeHandler?
>
> In the ns4 resize bug that has haunted (haunted... Happy Halloween! :-)) us since the beginning, and has never had any real solution, I have found the problem at it's source. The resize itself does something strange the elm propery of the DynLayer... All of the elm's properties still intact, but are not really accessable. This creates a problem when the deleteElement() (which attempts to alter the elms properties -- which are still there, just inaccessable) is called from recreateAll(). Also, usually before deleteElement() gets called, it's associated arrays are taken care of already (ie. unassigend, etc..), but this is not so in the recreateAll() method.
>
> I have a final solution to this bug, but I need to know the answer to the question at the top of this message before I upload my patch.
>
> If anybody knows teh answer for sure, please reply to this message ASAP.
>
> Thank you,
>
> Michael Lilli (proteanman)
> _______________________________________________
> Dynapi-Help mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
|