Bug 142714 - Undo after autocorrect two initial capitals removes last typed char and autocorrection
Summary: Undo after autocorrect two initial capitals removes last typed char and autoc...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 10:20 UTC by Corrado Mencar
Modified: 2021-07-11 21:28 UTC (History)
1 user (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 Corrado Mencar 2021-06-08 10:20:31 UTC
Description:
Suppose I want to type "RBs are". I start typing "RBs " then AutoCorrect automatically changes the text into "Rbs " (which is expected because the "Correct TWo INitial CApitals" option is on). Then I press CTRL-Z to undo the AutoCorrect action and the result is "RBs" (that is: both the auto-correction and the space have been undone). Then, I press the space and AutoCorrect again changes the text into "Rbs ". 

This is an undesired behavior. When AutoCorrect changes "RBs " into "Rbs " after pressing the last space, and the last action is undone (e.g. by CTRL-Z), the desired behavior is that only the auto-correction is undone, not the space insertion, resulting in "RBs ", so that I can continue typing. 

Steps to Reproduce:
1. Assure that AutoCorrect is on with option "Correct TWo INitial CApitals" on.
2. Type "RBs ". AutoCorrect auto-corrects into "Rbs "
3. Press CTRL-Z to undo last action

Actual Results:
"RBs" (without trailing space) 

Expected Results:
"RBs " (with trailing space)


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 holola hero 2021-06-15 09:09:43 UTC Comment hidden (spam)
Comment 2 Ezinne 2021-07-07 22:22:09 UTC
The described behavior is not reproducible on my end

The CTRL+Z changed to "RBs " with the trailing space.


Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 7c1bad415ae48635dc67041c413bb7b76a530c22
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-05_06:55:03
Calc: threaded


Can you please provide the LibreOffice version and the locale you are using?
Comment 3 Corrado Mencar 2021-07-08 07:59:34 UTC
Bug disappeared in Version: 7.1.4.2 / LibreOffice Community
Comment 4 Aron Budea 2021-07-11 21:28:03 UTC
Thanks for the feedback, let's use status WORKSFORME, since the fixing change is unknown.