After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561000 - Supertasks Complete % is not updated when subtasks are
Supertasks Complete % is not updated when subtasks are
Status: RESOLVED OBSOLETE
Product: planner
Classification: Other
Component: General
0.14.x
Other All
: Normal enhancement
: ---
Assigned To: planner-maint
planner-maint
: 353215 530661 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-16 03:48 UTC by Jo-Erlend Schinstad
Modified: 2021-06-09 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Supertask's Complete % is calculated from subtasks' work days and complete %'s (7.02 KB, patch)
2013-05-02 05:14 UTC, Peng Liu
none Details | Review

Description Jo-Erlend Schinstad 2008-11-16 03:48:37 UTC
Please describe the problem:
When you edit the Complete % for a subtask, the supertasks complete % remains the same. As far as I can see, it should be fairly easy to calculate this based on the time assigned to those tasks. 

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Jan Schubert 2009-04-22 18:28:11 UTC
Same here on several boxes running 0.14.4 on ubuntu and gentoo.
Comment 2 Alexandre Franke 2009-05-19 09:51:22 UTC
Note that there's no visual feedback for the completion of a supertask.

Suggested expected result:
* in the "edit task" dialog of a supertask, the "Complete %" should be grayed out (no manual input possible) and computed from the subtasks.
* no idea about how we could have visual feedback without getting a cluttered interface.
Comment 3 Alexandre Franke 2009-05-21 23:13:59 UTC
*** Bug 353215 has been marked as a duplicate of this bug. ***
Comment 4 Alexandre Franke 2009-05-21 23:14:16 UTC
*** Bug 530661 has been marked as a duplicate of this bug. ***
Comment 5 Peng Liu 2013-05-02 05:14:04 UTC
Created attachment 243021 [details] [review]
Supertask's Complete % is calculated from subtasks' work days and complete %'s

supertask % = sum(subtask.work * subtask.complete for all subtasks) / sum(subtask for all subtasks)

This patch also implement complete % recovery during indent undo.

Complete spinbutton grays out if the task has leaf.
Comment 6 GNOME Infrastructure Team 2021-06-09 20:41:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/World/planner/-/issues/161.