GNOME Bugzilla – Bug 137063
Higlight Critical Tasks and sub-tasks (0.11)
Last modified: 2004-12-22 21:47:04 UTC
Higlight critical tasks does not always work as I would expect. - create new project - enable "higlight critical tasks" from the "view" menu - insert task A and B , make A predeccessor of B => A and B are higlighted (OK) - inset B1 as subtask of B => B1 is highlighted (OK, because B1 determines the duration of B) - insert A1 as sub-task of A => A1 is not highlighted. This seems to be wrong: as A1 determines the duration for A it should be highlighted. Highlighting is correct when A1 is predeccessor of B or B1 Ciao Andi
Created attachment 26323 [details] [review] fixes critical path highlight error The problem was with the second, backward pass of calculations. The patch should be applied after Corey's relation-types patch.
Created attachment 26324 [details] shows correct highlight of critical tasks
Great catch! Thanks a lot, I'll commit this as soon as the relation types patch is applied.
Do you think this is the same bug as http://bugzilla.gnome.org/show_bug.cgi?id=138437?
Yes, that one is the same bug, latest_finish not being set properly. With the patch applied, slack is 0 for subtasks on critical path, too, so you can close that one as well.
Committed, thanks a lot!