cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

copy/paste not safe

Open jfoll31 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. copy/paste a node “N” from tree “A” to tree “B” is not safe if the node “N” includes a link to the node “L” that exists in tree “A” and that does not exist in tree “B” with the same name, node_id and contents thant in tree “A”.

Describe the solution you'd like A warning should be issued in such cases.

jfoll31 avatar Aug 22 '24 19:08 jfoll31

This copy/paste issue might relate to my experience here. https://github.com/giuspen/cherrytree/issues/2555

gitvectors avatar Aug 22 '24 20:08 gitvectors

@gitvectors Not sure it is related. by "not safe" I describe my experience: The node was created in the Tree "B" with the same parameters than in tree "A" but when you go in tree "B" and that you click on the linked node you may have unexpected results like:

  • Error Message "The link points to a node that does not exist"
  • If the node exists, The node you open when you click on the link in Tree "B" may have nothing similar with the one you see when you click on the link in Tree "A" And of course in both cases this is not what you expected with copy/paste

jfoll31 avatar Aug 24 '24 14:08 jfoll31