Closed Bug 28181 Opened 25 years ago Closed 24 years ago

IMAP does not show subfolders in threaded view but flat

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nrosier, Assigned: jefft)

Details

(Whiteboard: [nsbeta2-])

Attachments

(3 files)

When connecting to my IMAP Mailbox I get all folders and subfolders in one 
single flat instead of threaded.
e.g.
Folder
subfolder1
subfolder2

in stead of
Folder
 |- subfolder1
 |- subfolder2
This may depend on the server you are using.  Some IMAP servers don't support
nested folders.

1. What server are you using?
2. What build are you using?
3. Do the folders get displayed correctly when you use NS 4.x?

CC: jefft
getting an imap log would be useful.
nrosier, zach asks the right questions. Awaiting your answers. Most engineers on 
the project use IMAP and aren't seeing this, so we need to understand how your 
setup is different than ours.
Some quick answers:
1. WU Imapd 4.7a (v12.264)
2. Build 2000021715
3. The folders are displayed correctly in NS 4.x

I'm trying to find a way to get a imap-log from the imapd.
Some more info:
- Imap-server is running on Solaris, INBOX is located in /var/mail/userid
- Imap-folders are located in ~userid/imap (this is configured in NS 4.x and
Mozilla)
cc huang@netscape.com. Karen, you have a UW server running, right? Can you try
this out?
Lisa, can you tell nrosier how to get an IMAP log from Mozilla on Windows NT?

nrosier, a screenshot would be good, too.

IMAP log:
Windows 95/98: Insert the following lines into your autoexec.bat file: 

Set NSPR_LOG_MODULES=IMAP:5 
Set NSPR_LOG_FILE=[filename] 

Make sure the path to the file you specify really exists. Reboot. 

WinNT: Use the Control Panel | System | Environment tool to set the PRLOG env 
variables as above. 

On all platforms, the log is written over every time you re-launch Communicator.
nrosier, Set the IMAP log as following and please attached on this bug will be 
helpful for isolate problem!!

Use the control panel | System | Environment tool to set the PRLOG env variable: 
Varibles: NSPR_LOG_MODULES  Value: IMAP:5 
Varibles: NSPR_LOG_FILE  Value: c:\tmp\[filename] 

