Prod.: Engine, ver.: 6009, ID: 60000319, Bug : Undo takes too long with deleted items in collections like blocks

Bug : Undo takes too long with deleted items in collections like blocks

Article60000319
TypeBug
ProductEngine
Version6009
Date Added11/14/2007
FixedYes [11/19/2007]
Submitted byFlorian Rappel
Keywords

Subject

Undo takes too long with deleted items in collections like blocks

Summary

Undo takes too long with deleted items in collections like blocks

Solution




In 6010 a new property was added in vdDocument ExtendedDeletedCheck with default value true.


When Deleting a collection item then there are 2 options that can be controled with this property:


1) ExtendedDeletedCheck = true : The whole Document is searched in order to find references of this object that is going to be deleted.


2) ExtendedDeletedCheck = false : A search is made through the document but the code does not search


           a) XProperties.

           b) Custom objects (unless the IsTableObjectDependOn is implemented).


This property should be used only if the customer experiences speed issues when deleting tables (or executes an undo command after adding collection items) and of course his code does not use on of the above issues that are not checked.


Also a new virtual method was added in vdFigure object IsTableObjectDependOn which is need to be ovveride from custom vdProxyFigure objects.


This virtual method should be implemented by customers that use custom objects. Please check our example on this.