Open Bug 463405 Opened 16 years ago Updated 2 years ago

Attempting to create folders with duplicate names is confusing

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

Details

Attachments

(1 file)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2pre) Gecko/20081105 Shredder/3.0b1pre

1) Right-click and select Create Folder on a folder where you already have sub folders
2) Enter a name of an existing sub folder
3) Click ok.

At this stage, nothing happens.

4) Get confused, click ok a couple more times
5) Click cancel
6) You now get multiple alerts telling you that the folder name is a duplicate (number of alerts depends on how many times you clicked ok).

Expected results: tell me when I click ok.
Flags: wanted-thunderbird3+
Flags: blocking-thunderbird3?
I think this is for the IMAP case?  I'm seeing a dialog stopping me from repeating this on Local Folders.  It's not a design I'd put on my mom's refrigerator, but it seems to do exactly what you're expecting.
I see it on Local Folders as well. So I think it might be mac only.
Attached image alternate dialog plan
here's a new design for this dialog that I'd recommend if someone had the chance to work on it.

Instead of having this post ( OK ) clicking dialog appear I think we could move that warning into the new folder dialog itself.  Just have the text appear w/ the icon underneath the folder name and disable the ( OK ) button.  

This could possibly fix the bug in the current Mac as well as make the general dialog a bit more friendly.
Bug 44104 would be a great place to put that alternate plan (even moreso if we created MailNews Core: Shared UI and moved it there), since it's been waiting for a solution and talking about the IMAP async callback problem for eight years now.

This, I suspect, is a widget: cocoa bug, where we call window.openDialog(...modal...) from http://mxr.mozilla.org/comm-central/source/mail/base/content/mailWindowOverlay.js#1171 then from the onOK in http://mxr.mozilla.org/comm-central/source/mailnews/base/resources/content/newFolderDialog.js#90 we call another fuction that winds up in one of the C++ impls of CreateSubfolder which calls ThrowAlertMsg in http://mxr.mozilla.org/comm-central/source/mailnews/base/util/nsMsgDBFolder.cpp#4612 where our nsIPrompt->Alert() has to wait until the initial sheet goes away before it can show. Given the number of places we call ThrowAlertMsg, it would be nice to have that work whether or not we keep this caller.
For imap duplicate folders don't give me any feedback at all... just fails.
Component: Mail Window Front End → Folder and Message Lists
QA Contact: front-end → folders-message-lists
I'd love to see this get done, but we're not going to block the final release if this isn't finished.
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Target Milestone: Thunderbird 3 → ---
OS: macOS → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: