Bug 70554 - FORMATTING Sub- and superscript format is inherited by new paragraphs
Summary: FORMATTING Sub- and superscript format is inherited by new paragraphs
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete Paragraph
  Show dependency treegraph
 
Reported: 2013-10-17 00:00 UTC by TJ Corley
Modified: 2018-10-19 10:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TJ Corley 2013-10-17 00:00:29 UTC
If you are using the bullet/numbering feature and the last word you use ends with a suffix such as th or st, eg 1st or 5th, and LibreOffice puts it at the top of the word,when you do a new line the text will stay at that size. I believe the only way to change it back to regular size is to remove the suffix and then re-add and then to make sure the font changes back to regular size on that line.
Comment 1 Dominique Boutry 2013-10-23 16:20:03 UTC
Reproduced something analog with LibO 4.1.2.3 on Win7.

No need to be in a list. Just type :
François 1er<Return>
François II

All is OK : the "ER" after "1" is in exponent ; "François II" is OK

Now clic just right to the "er" and type "<Return>Henri 2" ; you get
François 1er
Henri 2
François II

"Henri 2" is badly formated.
Comment 2 Cor Nouws 2013-10-31 20:55:06 UTC
Set to New and update the summary a bit.
OK like this?
Comment 3 Cor Nouws 2013-10-31 20:55:35 UTC
(In reply to comment #0)

> I believe the only way to change it back to regular size is to remove the
> suffix and then re-add and then to make sure the font changes back to
> regular size on that line.

Select text at the second line and hit Ctrl+M helps too
Comment 4 Urmas 2013-11-02 15:37:55 UTC
So you propose that superscript autocorrection put a zero-length span after the text it is going to replace? It won't survive a saving, though.
Comment 5 QA Administrators 2015-04-19 03:21:45 UTC Comment hidden (obsolete)
Comment 6 Gordo 2015-06-13 12:52:01 UTC
Is it possible to add a check when Return is pressed?  If the cursor is preceded by a superscript character then after the Return, default the character to normal.
Comment 7 QA Administrators 2016-09-20 10:00:12 UTC Comment hidden (obsolete)
Comment 8 Thomas Lendo 2018-09-28 06:23:33 UTC
I support Gordo in comment 6: An 'insert manual row break' command (shortcut: shift + enter) or an 'insert paragraph' command (shortcut: enter) always should set back superscript and subscript formatting of characters. At least if it was done by the AutoCorrection feature.

Or as an inversion of the bug report: AutoCorrection changes never should have an effect to following, non-autocorrected characters.
Comment 9 Thomas Lendo 2018-09-28 06:25:19 UTC
Adding needsUXEval to discuss in what direction the bug fix should go.
Comment 10 Heiko Tietze 2018-10-19 10:15:31 UTC
Don't see need for UX, it's a bug.

1st + enter = 1^st, and it continues with normal position. But when I place the cursor later at the superscript and press enter the new (inserted) line remains at this superscript position.