Closed Bug 67072 Opened 24 years ago Closed 24 years ago

should honor mailnews.nav_crosses_folders preference

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: alecf, Assigned: alecf)

Details

Attachments

(2 files)

in 4.x, we had a preference called mailnews.nav_crosses_folders which had three
states to determine the behavior with cross-folder navigation.

0: "next" goes to the next folder, without prompting
1: "next" goes to the next folder, and prompts (the default)
2: "next" does nothing when there are no unread messages

As a big consumer of the "0" case in 4.x, I wanted this so bad that I decided to
tackle this myself
I have a fix in hand, will attach momentarily
Attached patch proposed fixSplinter Review
reassinging to myself now that I've generated sufficient bugmail
Assignee: sspitzer → alecf
looks good.  minor comments:

1) can you default mailnews.nav_crosses_folders to 1 in mailnews.js?
2) can your helpful comment to the js?

var nextMode = pref.GetIntPref("mailnews.nav_crosses_folders");
// 0: "next" goes to the next folder, without prompting
// 1: "next" goes to the next folder, and prompts (the default)
// 2: "next" does nothing when there are no unread messages

there wasn't any ui in 4.x for this, was there?  (just curious)
QA Contact: esther → fenella
will do.. I added the comment as suggested, and this line to mailnews.js:
pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders

do you need another patch, or is this sufficient?

no, there was no UI in 4.x...

Status: NEW → ASSIGNED
coolness! fix is in.
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Developer, please advise how to re-test this bug. Thanks.
you can test by editing your prefs to have the preference listed, and checking
each behavior as described.
Linux (2001-02-06-06 mtrunk)
Win32 (2001-02-06-06 mtrunk)
Mac (2001-02-05-12 mtrunk)
I edited the mailnews.js in each of these platforms, and try 
the options: 0, 1, 2
They all behaves as expected.
Status: RESOLVED → VERIFIED
Linux (2001-02-06-06 mtrunk)
Win32 (2001-02-06-06 mtrunk)
Mac (2001-02-05-12 mtrunk)
I edited the mailnews.js in each of these platforms, and try 
the options: 0, 1, 2
They all behaves as expected.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: