Closed Bug 477862 Opened 16 years ago Closed 16 years ago

Activity Manager: activity list doesn't clear permanently until restart

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

(Whiteboard: [has patch])

Attachments

(1 file)

If you click the clear button on the activity manager list, then close and reopen the window, the list reappears.
OS: Mac OS X → All
Hardware: x86 → All
yep, i confirm this one for b3pre Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081113 Shredder/3.0b1pre
David/Bryan/Emre: any idea why the clear button was only implemented for per display clear rather than a complete clear? It seems the code was changed from the download manager behaviour and I'm wondering if it was intentional or not.
Flags: wanted-thunderbird3+
Nah, it should probably be a db-level clear, not a visual clear.
Attached patch The fixSplinter Review
Clear anything from the database (and hence display) that isn't in progress, paused or waiting for input/retry.
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Attachment #365405 - Flags: review?(mkmelin+mozilla)
Whiteboard: [has patch][needs review mkmelin]
Target Milestone: --- → Thunderbird 3.0b3
Comment on attachment 365405 [details] [diff] [review] The fix Looks good to me! r=mkmelin + // If/when we implement search, we'll want to remove just the items that + // are on the search display, however for now, we'll just clear up everything. >+ Components.classes["@mozilla.org/activity-manager;1"] >+ .getService(Components.interfaces.nsIActivityManager) >+ .cleanUp(); Nit: classes and getService aren't aligned
Attachment #365405 - Flags: review?(mkmelin+mozilla) → review+
Whiteboard: [has patch][needs review mkmelin] → [has patch]
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: