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: 2021-10-20 03:55 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.
Comment 11 QA Administrators 2019-10-20 02:33:43 UTC Comment hidden (obsolete, spam)
Comment 12 QA Administrators 2021-10-20 03:55:54 UTC
Dear TJ Corley,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug