Dropping one or more comma-separated plaintext addresses at end of recipient field does not make them visible in a new line
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr78+ fixed, thunderbird82 fixed)
People
(Reporter: thomas8, Assigned: aleca)
References
Details
Attachments
(2 files, 1 obsolete file)
12.69 KB,
image/png
|
Details | |
1.61 KB,
patch
|
mkmelin
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1601749 +++
Dragging even 50 addresses into a small space after the last pill in a row will squeeze them in there with just the last characters visible, very confusing. Instead, if the space isn't sufficient, the whole string must be moved into the next line to be fully visible immediately (as happens when you type there or paste them into same space).
Assignee | ||
Comment 1•4 years ago
|
||
I can take care of this.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
This takes care of the issue, but I'm not sure if that setTimeout
could be avoided by fetching the data inside the drop event.
Any suggestion?
Comment 3•4 years ago
|
||
Comment on attachment 9177026 [details] [diff] [review] 1663057-recipient-input.diff Review of attachment 9177026 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/base/content/mailWidgets.js @@ +2221,5 @@ > + // Trigger this action only if the string was dropped exactly on the > + // <div> inside the input field. > + if (input) { > + // Wait for the input field to get the string. > + setTimeout(() => { setTimeout is not really acceptable, and will be a hack at best. You can either grab the data from the event and use that, or use a dragend event listener
Assignee | ||
Comment 4•4 years ago
|
||
Indeed, using a timeout was very silly.
Comment 5•4 years ago
|
||
Comment on attachment 9177193 [details] [diff] [review] 1663057-recipient-input.diff Review of attachment 9177193 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, r=mkmelin
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e276a5a5b5d5
Expand compose recipient input when long strings are dropped inside. r=mkmelin
Comment 7•4 years ago
|
||
Comment on attachment 9177193 [details] [diff] [review]
1663057-recipient-input.diff
Address pills polish
Comment 8•4 years ago
|
||
Comment on attachment 9177193 [details] [diff] [review]
1663057-recipient-input.diff
[Triage Comment]
Approved for beta
Comment 9•4 years ago
|
||
bugherder uplift |
Thunderbird 82.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/1de9d3a2bc7b
Comment 10•4 years ago
|
||
bugherder uplift |
Thunderbird 82.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/1de9d3a2bc7b
Comment 11•4 years ago
|
||
Comment on attachment 9177193 [details] [diff] [review]
1663057-recipient-input.diff
[Triage Comment]
Approved for esr78
Comment 12•4 years ago
|
||
bugherder uplift |
Thunderbird 78.4.0:
https://hg.mozilla.org/releases/comm-esr78/rev/b34d6bd41ca8
Description
•