[taskjuggler-devel] Re: Display of Tasks with subtasks

From: vincenegri (vince.negri_at_gmail.com)
Date: Mon Nov 07 2005 - 14:55:23 CET


From: vincenegri <vince.negri@gmail.com>
Message-ID: <17fb.436f5cca@www.taskjuggler.org>
Date: Mon,  7 Nov 2005 14:55:23 +0100 (CET)
Subject: [taskjuggler-devel] Re: Display of Tasks with subtasks


Quote:
> In the resulting Gantt chart, "foo" is shown as a rolled-up task, as it should be. What I noticed, though, was that if I specify a desired start date for "foo", then the rolled up task is always shown as starting on that date, even when none of the sub-tasks start till later.

Of course, I now realise that by *not* giving a start date at all for the container task, I get the result I want. :blush:

.. but the behaviour when a start date is given still seems unintuitive to me. The key is the check against "depends.isEmpty()" in Task::scheduleContainer(). The current logic is this:

"If the earliest contained task has a date later then the defined start date of the container task, then change the start date of the container task *only if* it depends on another task."

I would have expected the start date of the container task to always be corrected to that of the earliest contained task.

-- 
To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com
For additional commands, email: taskjuggler-devel-help@suse.com


This archive was generated by hypermail 2.1.7 : Mon Nov 07 2005 - 14:55:25 CET