STEPS TO REPRODUCE: =================== - open the task mode - create a task with 50% progress - add the '% complete' column RESULT: ======= - there is no progress bar '% complete' column visible EXPECTED RESULT: ================ - a progress bar should be visible. REPRODUCIBLE: ============= - always
I'd like to see this in 1.0, this shouldn't be that hard to achieve. Markus, maybe you can take a look?
Debugging showed the following: The Treecol is of type Progressmeter  but the meter is not shown. The function getCellValue  which is responsible to set the Value of the Progressmeter is not executed. (verified with a dump statement inside). Since this could be because the type of the treecol does not get set correctly I tried to put a dump() in getProgressMode function  which is as well only called for PM-cells. This time the dump() was executed. --> the type of the treecol is set correctly. In the Syntax of the getCellValue function seems to be no error. Since the Value is not set, the Progressmeter is not displayed. Question is now: Why is the function not executed? : treecol type statement http://mxr.mozilla.org/comm-central/source/calendar/base/content/calendar-task-tree.xml#113 : function getCellValue http://mxr.mozilla.org/comm-central/source/calendar/base/content/calendar-task-tree.xml#601 : function getProgressMode http://mxr.mozilla.org/comm-central/source/calendar/base/content/calendar-task-tree.xml#689
Created attachment 378042 [details] [diff] [review] Fix - v1 I found the culprit: when a column is of type progressmeter, the getProgressMode function of the treeview is asked, what kind of progressmeter it should be. It seems we changed the case of the "itemproperty" attribute somewhere and forgot to also change the value in the tree view.
Assignee: Mozilla → philipp
Status: NEW → ASSIGNED
Attachment #378042 - Flags: review?(Mozilla)
Attachment #378042 - Flags: review?(Mozilla) → review+
Comment on attachment 378042 [details] [diff] [review] Fix - v1 Works Fine - Progressmeters are back in Task Mode and Today-Pane if you make the column wide enough. r=Markus
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/c6f398d078e7> -> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
You need to log in before you can comment on or make changes to this bug.