Closed Bug 237553 Opened 21 years ago Closed 21 years ago

Can't drag a mailing list to compose window from contacts bar

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.6

People

(Reporter: mscott, Assigned: mscott)

Details

Attachments

(1 file)

it ends up appending the default domain and not treating it like a real mailing list.
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.6
Attached patch the fixSplinter Review
GenerateAddressFromCard: http://lxr.mozilla.org/mozilla/source/mailnews/addrbook/resources/content/abCommon.js#903 turns mailing lists into "My List" <My List> to make it look prettier in the UI when inserting into the compose window. However when you drag the address into the compose window, we try to autocomplete this string and there is no match in the address book because we don't store an address for the mailing list with that form. We just store the descrition name for the list. Hence the broken auto complete behavior when dragging to a mailing list. This fix modifies the auto complete matching code. If the card we are comparing our string to is a mailing list, then we take the ununsed email address field and we reformat the mailing list name as "My List" <My List>, insert that into the email address slot and the auto complete comparison routine ends up comparing the original string to this generated string and we now find a match for the mailing list.
Comment on attachment 145521 [details] [diff] [review] the fix See: http://bugzilla.mozilla.org/show_bug.cgi?id=237553#c1 for an explanation or the comment
Attachment #145521 - Flags: superreview?(bienvenu)
Attachment #145521 - Flags: superreview?(bienvenu) → superreview+
a=chofmann for 1.7/trunk
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Bug reoccurs, see Bug 268971.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: