Open
Bug 705155
Opened 13 years ago
Updated 8 months ago
nsIMsgFolderListener call folderDeleted on every operation.
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: strebel.dev, Unassigned)
References
Details
(Keywords: perf)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 Build ID: 20111104165243 Steps to reproduce: I registered a msgFolderListener to the notification service. Then i executes the following operations. a) I renamed a folder. b) I moved a folder. c) I deleted a folder with context menu (into trash). d) I deleted a folder with drag and drop (into trash). Actual results: The following methods are called. a) folderDeleted -> folderRenamed b) folderDeleted -> folderRenamed -> folderMoveCopyCompleted c) folderDeleted -> folderRenamed d) folderDeleted -> folderRenamed -> folderMoveCopyCompleted Expected results: a) I expect that only folderRenamed will be called, if i just rename the folder. b,c,d) I expect that only the folderMoveCopyCompleted will be called. Especially i expect the same calls in c) as in b). In the current state i can not tell if a folder is deleted (not just moving in the trash). With this listener i can tell that something is happen but not what.
Are you developing an extension?
Component: General → Database
Product: Thunderbird → MailNews Core
QA Contact: general → database
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to :aceman from comment #1) > Are you developing an extension? Yes, i am developing an extension. Therefore i need to know when a folder or message is moved or deleted. Espescially i need to know if it is really deleted or just moved to trash. I am not interested in any steps between the start and the end of the operation.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•