Bug 95433 - EDITING autocorrect option "Apply styles" causes Default Style to change to Text Body
Summary: EDITING autocorrect option "Apply styles" causes Default Style to change to T...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
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: 2019-04-17 10:30 UTC (History)
2 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

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).