Bug 128228 - I can not turn off automatic capitalisation of 'i' in a technical (algebraic) document.
Summary: I can not turn off automatic capitalisation of 'i' in a technical (algebraic)...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 10:59 UTC by John Hunter
Modified: 2019-10-18 16:00 UTC (History)
2 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 John Hunter 2019-10-18 10:59:37 UTC
Description:
When I try to type: "i := i + 1", the "i"s get capitalised. When I correct it, the unhelpful "auto-corrector" recapitalises the "i" after the next space. (Grrrr!)
"i := i + 1;" magically gets "improved" to "I := I + 1;"

I cannot find an option of the type "Go to Algebra mode". Turning off all auto-correction while typing is "throwing the baby out with the water"!

Version: 5.2.7.2
Build ID: 1:5.2.7-1+deb9u11
CPU Threads: 4; OS Version: Linux 4.9; UI Render: default; VCL: x11; 
Locale: en-GB (en_GB.UTF-8); Calc: group


Steps to Reproduce:
1. Attempt to type " i := i + 1 "
2.
3.

Actual Results:
I :- I + 1;

Expected Results:
i := i + 1;


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 5.2.7.2
Build ID: 1:5.2.7-1+deb9u11
CPU Threads: 4; OS Version: Linux 4.9; UI Render: default; VCL: x11; 
Locale: en-GB (en_GB.UTF-8); Calc: group
Comment 1 Julien Nabet 2019-10-18 13:20:50 UTC
5.2 version is very old and EOL, could you give a try to 6.2.8 or brand new 6.3.2?
Comment 2 John Hunter 2019-10-18 14:54:57 UTC
The newest version to hand is 6.1.5.2 on another machine.
I have tried the test (i := i + 1;) with this version with identical results.
I have searched and tried several vaguely relevant Tools -> 'AutoCorrect' options but failed to find an option which would inhibit this particular "correction".

If there is a setting to deal with this annoying behaviour, it is well hidden and should be made more visible.
Comment 3 Julien Nabet 2019-10-18 14:58:48 UTC
6.1 branch is EOL too.
Meanwhile, I gave a try on Win10 with LO 6.3.2 on a brand new file and pasted :
i := i + 1

There was no replace.

1) It seems to happen only a specific one according to bugtracker title.
Do you confirm it doesn't happen with a brand new file?

2) Could you give a try to an even more recent LO version?
Comment 4 V Stuart Foote 2019-10-18 15:08:18 UTC
Expectation would be that you enter a styled formula with the Math formula editor.

But if you want to suppress the autocorrection of 'i' -> 'I' simply delete the stanza from the Autocorrections list

Tools -> Autocorrect -> Autocorrect Options: 'Replace' tab.

Scroll down past the emojis and into the alphabetical word list, select the stanza and delete.
Comment 5 John Hunter 2019-10-18 15:34:39 UTC
A global 'i' -> 'I' replacement is inappropriate (baby and bath water). If a chunk of text (line, sentence) contains non-literary characters (e.g. + - =), this auto correction should be inhibited. Alternatively, the i->I correction should be local to this document. 

If the text is pasted in, the "correction" is not implemented.

This "correction" takes place with a clean new document with both versions tested,
5.2.7.2 and 6.1.5.2
Comment 6 John Hunter 2019-10-18 15:40:29 UTC
The status SOLVED is premature
Comment 7 V Stuart Foote 2019-10-18 16:00:31 UTC
It is not a bug and functions as designed and intended.

_You_ have the ability to control the autocorrection.

_You_ have the ability to enter your formulas with full node construction and layout with the formula editor.

_You_ have the option _not_ to enter your formula(s) as normal text while typing your text (or pasting it in where because it is not being typed it is not corrected).

So every thing is in your hands.

If you are asking for an 'enhancement' to provide a mode for runing text input of algebraic notation--different issue and not really very useful.  That text needs to be put in in Starmath syntax in the Formula editors input box--or brought in as MathML -- which is already provided for 'inline' with OLE insert formula or in the Math module.  So => WF for that.

Summary here and this issue is a usage issue. => NAB