Closed Bug 311261 Opened 19 years ago Closed 19 years ago

Threaded mail view in Virtual Folders is not possible

Categories

(SeaMonkey :: MailNews: Message Display, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Keywords: fixed-seamonkey1.0, fixed1.8)

Attachments

(1 file, 1 obsolete file)

All sorting options "Threaded" "Unthreaded" "Grouped by Sort" are greyed out for
Virtual Folders.
Selecting the sort order by clicking the column heads in the message pane works
for other columns but not for the Thread column.

Suite part for bug 263180
Attached patch Simple patch v0.1 (obsolete) — Splinter Review
This patch:
* Adds suite front end to have threaded mail view in virtual folders
Assignee: mail → iann_bugzilla
Status: NEW → ASSIGNED
Attachment #198631 - Flags: review?(neil.parkwaycc.co.uk)
Argh, I had a review comment for this, but it must have got lost in a crash :-(
Comment on attachment 198631 [details] [diff] [review]
Simple patch v0.1

>                   var dbFolderInfo = msgDatabase.dBFolderInfo;
>                   sortType = dbFolderInfo.sortType;
>                   sortOrder = dbFolderInfo.sortOrder;
>+                  viewFlags = dbFolderInfo.viewFlags;
>                   if (folderFlags & MSG_FOLDER_FLAG_VIRTUAL)
>                   {
>                     viewType = nsMsgViewType.eShowQuickSearchResults;
The else clause of this if sets viewFlags and viewType and clears
gSearchSession. That assignment to viewFlags is now superfluous but I think it
would be more obvious if you simply moved those three lines here before the if.
You could then also get rid of the other line that clears gSearchSession.
Attachment #198631 - Flags: review?(neil.parkwaycc.co.uk) → review-
Changes since v0.1:
* Moved rest of code from else to before if and removed additional clearing of
gSearchSession as suggested by Neil.
Attachment #198631 - Attachment is obsolete: true
Attachment #199854 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 199854 [details] [diff] [review]
Tweaked simple patch v0.1a (Checked in trunk/branch 1.8 & 1.8.0)

Sorry, reviewed but forgot to mark this yesterday.
Attachment #199854 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #199854 - Flags: superreview?(bienvenu)
Attachment #199854 - Flags: superreview?(bienvenu) → superreview+
Comment on attachment 199854 [details] [diff] [review]
Tweaked simple patch v0.1a (Checked in trunk/branch 1.8 & 1.8.0)

Checking in
commandglue.js;
new revision: 1.261; previous revision: 1.260
searchBar.js;
new revision: 1.43; previous revision: 1.42
done
Attachment #199854 - Attachment description: Tweaked simple patch v0.1a → Tweaked simple patch v0.1a (Checked in)
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #199854 - Flags: approval-seamonkey1.0?
Attachment #199854 - Flags: approval-seamonkey1.0? → approval-seamonkey1.0+
Comment on attachment 199854 [details] [diff] [review]
Tweaked simple patch v0.1a (Checked in trunk/branch 1.8 & 1.8.0)

Checking in
commandglue.js;
new revision: 1.258.4.1; previous revision: 1.258
searchBar.js;
new revision: 1.42.4.1; previous revision: 1.42
done
Attachment #199854 - Attachment description: Tweaked simple patch v0.1a (Checked in) → Tweaked simple patch v0.1a (Checked in trunk/branch)
Keywords: fixed1.8
Whiteboard: fixed-seamonkey1.0
Comment on attachment 199854 [details] [diff] [review]
Tweaked simple patch v0.1a (Checked in trunk/branch 1.8 & 1.8.0)

Checking in (branch 1.8.0)
commandglue.js;
new revision: 1.258.10.1; previous revision: 1.258
searchBar.js;
new revision: 1.42.10.1; previous revision: 1.42
done
Attachment #199854 - Attachment description: Tweaked simple patch v0.1a (Checked in trunk/branch) → Tweaked simple patch v0.1a (Checked in trunk/branch 1.8 & 1.8.0)
Whiteboard: fixed-seamonkey1.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: