Hello,
I'm a not sure this is a bug or normal Leo behavior so I am asking here 
rather than reporting it as an issue on GitHub.

I assume (perhaps incorrectly?) that subtrees containing clones among their 
child nodes, once copied and pasted, should retain these child nodes as 
clones; instead, clones are transformed into regular nodes that can be 
modified independently.

This issue can be seen following these steps (tested on vanilla, unmodified 
Leo):
1. create a root-level node "root1";
2. create another root-level node "root2";
3. add a child node to "root1", called "child1";
4. copy "child1" alone and paste it as a child of "root2" using "paste node 
as clone";
5. copy "root2", including its cloned child, and paste it elsewhere in the 
outline making a copy: this copy's "child1" is no longer a clone but a 
regular, independent node (see attached pic).

Is this the expected behavior when copying and pasting subtrees with clones?
If so, what is the rationale, and is there a way to paste these subtrees so 
as to preserves these clones?

Thanks,
Alac

PS
My specs from the Leo Log Window
Leo 5.5, build 20170409060114, Sun Apr  9 06:01:14 CDT 2017
Git repo info: branch = master, commit = 7280e1fafe52
Python 3.6.1, PyQt version 5.8.0
Windows 10 AMD64 (build 10.0.14393) SP0
Qt Gui created in g.app.setLeoId

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to