Bug 128412 - UNDO is ignored after Lower case word is forced into Upper case by Autocorrect
Summary: UNDO is ignored after Lower case word is forced into Upper case by Autocorrect
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete Undo-Redo
  Show dependency treegraph
 
Reported: 2019-10-27 12:10 UTC by david.cortes.rivera
Modified: 2023-05-27 17:36 UTC (History)
3 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 david.cortes.rivera 2019-10-27 12:10:48 UTC
Steps to reproduce:
* Create some merged cell from two or more rows.
* Write some word in the merged cell starting with a capital letter, add a line break (ctrl + enter), and write another word starting with a small letter.
* Press enter to be done with editing the cell (which now contains two lines).
* After noticing that the second word got its first letter auto-converted to capital, try to edit the cell again and switch it back to small letter.

Expected behavior: should allow starting the second word with a non-capitalized letter.

Actual behavior: first letter of the second word is still auto-capitalized, and now first letter of the first word cannot be set to small letter either.


Version: 6.3.1.2
Build ID: 1:6.3.1-1
CPU threads: 16; OS: Linux 5.2; UI render: GL; VCL: kde5; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 IM 2019-10-28 17:48:41 UTC
Thank you for reporting the bug. I can confirm it with:

Version: 6.3.2.2 (x64)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: pl-PL (pl_PL); UI-Language: en-US
Calc: threaded

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: pl-PL (pl_PL); UI-Language: en-US
Calc: threaded
Comment 2 Xisco Faulí 2019-11-11 16:52:04 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

@Eike, I thought you might be interested in this issue...
Comment 3 QA Administrators 2021-11-11 04:14:19 UTC Comment hidden (obsolete)
Comment 4 david.cortes.rivera 2021-11-11 04:44:02 UTC
Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 16; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 1:7.2.2-1
Calc: threaded
Comment 5 BogdanB 2023-05-25 14:44:14 UTC
Also in
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 9a4b768b0a22bd3ae627c7355bbd223b9cf65015
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 6 ady 2023-05-27 11:44:36 UTC
In the STR from comment 0, merging cells is optional; just a possible convenience.

The Autocorrect option to "Capitalize first letter of every sentence" is in use, AND using "undo" [CTRL]+[Z] immediately after [ENTER] seems to be ignored.

The "undo" works if we introduce a space character (or any other word-ending character) at the end of the Autocorrect action (and before pressing [ENTER]), but not if the "sentence" (or rather, line of text) ends with a simple word string.

The "undo" action is registered - there is a new "redo" action available - but the Autocorrect is not actually "undone".