Closed Bug 325932 Opened 19 years ago Closed 18 years ago

Hide Completed Tasks button doesn't work in nightly Sunbird for tasks created with Sunbird.2

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: gkindler, Assigned: jminta)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060204 Mozilla Sunbird/0.3a1+

I downloaded the latest nightly Sunbird, and I like it. But the "Hide completed tasks" button did not hide any of the completed tasks. I went over them and "uncompleted" each one and then "completed" them again, and voila, their all gone.

This happened also with imported calendar files: To try to keep my info safe, I imported my 0.2 calendar file to a new calendar using the nightly version. The completed tasks were still showing (they show as completed, but they are still shown). Again, unchecking and then checking "completed" makes them vanish as they are supposed to.

Reproducible: Didn't try

Steps to Reproduce:
I didn't try to repeat this. I was just trying to move to a newer shinier version of Sunbird, and I thought this bug might be of interest now that a new version is coming our and many people might face a similar problem.
Can you attach a testcase ics file that contains only a single 0.2 completed task that fails to be hidden?  Thanks.
added a testcase: a file made with sunbird 0.2 with a completed event that remains shown when viewd in nightly sunbird, even when "Hide Completed Tasks" is checked.
Attached patch use isCompleted — — Splinter Review
The hint here is that the items appear checked but not hidden.  The task-list uses isCompleted to assign the checkmarks, but the providers used several mish-mash algorithms for determining what tasks were completed for filtering purposes.  This patch moves them to also use isCompleted.
Assignee: nobody → jminta
Status: UNCONFIRMED → ASSIGNED
Attachment #210795 - Flags: first-review?(mvl)
Comment on attachment 210795 [details] [diff] [review]
use isCompleted

r=mvl
Attachment #210795 - Flags: first-review?(mvl) → first-review+
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060926 Calendar/0.3a2+
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: