Omission of trailing angled bracket clips last character of recipient pill's email address
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
People
(Reporter: thomas8, Assigned: aleca)
References
(Regression)
Details
STR
- compose
- type new recipient with email in angled brackets; accidentally omit the trailing bracket, press ENTER:
John Doe <foo@bar.de
[sic]
Actual result
- last character of displayed email address has been clipped and replaced with trailing bracket:
John Doe <foo@bar.d>
[sic] - upon re-editing, input box still remembers the complete input text
<foo@bar.de
, so the status of this pill between the two variants is now unclear
Expected result
- don't clip email entered by user
- just add trailing bracket if missing
- ensure that displayed email address and pill's input field value are always in sync
Reporter | ||
Comment 1•4 years ago
•
|
||
(In reply to Thomas D. from comment #0)
Expected result
- ensure that displayed email address and pill's input field value are always in sync
Similar edge case problems where pill input value != pill label (highly confusing, as these are undefined states to the user):
- <foo@bar.com> gets displayed as foo@bar.com, but the input still keeps the stale angled brackets
- editing
John <foo@bar.com>
to become |John <foo@bar.com>, b@c.com| gets displayed as foo@bar.com, but the pill edit input still keeps stale b@c.com (and some more intelligent and more preservative behaviour would be really great, we know how valid email addresses look...)
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
All of these use cases are extremely odd and I don't think we should cover them as we risk to over engineer this section in trying to predict what the user is typing.
type new recipient with email in angled brackets; accidentally omit the trailing bracket, press ENTER:
John Doe <foo@bar.de
Typing John Doe <foo@bar.de
gets converted to John Doe <foo@bar.de <>
and highlighted as a wrong address, so for me this is correct.
<foo@bar.com> gets displayed as foo@bar.com, but the input still keeps the stale angled brackets
Why would you type an address with <foo@bar.com>
instead of a simple foo@bar.com
? That doesn't make sense for the autocomplete and those symbol gets properly stripped away, also in the input field for me as I don't see them when I edit the pill.
editing John <foo@bar.com> to become |John <foo@bar.com>, b@c.com| gets displayed as foo@bar.com
Once again, you're trying to input multiple addresses into one pill, which is wrong and not allowed. A pill is a single address, if a user edits a pill is to change that address, and if he tries to add multiple addresses, the pill correctly strips them away and keeps the last one.
This is a WONTFIX for me.
Magnus?
Comment 3•4 years ago
|
||
Seems to be working as it should at least on trunk.
Re inputting <foo@bar.com> case, the brackets are NOT kept in the input for me.
Reporter | ||
Comment 4•4 years ago
|
||
Mass-changing bugs around the new recipient area (pills) from product/component MailNews Core/Composition
to Thunderbird/Message Compose Window
, because composition frontend code is not shared with SM. Mostly cloned from Bug 440377 which started out in MailNews Core
long back.
20200614001RecipientPillsProductChangeTypeBug
Description
•