Closed Bug 1956469 Opened 22 days ago Closed 6 days ago

Extraneous spacing and weird wrapping when replying to some messages, or pasting into compose

Categories

(Thunderbird :: Message Compose Window, defect, P1)

Thunderbird 138

Tracking

(thunderbird_esr128 unaffected, thunderbird137 unaffected, thunderbird138 affected)

RESOLVED WORKSFORME
Tracking Status
thunderbird_esr128 --- unaffected
thunderbird137 --- unaffected
thunderbird138 --- affected

People

(Reporter: babolivier, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression, triaged)

Attachments

(2 files)

When replying to some emails (not all), I've noticed the composer badly renders the quoted message, by adding some extraneous new lines and wrapping the text in a weird way (see attachment).

I could not reproduce with every message. The ones I've managed to reproduce with are messages sent from Thunderbird with some light formatting applied to them, but I'm not sure what's the exact condition in which this happens.

This seems to only happen in the composer's window; once the message is sent it renders mostly fine in both the Sent folder and the recipient's inbox, with the exception that the spaces in my signature seem to have disappeared (see attachment in second comment).

Regression range: https://hg.mozilla.org/comm-central/pushloghtml?fromchange=fe0e90ea68a048922e491981b70361d27ab66064&tochange=39f7588bf7ac6213d3c70760b911c4346834f185
Matching m-c push: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=56d845cfc63ac5522e029c4b44a00de398bde41a&tochange=86fa024dcccb77d3af1e36a575b31de2abc45679

Based on these two ranges, I'd say bug 1951832 is a likely culprit, although flicking editor.white_space_normalization.blink_compatible to false doesn't seem to change anything, so I'm not entirely sure.

Indeed this is a pretty obnoxious regression.

Severity: -- → S2
Priority: -- → P1
Regressed by: 1951832

This won't be great for beta.

See Also: → 1955909
Keywords: triaged

Shocking that this wasn't noticed and reported within a few days of the bad build, on 2025-03-20. (but in my case I hadn't updated in over a week)

OS: Unspecified → All
Hardware: Unspecified → All
Summary: Extraneous spacing and weird wrapping when replying to some messages → Extraneous spacing and weird wrapping when replying to some messages, or pasting into compose
Version: unspecified → Thunderbird 138
Duplicate of this bug: 1955909
See Also: 1955909

I think that the patch for bug 1955047 should be backed out and fix the tests instead of changing the Thunderbird's behavior.

Right, bug 1955047 is the regressor (and that is needed for bug 1951832)

Regressed by: 1955047
No longer regressed by: 1951832
See Also: → 1951832

I have just upgraded to 138.0b1-1 (Linux, Snap) and noticed this. As a downgrading is not possible, a hotfix would be important as I am unable to send emails with the correct formatting.

Hi Ramona, we backed out the regressor and added a patch to fix our tests. Could you please verify that this is now fixed on the Daily starting 2025-04-05?

Flags: needinfo?(ramona)

fwiw I've just confirmed that this bug doesn't occur anymore on Daily for me

Backout fixed it. Further work in bug 1958646 and related m-c bug.

Status: NEW → RESOLVED
Closed: 6 days ago
Flags: needinfo?(ramona)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: