Issue 101290 - Layer Properties for Group Members Not Preserved when Copying and Pasting in OODrawing
Summary: Layer Properties for Group Members Not Preserved when Copying and Pasting in ...
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: OOo 3.0.1
Hardware: Mac All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 22:00 UTC by sabretooth
Modified: 2013-08-29 10:14 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Drawing template showing object spread across layers, and copied flattened object (11.68 KB, application/vnd.oasis.opendocument.graphics-template)
2013-08-29 10:14 UTC, Kjell
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.
Comment 3 Kjell 2013-08-29 10:14:01 UTC
Created attachment 81409 [details]
Drawing template showing object spread across layers, and copied flattened object