I didn't see this problem on Linux for yestaeday's build...
I will try on WinNT, but I need to know which IMAP server you are using?
Karen - nrosier is using UW Imapd 4.7a (v12.264)
Strange! I tried on NMS, UW, & Cyrus IMAP servers on WinNT, they all displayed 
subfolders well!!
OK. I was using yesterday's morning build, unless something change, I am going 
to try again on yesterday's afternoon build!! Change QA Contact to me and Cc: 
Lisa.
QA Contact: lchiang → huang
Since this morning build is available...I tried this morning 02-19-09-M14 
commercial build on WinNT for both NMS & UW IMAP servers, they all displayed the 
existing subfolders well unless there was know bug for selecting folders 
(bug#27396)
I've sent the imap-log and a screenshot to everyone involved with this bug. Hope 
it helps. I'll try the linux and solaris version next week.

N.
Phil, are we going to follow the 4.x design (with the threaded view)?
I thought that we have different design for folder pane in 5.0.....
This is not specific for IMAP and not specific for UW either....
The threaded view of folder pane did not display for POP, IMAP & News.
Remove IMAP and update the summary a little bit for general folder pane view 
problem, also change platform/OS to All.
OS: Windows NT → All
Hardware: PC → All
Summary: IMAP: Mail does not show subfolders in threaded view but flat → Mail/News does not show subfolders in threaded view
Yes, we're supposed to show the folder pane using indendation to reflect
hierarchy, just like 4.x did. We do not have any plan to show a flat view in the
folder pane, as this bug describes. So that's completely a bug, not a feature.
Talked to huang@netscape.com, and she believes this bug is about the absence of
dotted lines in the UI for the hierarchy. We use these dotted lines in 4.x to
visually show which folder is a child of other folders. As I understand it, we
are not going to add the dotted lines to the tree widget in mozilla.

When I originally read this bug, I interpreted it to mean that a child of a
folder was displayed as a peer, rather than a child. So I thought we were
looking for a bug in whether a child is shown indented under its parent or not.
I believe that we do indent under the triangular "twistie" control, but we just
don't show the dotted lines.

Resolving this bug invalid. Please reopen if I've misinterpreted.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Yes -- nrosier, please reopen this bug if I misunderstood this bug....Thanks.
Marking as verified.
Status: RESOLVED → VERIFIED
Does anyone still have the screen shot and imap log sent by nrosier? I would 
like to look into it more. Apparently, I couldn't find my copy.
I already sent to you, Jeff.
Reopen this bug if I misunderstood this bug! Thanks.
I am reopening this bug. From the imap log we show the hierarchy structure but
from the screen shot we don't list folders in the same manner. I'll take the bug
too. This may have something to do with namespace. nrosier, can you also provide
the screen shot for 4.x? Thanks,
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
I'll take this bug.
Assignee: phil → jefft
Status: REOPENED → NEW
Attached file Original imap log —
Attached image Folder list screen shot —
OK. Sorry for misunderstanding for this bug.
Updating the summary back to IMAP.
Summary: Mail/News does not show subfolders in threaded view → IMAP does not show subfolders in threaded view
I am wondering know why I have tried to recreate this problem but still cannot 
recreate this problem before the final thought...... 
So, is this still specific for UW?

I don't know what's happened. We need to do more investigations.
Status: NEW → ASSIGNED
From nrosier IMAP log & 4.7 screen shot -- it's UW server...
Back to original thought, I still cannot recreate this problem by using 
03-01-08/09-M15 commercial build.
I still got the same result as 2000-02-18 11:12 comments which I put:
"It displayed the existing subfolders well unless there was know bug for 
selecting folders(bug#27396)" 
My screen listsfolders/subfolders which matched my IMAP log hierarchy 
structure...
Jeff, I notice nrosier's 2000-02-18 03:18 comments:
- Imap-server is running on Solaris, INBOX is located in /var/mail/userid
- Imap-folders are located in ~userid/imap (this is configured in NS 4.x and
Mozilla)

How do you think? Does it's matter?
Oops, I mean..."Does it matter?"
I am wondering know what nrosier setup the 4.72 Perferences|Mail 
servers|Advanced |IMAP server directory? 
From prefs.js NS4.72:

user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.admin_url", "");
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.capability", 563);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.check_new_mail", true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.check_time", 15);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.cleanup_inbox_on_exit", 
true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.delete_model", 1);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.dual_use_folders", 
true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.empty_trash_on_exit", 
true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.empty_trash_threshhold", 
0);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.isSecure", true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.namespace.other_users", 
"\"~\"");
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.namespace.personal", 
"\"#mh/\",\"#mhinbox\",\"\"");
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.namespace.public", 
"\"#public/\",\"#news.\",\"#ftp/\",\"#shared/\"");
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.offline_download", 
false);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.override_namespaces", 
true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.remember_password", 
true);
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.server_sub_directory", 
"/home/users/rosierni/imap/");
user_pref("mail.imap.server.imaphost.god.bel.alcatel.be.using_subscription", 
true);
user_pref("mail.imap_sentmail_path", "IMAP://imaphost.god.bel.alcatel.be");

From prefs.js Mozilla:

