Apache OpenOffice (AOO) Bugzilla – Issue 101290
Layer Properties for Group Members Not Preserved when Copying and Pasting in OODrawing
Last modified: 2013-08-29 10:14:01 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?
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.
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.
Created attachment 81409 [details] Drawing template showing object spread across layers, and copied flattened object