# Old links of copied tasks

**URL:** <https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254>\
**Category:** GanttProject Desktop Support\
**Created:** [May 9, 2024, 5:30am UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254 "2024-05-09T05:30:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peace\_to\_the\_world](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Peace\_to\_the\_world](https://help.ganttproject.biz/u/Peace_to_the_world)\
**Post date:** [May 9, 2024, 5:30am UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/1 "2024-05-09T05:30:24Z")

</div>

I copy the task and paste the copy somewhere else in the project. In this case, all task connections are preserved. It’s not entirely clear whether this makes sense. After all, if I copy a task to another place in the project, then it is obvious that it must have new connections. Now we have to remove old connections, which is inconvenient.

---

<div class="post-metadata">

**Author:** ![malcaraz](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@malcaraz](https://help.ganttproject.biz/u/malcaraz)\
**Post date:** [May 9, 2024, 8:04am UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/2 "2024-05-09T08:04:43Z")

</div>

I do not see that way.  
If you copy a task, you get its attributes, dependencies included.

What do you expect when you copy a task?  
What do you expect when you post a new topic? Please share your positive contribution. Thank you!

---

<div class="post-metadata">

**Author:** ![Peace\_to\_the\_world](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Peace\_to\_the\_world](https://help.ganttproject.biz/u/Peace_to_the_world)\
**Post date:** [May 9, 2024, 10:23am UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/3 "2024-05-09T10:23:48Z")

</div>

There cannot be two absolutely identical tasks in a project. They have absolutely everything the same, including addictions. Try to come up with an example like this. If there are such two tasks, then they should be replaced by one. This is ordinary logic.  
When I copy a task, I expect that it will be copied completely, but without dependencies.  
When I create a theme, I hope that my suggestions will be useful to developers.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [May 9, 2024, 12:03pm UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/4 "2024-05-09T12:03:09Z")

</div>

But we copy the task duration, start date, etc., and that’s okay. It is not clear why should not we copy the dependencies.

People often use some tasks as templates, and create new “real” tasks by copying the template. That’s a pretty valid use case.

This said, it might make sense to provide options for copy/paste., e.g. “copy everything” or “copy excluding dependencies”

---

<div class="post-metadata">

**Author:** ![Thoric](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@Thoric](https://help.ganttproject.biz/u/Thoric)\
**Post date:** [December 12, 2024, 4:52pm UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/5 "2024-12-12T16:52:38Z")

</div>

I have a comment to make on this.  
I have a series of tasks tied to a milestone, like this:  
 ![image](https://help.ganttproject.biz/uploads/default/original/2X/e/ee19436285faf97080e4d07543c4bc53d1184d06.png)

I then cloned the milestone (at the top, marked “TE Kit Arrives”) and it added that milestone to all the linked tasks. I cloned the milestone in readiness for something else, not these existing tasks. I now have 6 broken tasks that need altering to remove that unwanted new link.

I think my point here is, my natural instinctive expectation is that when cloning (copy pasting) a milestone, I wouldn’t expect the linked dependencies to be copied too. I only expected the name, date, resource, colour etc, because these are specific properties of it, but I see the predecessors as independent and therefore not to be copied too.

So I agree with “Peace\_to\_the\_world” on this one. It makes the cloning of tasks almost pointless to me, I’ll have to create my “copies” by hand manually.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [December 15, 2024, 11:03am UTC](https://help.ganttproject.biz/t/old-links-of-copied-tasks/9254/6 "2024-12-15T11:03:06Z")

</div>

I created a new enhancement request:

> <https://github.com/bardsoftware/ganttproject/issues/2628>
>
> Currently, when we clone tasks using Ctrl+C Ctrl+V, we clone all its dependencie…s too. It makes sense sometimes; however, the user may want to create a copy of a task only. We can provide an option for pasting with and without the dependencies.
