[BUG] ProjectViewMorph does not copy SelectionMorphs right

Ned Konz ned at bike-nomad.com
Thu Sep 13 18:00:31 UTC 2001


If you drop Morphs onto a ProjectViewMorph, they will be copied into the 
other project. This is done by sending veryDeepCopy to the original Morph.

However, if you do this with a SelectionMorph, the selected Morphs themselves 
don't get copied, and you end up with an empty SelectionMorph in the other 
project. The desired effect here, of course, is that the selection would be 
copied and would appear in the other project.

I think either that SelectionMorph should support veryDeepCopy differently 
(it currently does not duplicate its selectedItems) and/or that copying 
Morphs into other projects should use duplicate (and that SelectionMorph 
should support that correctly).

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list