Closed Bug 1376203 Opened 9 years ago Closed 9 years ago

Text format switch causes wrong cursor position underneath empty lines

Categories

(Thunderbird :: Message Compose Window, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1281664

People

(Reporter: bineejj, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170608105825 Steps to reproduce: 1.) Compose a message with paragraph text format. 2.) Including empty lines between the paragraphs. 3.) Switch to body text format. 4.) Enter any text into a paragraph with an empty line above it, or which had an empty line above it before the text format was changed. Actual results: After switching from paragraph to body text format, new characters/text were added in the lines above the current cursor position, if the line above is an empty one. clearing the empty line has no effect on this issue. A line, which had an empty line above it, will continue showing this behavior. Expected results: The new characters/text show be added at the current cursor position, even after switching from paragraph to body text format.
By the way, I'm a big fan of https://bugzilla.mozilla.org/show_bug.cgi?id=1250051 Though, until now it wasn't annoying enough to do something about it. However, this doesn't changes the facts.
Looks like you found an Mozilla Core::Editor bug. There is another bug related to changing text format: Bug 1281664, in fact, you bug looks like a duplicate. As for bug 1250051: You can simply switch off the paragraphs if you don't like them.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.