Created attachment 171750 [details] file with default text in subscript Bad default paragraph style setting in this document can't be changed from anywhere in LibreOffice Writer. This document was previously exported from docx and came to me in odt. Default paragraph style settings make default character style subscript. I found that it is associated with settging style:text-position="sub 58%" set in style:text-properties inside <style:default-style style:family="paragraph"> located in styles.xml It can't be changed in LibeOffice Writer. Only way to fix this is to remove this option from styles.xml in unzipped odt file. I thing there should be options to configure default settings from Writer to fix that kind of problems. P.S. It can't be fixed by loading styles from regular file. To overwrite it with external styles file that file should have something like style:text-position="0% 100%"
(In reply to Georgy Litvinov from comment #0) > Bad default paragraph style setting in this document can't be changed from > anywhere in LibreOffice Writer. You can change it the same way you can change every paragraph style 1. Press F11 => Styles tab in sidebar opens 2. Right click on paragraph style "Text Bod" => Modify 3. Change it the way you like (for example in position tab choose "normal" and in Indents & Spacing tab choose single line space. => NOTABUG (feel free to change it back to UNCONFIRMED wit a short reasoning, if you disagree)
Created attachment 172270 [details] document with text in custom styles
(In reply to Dieter from comment #1) > (In reply to Georgy Litvinov from comment #0) > > Bad default paragraph style setting in this document can't be changed from > > anywhere in LibreOffice Writer. > > You can change it the same way you can change every paragraph style > 1. Press F11 => Styles tab in sidebar opens > 2. Right click on paragraph style "Text Bod" => Modify > 3. Change it the way you like (for example in position tab choose "normal" > and in Indents & Spacing tab choose single line space. > > => NOTABUG (feel free to change it back to UNCONFIRMED wit a short > reasoning, if you disagree) Hi, Dieter The workaround you proposed doesn't solve the bug, it only paritally hides the problem by overriding these settings,not changes them. After going through the steps you described try loading text from new attached file "document with text in custom styles". It has three paragraph with custom style names. After importing all imported text will be in subscript.
Another example. Just create new paragraph style in the same document. Not inherit settings in new style from Text Body. ( In style settings on Organizer tab "Inherit from" should be None. This style will be in subscript too.
(In reply to Georgy Litvinov from comment #4) > Another example. Just create new paragraph style in the same document. Not > inherit settings in new style from Text Body. ( In style settings on > Organizer tab "Inherit from" should be None. This style will be in subscript > too. I can't confirm this and also not the behaviour you describe in comment 3. There might be some individual settings in your user profile. Could you please retest in SafeMode (Help => Restart in SafeMode)? => NEEDINFO
(In reply to Dieter from comment #5) > (In reply to Georgy Litvinov from comment #4) > > Another example. Just create new paragraph style in the same document. Not > > inherit settings in new style from Text Body. ( In style settings on > > Organizer tab "Inherit from" should be None. This style will be in subscript > > too. > > I can't confirm this and also not the behaviour you describe in comment 3. > There might be some individual settings in your user profile. Could you > please retest in SafeMode (Help => Restart in SafeMode)? > => NEEDINFO I retested it and recorded it https://www.youtube.com/watch?v=dLcNrhRbf2I The instruction doesn't change default styles, it only changes text body style. Every new paragraph style in the document will be in subscript.
(In reply to Georgy Litvinov from comment #6) > I retested it and recorded it https://www.youtube.com/watch?v=dLcNrhRbf2I > The instruction doesn't change default styles, it only changes text body > style. > Every new paragraph style in the document will be in subscript. Thanks for the video. I could reproduce the steps. For me the problem is, that as soon as you create a new paragraph style and set "Inherit from" to none, font position changes to subscript. So a workaround would be to set "Inherit from" to a certain style. Unfortunately I don't know how the style is defined, if inherit is "none". So I would call this a bug. Does this cover your problem? So bug titel would be something like "Font position changes to Subscript, if style isn't inherited from another style" (sorry, my English isn't perfect)
I can reproduce 1. Open attachment 171750 [details] 2. Insert - Text from file 3. Select attachment 172270 [details] Now you see the inserted text has inherited the subscript property from the Text Body style that is present in attachment 171750 [details] even though the styles in attachment 172270 [details] inherit from none. Arch Linux 64-bit Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 37613bffe4621c444e5a34678bafb2c3a875263d CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 26 April 2022