user_pref("mail.root.imap", "C:\\Users50\\Nick Rosier\\ImapMail");
user_pref("mail.root.none", "C:\\Users50\\Nick Rosier\\Mail");
user_pref("mail.server.server1.capability", 563);
user_pref("mail.server.server1.directory", "C:\\Users50\\Nick 
Rosier\\ImapMail\\server1");
user_pref("mail.server.server1.dual_use_folders", true);
user_pref("mail.server.server1.hostname", "imaphost.god.bel.alcatel.be");
user_pref("mail.server.server1.max_cached_connections", 5);
user_pref("mail.server.server1.name", "GZ");
user_pref("mail.server.server1.namespace.other_users", "\"~\"");
user_pref("mail.server.server1.namespace.personal", 
"\"#mh/\",\"#mhinbox\",\"\"");
user_pref("mail.server.server1.namespace.public", 
"\"#public/\",\"#news.\",\"#ftp/\",\"#shared/\"");
user_pref("mail.server.server1.server_sub_directory", 
"/home/users/rosierni/imap");
user_pref("mail.server.server1.timeout", 29);
user_pref("mail.server.server1.type", "imap");
user_pref("mail.server.server1.userName", "rosierni");
user_pref("mail.server.server1.using_subscription", true);
M15 ...
Target Milestone: M15
Summary: IMAP does not show subfolders in threaded view → IMAP does not show subfolders in threaded view but flat
Mass moving to M16 to get these off the M15 radar.  Please let me know if this
is really an M15 stopper.
Target Milestone: M15 → M16
bug still present in Netscape 6 PR1 (build 2000033112).
will stick to NS4.72 for the moment.
What makes for a M15 stopper? IMAP mail is pretty much useless for me without
this bug and bug#28089 fixed.
I don't think we've been successful reproducing this in-house. Tony, does this
bug appear on your laptop? If so, maybe you could stop in and jefft could debug?
I'd certainly take an M15 fix for this, but I wouldn't hold M15 for it unless we
could reproduce.
D'oh! Sorry Tony, I thought you were a different Tony who's local here in the 
San Jose area. You don't have to bring your laptop in :-)
Just suggest:
We really need to solve this problem since there were many simliar bugs logged 
before regarding to the IMAP server directory problem especially on the UW 
server..
The bugs I found were:
bug#19248 (initially logged for IMAP server directory UI)
bug#19045 (dup of bug#20879?)
bug#28089 (I am thinking maybe fix this bug will fix the other bugs....)
bug#26536
bug#34191
nrosier,
>I am wondering know what nrosier setup the 4.72 Perferences|Mail 
>servers|Advanced |IMAP server directory? 

Can you check again? I mean...
1)Login to Netscape Communicator 4.7 Mail Account
2)Select "Edit" menu of the menu bar
3)Select "Preferences" from the Edit drop down menu
4) Select & Expand Mail & newsgroups
5) Select Mail Servers
6) Highlight the Incoming Server that you used
7) Select "Edit" button
8) Select "Advanced" tab from Mail server propertities dialog
9) Can you check what is your IMAP server directory?
10)If you can, check all the information of the "Advanced" tab dialog will be 
appreciated. Thanks. 
(I really don't know whether we can find a clue from here or not?!....)
Here we go:
Imap server directory: /home/users/rosierni/Mail/nsimap/
'Only show subscribed folders' is checked
'Server supports folders that contain sub-folders and messages' is not checked 
(is impossible with UW  believe)
Personal name space: "#mh/","#mhinbox",""
Public (shared): "#public/","#news.","#ftp/","#shared/"
Other: "~"
'Allow server to override these namespaces' is checked.
As you can see from the screenshots, Mozilla finds all mailfolders but for some 
reason gives a flat view in stead of threaded one.
Latest build I've tried is 2000040520 (Win32) and the bug is still there. I've 
also created some folders and subfolders in the 'local mail' and it shows them 
nicely threaded.
I also tried same build on linux-i686 but had some problems configuring the 
mail-account. I could not assign the incoming mail server. Dialog windows 
'frooze'.
I will try tomorrows linux build again to see if I can reproduce the bug in 
linux.
I would like to try latest solaris build (2.6) but latest nightly is from 3/10.
small correction: just changed the imap-folder to /home/users/rosierni/imap.
this is a symbolic link to the Mail/nsimap folder. I also use IMP 
(www.horde.org) and have configured it to search for a ~/imap directory.
shouldn't interfere but you never know.
I've tried the M14 build for Solaris 7 and get the same flat view as windows 98
Thanks for the updates.
(Linux build is not doog these days....)
Hope we will have a clue.....

Oops! I mean not good for Linux these days.....
Bug#35047 logged for the account wizard freeze problem for the second IMAP mail 
account.
took a look at Bug#35047, is exactly the problem I have been encountering with 
the linux version.
Not M16 stopper, marking M17.  Please add beta2 keyword if you think this is a 
beta2 stopper.
Target Milestone: M16 → M17
This may be an interop thing. Marking beta2.
Keywords: beta2
Keywords: nsbeta2
Works ok on Win32 may 01 build on Win95.  need more info to mark nsbeta2+
Whiteboard: [NEED INFO]
Putting on [nsbeta-] radar.
Whiteboard: [NEED INFO] → [nsbeta-]
FYI: I just tried Build 2000050111 (windows 98) and still see a flat view of all
my folders and subfolders. 
Upating [nsbeta-] to read [nsbeta2-] in Status Whiteboard.
Whiteboard: [nsbeta-] → [nsbeta2-]
Fix for 20878 should also fix this one. Please retest. Thanks. Reopen if problem 
still exists.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
downloaded win32 build 2000050820 but unable to test because it keeps crashing. 
will try a new build tommorow
Verified on all the platforms:
OK. 05-09-09-M16 WinNT commercial build
OK. 05-09-08-M16 Linux commercial build
OK. 05-09-08-M16 Mac commercial build
All the folders/subfolders display as expect after setup the IMAP server 
directory.
Since this bug cannot be reproduce initially in-house, even bug 20878 had been 
verified, I will leave this bug to Nick for helping to verify this bug.
Nick, please marking as verified if you agree for this fix.
Reopening this bug if problem is still occurring. Thanks.
verified build 2000050908 WinNT and it works fine.
thanks, this makes imapmail useable.
Cool. Glad to hear that. Mark it verified. :-)
Status: RESOLVED → VERIFIED
Hurray! Great work Jeff!
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: