Bug 77568 - Add property to turn autocorrect on/off to styles
Summary: Add property to turn autocorrect on/off to styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete Writer-Styles
  Show dependency treegraph
 
Reported: 2014-04-17 10:14 UTC by Remco Brenninkmeijer
Modified: 2023-12-27 23:45 UTC (History)
6 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 Remco Brenninkmeijer 2014-04-17 10:14:23 UTC
Auto-correct is a very handy feature and for many people even almost a necessity, but at the same time probably one of the most annoying and cursed ones.

I am often struggling with exceptions which I do not want to make global, like the parts of code which should definitely not be typed with capitals, double spaces which are actually mend for formatting etc. Sure you can undo the changes made by auto-correct or cleverly use the arrows instead of the space, but than you often find, after printing, auto-correct did at some point correct this anyway because you editted somewhere in that area.

While it is easy to make parts of the text bold or italic, the function which I have not found to today is how to tell auto-correct to skip this part of the text.

If this option would be available I would probably be using it in almost every document which I care about spelling and how it looks.
Comment 1 Cor Nouws 2014-04-17 11:09:55 UTC
Hi Remco,

thanks for your report / suggestion.

Few questions:
 - "Add property autocorrect on/off to styles" would be the correct summary ?
 - You choose component Writer, but your description looks as if you mean Calc..
   what is your idea?

regards,
Cor
Comment 2 Remco Brenninkmeijer 2014-04-17 11:26:28 UTC
I am not familiar with the internals of libreoffice, it does not necessarily has to be a style but you should be able to pin  it to the text like you pin bold or italic to part of the text.

So I think "Add property autocorrect on/off to styles" would indeed probably be a proper summary.

It might be helpful in other libreoffice components like impress and calc, but my first use would be in writer. If you try to make a manual on programming, you do not want the auto-correct function trying to correct your example code. Being able to define that part as don't touch would be very helpful.
Comment 3 mahfiaz 2014-04-17 15:11:55 UTC
Another and probably easier way is to make it a general toggle, just like Insert key works.
Comment 4 Remco Brenninkmeijer 2014-04-17 15:50:41 UTC
but the power of the option lies with the coupling between location/part of the text and the disabled auto-correct. After setting your auto-correct off (style) for that part, you can edit and make corrections without worrying about auto-correct making unwanted changes. You might also want to use this to bypass the spell-checker.

Just a button to temporarily disable auto-correct might give a bit of advantage above working with undo and arrow keys to avoid auto-correct to make changes, but it will not give you the assurance the text is not gonna be changed later.
Comment 5 Cor Nouws 2014-04-17 16:03:10 UTC
(In reply to comment #3)
> Another and probably easier way is to make it a general toggle, just like
> Insert key works.


We have this: Format > Autocorrection > While typing (or somehting like that)

@Remco: good to use!
Comment 6 Cor Nouws 2014-04-17 16:05:01 UTC
(In reply to comment #4)

> ... but it will not give you the assurance the text is not gonna
> be changed later.

I've never noticed that while I was not editing that particular part. So seems a bit odd.

By the way: good chance that there needs to be a change to the ODF format to allow such an attribute...
Comment 7 Remco Brenninkmeijer 2014-04-17 16:15:39 UTC
(In reply to comment #6)
> (In reply to comment #4)
> 
> > ... but it will not give you the assurance the text is not gonna
> > be changed later.
> 
> I've never noticed that while I was not editing that particular part. So
> seems a bit odd.

but I am making changes in that part, the point is that you constantly have to pay attention/ work against auto-correct on these parts while you know you do not want it in that part of your text.

> By the way: good chance that there needs to be a change to the ODF format to
> allow such an attribute...

That would complicate things a lot.
Comment 8 Cor Nouws 2014-04-17 16:25:24 UTC
(In reply to comment #7)

> but I am making changes in that part, the point is that you constantly have
> to pay attention/ work against auto-correct on these parts while you know
> you do not want it in that part of your text.


Creating a shortcut to togle is easiest and fast to realise, also for you...
Comment 9 Remco Brenninkmeijer 2014-04-17 16:46:08 UTC
(In reply to comment #8)
> Creating a shortcut to toggle is easiest and fast to realize, also for you...

Yeah, that is no problem and if it is too complicated to make auto-correct-off included in the text, that is how it is. I have lived with that for many years.
I'll just be dreaming for this future feature for a couple of more years ;-)
Comment 10 Cor Nouws 2014-04-17 21:49:42 UTC
(In reply to comment #9)

> I'll just be dreaming for this future feature for a couple of more years ;-)

thanks for additional info - I set this to new and lets just see.. :)
Ciao,
Cor
Comment 11 Thomas Lendo 2019-08-30 11:03:43 UTC
Adding Regina Henschel to CC list to clarify if it's possible with styles anyway.
Comment 12 Eyal Rozenberg 2023-12-27 23:45:47 UTC
While I would support allowing the exception of certain styles from AutoCorrect - I'm against this setting being part of the _style_. AutoCorrection is more associated with a user than with a document, in my view. The user could have exceptions of certain styles from autocorrection - but I wouldn't have that propagate from one user to another via the document.