Bug 95433 - EDITING autocorrect option "Apply styles" causes Default Style paragraphs to change to "Text Body" paragraph style while typing
Summary: EDITING autocorrect option "Apply styles" causes Default Style paragraphs to ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2015-10-30 08:11 UTC by Jeppe Bundsgaard
Modified: 2023-06-25 23:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document (11.79 KB, application/vnd.oasis.opendocument.text)
2015-11-09 16:03 UTC, Jeppe Bundsgaard
Details
Right screen ,changes into the left one after clicking auto correct(apply) (479.80 KB, image/png)
2021-01-09 04:25 UTC, Berna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeppe Bundsgaard 2015-10-30 08:11:46 UTC
When having set "Autocorrect styles" in the autocorrect settings in order to make hitting enter twice converting the text into a heading, it also makes text styles convert into default style when hitting enter once.
Comment 1 Buovjaga 2015-11-09 10:05:45 UTC
I ticked: Tools - Autocorrect options - Options - Apply styles.
Nothing is converted to a heading after hitting enter twice.
Nothing is converted to default style after hitting enter once.

Please provide a complete explanation.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 Jeppe Bundsgaard 2015-11-09 16:03:16 UTC
Created attachment 120422 [details]
Example document
Comment 3 Jeppe Bundsgaard 2015-11-09 16:03:28 UTC
I select Settings [Funktioner] -> Auto Correct Settings [Autokorrekturindstillinger], select the tab Settings [Indstillinger] and tick Use styles [Anvend typografier].

Then I write a sentence in the style Standardtypografi and hit enter. It changes to Brødtekst.

A have attached a document to show what happens.
Comment 4 Buovjaga 2015-11-11 08:31:08 UTC
Ok, so I read the help: https://help.libreoffice.org/Common/Options_3#When_in_Writer:_Apply_Styles
"type the text that you want to use as a heading (without a period), and then press Enter twice"

I always used a period, so didn't see the change.

I confirm that the style changes to Text Body from Default Style.

As this behavior is not documented and therefore seems to be incorrect, I'll change this to NEW.

There is also bug 90507, which is about everything changing to Text Body, if you do Format - Autocorrect - Apply. I confirmed it happens even if "Apply styles" option is not selected.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

3.5.0
Comment 5 QA Administrators 2017-01-03 19:34:47 UTC Comment hidden (obsolete)
Comment 6 Jeppe Bundsgaard 2017-01-03 20:17:38 UTC
The bug is still there in  1:5.2.3~rc2-0ubuntu1~yakkety1.
Comment 7 QA Administrators 2018-06-22 02:50:06 UTC Comment hidden (obsolete)
Comment 8 Harald Koester 2019-04-17 10:30:03 UTC
Bug still exists in version 6.2.2 (64 bit, Win 10).
Comment 9 Berna 2021-01-09 04:25:05 UTC Comment hidden (no-value)
Comment 10 sdc.blanco 2021-01-25 13:28:38 UTC
(In reply to Buovjaga from comment #4)
> I confirm that the style changes to Text Body from Default Style.
> 
> As this behavior is not documented and therefore seems to be incorrect, I'll
> change this to NEW.
Is this a "bug" or an undocumented feature?

If "Text Body" (Brødtekst) is considered to be an instance of "Apply Style", then one could understand this option as a way to automatically avoid having "Default Paragraph Style" paragraphs in a document. 

Just a speculation.  Who might know for certain?  (or maybe needsUXEval?)
Comment 11 sdc.blanco 2021-01-25 13:43:24 UTC Comment hidden (no-value)
Comment 12 sdc.blanco 2021-01-25 13:56:32 UTC
changed bug summary to distinguish it from bug 90507, where same effect happens using Tools - AutoCorrect - Apply
Comment 13 QA Administrators 2023-01-26 03:24:14 UTC Comment hidden (obsolete)
Comment 14 Jeppe Bundsgaard 2023-03-12 22:18:39 UTC
Bug/undocumented feature is still there in 
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: da-DK (da_DK.UTF-8); UI: da-DK
Calc: threaded
Comment 15 sdc.blanco 2023-06-25 23:45:53 UTC
may be fixed in 7.6 -- possibly by bug 90507