Re: [libreoffice-design] Re: Behavior on copying single drawing objects
On 09.04.2018 15:53, Regina Henschel wrote: > > If the user copy/pastes a group, all objects are taken. > > That is the purpose of a group. But you can have this situation > Page 1 > Layer "Foo" > Shape_1 > Shape_2 (contained in group1) > Layer_Bar > Shape_3 (contained in group1) > Page 2 > Default layer > Right, that's the problem here. My take is to ignore the layers in that case and put the grouped objects all together on the target layer. Simplicity first, meaning it's weird if we automatically create layers. If users need to keep the structure we have to implement an extra function but my advice is to copy the layer(s) with grouped objects and delete unneeded objects. That brings me to the requirement of multi-selection of layers. -- To unsubscribe e-mail to: design+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/design/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-design] Re: Behavior on copying single drawing objects
Hi all, I have only answered to list. Heiko Tietze schrieb am 09.04.2018 um 10:36: On 08.04.2018 15:20, Regina Henschel wrote: We plan to keep the layer of the objects, if copy happens on the same page, see https://bugs.documentfoundation.org/show_bug.cgi?id=33170#c2 Doubt that an internal object identification by name is a good idea. You have to suppress identical naming and on paste you add a number (Foo1). But that's up to development. From the user perspective I don't care. The user will be able to change display name without affecting the internal name. The current solution of "paste always to the active layer" produces the problem described in the linked comment". We need advise, what should happen, if an object is copy into a different page of the same document. In the end of the project it will be possible, that pages of a document may have different layer-sets. Similar problem is pasting into a different document. Possible actions e.g. a) paste all into the active layer b) paste objects into that layer, which has the same name, and on the active layer in case no such layer exists c) paste objects into that layer, which has the same name, and generate a new layer in case no such layer exists. d) others? As an example Page 1 Layer "Foo" Shape_1 Group_1 Shape_2 Shape_3 Layer_Bar Page 2 Default layer If you copy/move Shape_1 from Layer_Foo to Page 2 it should affect only this object, and Shape_1 is placed on the default layer. So do not generate a new layer "Foo" on page 2. If the user copy/pastes a group, all objects are taken. That is the purpose of a group. But you can have this situation Page 1 Layer "Foo" Shape_1 Shape_2 (contained in group1) Layer_Bar Shape_3 (contained in group1) Page 2 Default layer So group1 contains shapes from different layers, see description in the linked comment. And we need a separate function for the layer. So copying Layer_Bar There is currently no option to copy a layer. We have not yet considered such option. into page 2 adds it likewise when creating a new layer and pasting just all objects from Layer_Bar. Differently to the ctrl+a,ctrl+c/x interaction, I would include all hidden elements too for the layer copy action.. There exists no hidden elements in Draw/Impress. Visible/Not-Visible is a property of the layer not of the element. But you are right, copying an entire layer sound like a useful feature. That would be an option "paste and force a new layer for the clipboard content". Kind regards Regina -- To unsubscribe e-mail to: design+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/design/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-design] Re: Behavior on copying single drawing objects
On 08.04.2018 15:20, Regina Henschel wrote: > > We plan to keep the layer of the objects, if copy happens on the same > page, see https://bugs.documentfoundation.org/show_bug.cgi?id=33170#c2 Doubt that an internal object identification by name is a good idea. You have to suppress identical naming and on paste you add a number (Foo1). But that's up to development. From the user perspective I don't care. > We need advise, what should happen, if an object is copy into a > different page of the same document. In the end of the project it will be > possible, that pages of a document may have different layer-sets. Similar > problem is pasting into a different document. Possible actions e.g. > a) paste all into the active layer > b) paste objects into that layer, which has the same name, and on the active > layer in case no such layer exists > c) paste objects into that layer, which has the same name, and generate a new > layer in case no such layer exists. > d) others? As an example Page 1 Layer "Foo" Shape_1 Group_1 Shape_2 Shape_3 Layer_Bar Page 2 Default layer If you copy/move Shape_1 from Layer_Foo to Page 2 it should affect only this object, and Shape_1 is placed on the default layer. If the user copy/pastes a group, all objects are taken. And we need a separate function for the layer. So copying Layer_Bar into page 2 adds it likewise when creating a new layer and pasting just all objects from Layer_Bar. Differently to the ctrl+a,ctrl+c/x interaction, I would include all hidden elements too for the layer copy action.. Cheers, Heiko -- To unsubscribe e-mail to: design+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/design/ All messages sent to this list will be publicly archived and cannot be deleted