Closed
Bug 450897
Opened 16 years ago
Closed 16 years ago
"Delete Mail marked as Junk in Folder" doesn't work with views / quicksearch
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0a3
People
(Reporter: mkmelin, Assigned: rkent)
Details
(Keywords: regression)
Attachments
(1 file)
1.42 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Was going to verify bug 312853 comment 7 but I notice "Delete Mail marked as Junk in Folder" doesn't work at all now for message views or if the quicksearch limits the displayed items. STR: 1) have a few junk mails 2) quick search so you only have one mail showing 3) run the "Delete Mail...." command Error: gDBView.viewFolder is null Source File: chrome://messenger/content/junkCommands.js Line: 410
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → kent
Assignee | ||
Comment 1•16 years ago
|
||
OK I see this, and have a patch I'm testing.
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•16 years ago
|
||
With this patch, behavior should be: 1) When a virtual search folder is selected in the folder tree, Delete Junk in Folder (using the view) only deletes messages that appear in the virtual folder. 2) When a normal folder has a restricted view selected (for example, with tag "Important"), Delete Junk in Folder ignores the restriction, and deletes junk in the entire folder. 3) Delete Junk in Folder is disabled for cross-folder virtual views.
Attachment #334642 -
Flags: superreview?(neil)
Attachment #334642 -
Flags: review?(neil)
Comment 3•16 years ago
|
||
Comment on attachment 334642 [details] [diff] [review] Use gMsgFolderSelected Why do quick search views sometimes not have a view folder but regular and cross-folder views do?
Attachment #334642 -
Flags: superreview?(neil) → superreview?(bienvenu)
Comment 4•16 years ago
|
||
nsMsgQuickSearchDBView::Open sets m_viewFolder to null so that we can distinguish between the case of a saved search over a single folder (which has a view folder and a backing db to store attributes in), and a true quick search, which doesn't have a backing db.
Updated•16 years ago
|
Attachment #334642 -
Flags: superreview?(bienvenu) → superreview+
Updated•16 years ago
|
Attachment #334642 -
Flags: review?(neil) → review+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 5•16 years ago
|
||
Checked in, changeset id: 165:7c012b1cf8db
Keywords: checkin-needed
Target Milestone: --- → Thunderbird 3.0b1
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•16 years ago
|
OS: Linux → All
Hardware: PC → All
You need to log in
before you can comment on or make changes to this bug.
Description
•