Closed Bug 1789102 Opened 2 years ago Closed 2 years ago

text wrapping doesn't work (removes blank lines so new text is too close to the quote)

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1433942

People

(Reporter: joseph.picone, Unassigned)

Details

(Keywords: dupeme)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Steps to reproduce:

It seems like my last submission didn't go through. Bugzilla hung after submit.

I use plain text mode and "start my reply after quote" mode. Automatic wrapping doesn't work. I cannot edit the text that is wrapped. The text seems to be in some funky hypertext mode.

View a message. Hit Reply. Try to edit the reply and add your comments.

Actual results:

Here is a video:
https://isip.piconepress.com/tmp/bugzilla/example_01.mov
Note how the line of text I added is pulled into the text above it. I have to spend a lot of time editing quoted text because every time I rewrap the text, the text I added and the quoted text get corrupted.

Expected results:

I should be able to add lines freely and edit text. I should be able to manually added the quote character and have that text become part of the quoted text.

Instead, it seems like the text is in some kind of hypertext model where it keeps track of what is quoted and what is not, and ignores my edits.

I can send more video examples if necessary.

This has been a problem on and off since v90 or so. I have reported this before but there has been no resolution. It seems to come and go with new versions.

Joseph, indeed there's something going wrong here, especially the disappearance of blank lines, but also, as you say, new text between broken-up quoted text gets associated with the quote.

You could do this to check the "funky" hypertext:

  • Install ThunderHTMLedit addon
  • Inspect HTML source of your plaintext composition before and after changes (HTML tab inside composition)

Before Rewrap:

<body style="font-family: -moz-fixed; white-space: pre-wrap; width: 72ch;">
  <span style="white-space: pre-wrap; display: block; width: 98vw;">&gt; Hello world<br></span>
  <br>xxxxx<br><br>
  <span style="white-space: pre-wrap; display: block; width: 98vw;">&gt; <br>&gt; some more images - nice<br></span>
  <br>
</body>

After Rewrap (note that the first closing </span> went missing, and the <br> before that):

<body style="font-family: -moz-fixed; white-space: pre-wrap; width: 72ch;">
  <span style="white-space: pre-wrap; display: block; width: 98vw;">&gt; Hello world
    <br>xxxxx<br><br>
  <span style="white-space: pre-wrap;">&gt; <br>&gt; some more images - nice</span><br></span>
</body>
Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → Message Compose Window
Ever confirmed: true
Keywords: dupeme
Summary: text wrapping doesn't work → text wrapping doesn't work (removes blank lines so new text is too close to the quote)

Looking at related bugs, this looks like a dupe of Bug 1433942.
Rewrap bugs are also tracked in meta bug 192905.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.