Re: Any news?

Benjamin BAYART <[email protected]> Thu, 24 Apr 2003 12:05:26 +0200
Newsgroups gmane.comp.gnome.apps.mr-project.devel
Message-ID <[email protected]>
Le Tue, Apr 22, 2003 at 01:51:15PM +0200, Richard Hult:
> 
> It's a bug. What you see in the gantt chart is the duration, and when
> you drag a bar, it should set the work required to achieve the specified
> duration. Somehow, this is messed up right now when having an assignment
> other than 100%.

I got a look at it, but failed in locating the precise place of the bug. 
I guess there is patch needed in mrp_task_manager_calculate_task_work
but I'm not sure. I tried something about (units*"work for calendar")/100
but the results are not clearly better... It seems better in the gantt,
anyhow. I have the patch to libmrproject, if you want to have a look.

> Also, I guess we should set the duration instead of work for tasks that
> use fixed duration mode.

Hmmm... That can be confusing... One should have two *different* ways to
drag the task according to what he's looking for:
- drag the duration like it's nowadays
- drag the workamount in another way (which one...)

I think it's a bad idea to have different behavious depending on an
attribute of the task that one cannot see on the chart.

Maybe a simple status message can be of help:
- "Drag to change duration of the task"
- "Drag to change duration and work load of the task"
- "Drag to change the work load of the task"

This is why, in the ttable view, when I set up the drag'n'drop stuff I
put a more explicit message than the one on the gantt: the on I use
displays the duration *and* the work. So there is less surprise :-)

> I just added two bugs reports to the bugzilla about this (#638, #639).

Ok.