Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Layer Properties for Group Members Not Preserved when Copying and Pasting in OODrawing|
|Component:||editing||Assignee:||AOO issues mailing list <issues>|
|Status:||UNCONFIRMED ---||QA Contact:|
|Issue Type:||ENHANCEMENT||Latest Confirmation in:||---|
Description sabretooth 2009-04-22 22:00:38 UTC
Hello, I'm working with layers in Drawing. If I want to duplicate a group of objects I would like to preserve their layer properties. When I copy a group and paste them to a new location on a drawing, all of the layer properties are removed and I have to select each member of the group and re-assign it to a respective layer. Is there a workaround for this or something I can do to preserve layer properties when copying and pasting?
Comment 1 wolframgarten 2009-04-23 11:21:14 UTC
New and copied objects are always inserted on the current active layer. If in a group the elements are positioned in different layers there is not workaround to get the copies all on the same layers again. The complete group will be placed on the current active layer. Reassigned.
Comment 2 Kjell 2013-08-29 10:11:37 UTC
It is the same in AOO 4.0.0 It is desirable that the group object (i.e. the containing object) go to the current layer, but that the subcomponents keep their connection to layer if possible. This creates a possible conflict when copying to a target with different layer configuration, such as when copying between different drawings, or copying from the gallery. A possible solution would be to ask the user to choose: - Create new layers to accomodate the object settings (possibly also allowing entry of new layer names), - use only existing layers, moving "orphan" subobjects to current layer. - Put the entire set of subobjects on current layer. A "don't ask again" checkbox is a logical component of this. The gallery is the obvious object repository, so it would be desirable to keep layer info also for gallery objects. I attach a file to demonstrate the copy/paste behaviour. Shift-click the layer tabs to show/hide tag components of the "basic valve". Observe that the copied valve keeps all tags visible.