Open Bug 678618 Opened 14 years ago Updated 3 months ago

editor switches to paragraph instead of body text after itemized list

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

People

(Reporter: 52qtuqm9, Unassigned)

References

Details

(Keywords: regression)

1. Start a new message compose window. 2. Observe how the format you're in is "Body text". 3. Type a line of text and hit return. Note how it stays "Body text". 4. Click the itemized list button. Type an item and hit return. 5. Hit return again to exit the itemized list. At this point the current format should go back to "Body text", and indeed that's what it does in Thunderbird 5. But in the current trunk, it goes to "Paragraph" instead. Very annoying.
FWIW Instead of "enter" , clicking on the the list button to close the list, keeps the body text.
Status: NEW → UNCONFIRMED
Ever confirmed: false
(In reply to Jonathan Kamens from comment #0) This procedure reliably recreates the problem for me. Both on my old Windows XP laptop (probably TB 9 or so) and currently on Windows 7 (TB 11).
Still a problem.
Keywords: regression
Still exists in 31.2.0
Still here in 31.5.0. Would someone please mark it confirmed already?
Still exists in 38.4.0
Confirmed that bug still exists in version 52.3.0 Confirm comment 1 by Joe Sabash maintains the 'Body Text'.
As the default for mail editor format has changed to "paragraph", seems like the problem statement is out of date. I will admit that I still have trouble with surprise/unintentional mixture of "paragraph" and "body text". But given the new default, seems like consistency and avoiding surprise switches to "body text" are the problem now. Not surprise switches to "paragraph".
(In reply to John Maline from comment #8) > But given the new default,... Not surprise switches to "paragraph". With all due respect, I don't think this justifies it switching to Paragraph format. In fact, I don't think it switching modes like this is ever the desired behavior. You start a composition window, it has the format/mode you want, I do not understand why it is switching it. The mode was Body Text before I started the bullet list, IMO, it should be Body Text when I end the list. FWIW, I have: "Use Paragraph format instead of Body Text by default" turned OFF. So, my composition window starts in the mode I want, Body Text. I am surprised this issue is 6 years old. I only started noticing this starting with 52.0. Before that, I simply hit Enter to end the list and keep typing Body Text mode after that. If it helps, I'll install an older release, build older release using git bisect, etc to prove it and help narrow it down. I also noticed some problems with copying and pasting content that would put it into Paragraph mode. I'll try again to reproduce this paste issue, but have not been able to yet. When I do, I'll follow up. FWIW, I mentioned the bullet list issue here with repro steps: https://support.mozilla.org/en-US/questions/1164680#answer-1013644 Now that I have a bugzilla account, I'll check here next time first. Thanks again for all the work. I do appreciate it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All

Behaviour still exists in 84.0b2 64bit Windows.
Workaround mentioned above ("FWIW Instead of "enter" , clicking on the the list button to close the list, keeps the body text.") still works.
Behaviour does not comply with chosen HTML mail composition configuration "use paragraph..."

version : 78.5.1
Tests:
Set up to use 'Body Text'

Type a list and select Enter to go to new line
Hightlight listed items and select bulletted or numerical list
List created and the cursor on new line remains in Body Text mode.

Select bulletted or numerical list
type list item and press Enter
Repeat x2
Last item has number 4 ready, do not want to add any more, so press Enter to clear number 4 and so to new line.
Setting 'Paragraph' has now overridden default as per issue reported.

Two workarounds:

  1. Type the list first, highlight items and then select the 'list button'
  2. When using list button and then typing list, do not press the last Enter to go to new line, instead select list button to close list. This works regardless of whether cursor is at end of list or whether you pressed Enter and created eg: number 4 and do not want to use it.
Severity: normal → S3

Bug is still reproducable on TB v102.6.1.

Same issue here on Linux with Version 115.14.0 (64-bit)

For me too, "Settings" > "Composition" > "HTML Style" > "Use Paragraph format instead of Body Text by default" is deactivated, if that is of any importance.

Duplicate of this bug: 1861282

Update - Bug reproducable in version 128.11.0 and also in beta 139.0b4

After entering two bulletted lines and hitting Enter twice - now in paragraph mode
If you then click on the bulleted icon twice to switch on and off then it's back to Body Text.
Same issue for numbered list.

Only way to switch off paragraph mode or not allow exiting of list to go to paragraph mode is to use the information in comment 11

You need to log in before you can comment on or make changes to this bug.