https://bugs.documentfoundation.org/show_bug.cgi?id=165973
Bug ID: 165973
Summary: Don't delete the newline after unwanted autocorrect is
undone
Product: LibreOffice
Version: 25.2.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Sometimes when pressing Enter/Return to create a new line, auto-correct kicks
in and changes the capitalization of the word, according to the defined set of
rules.
So if I start a new line, type "intentionally-lowercase" and press Enter, it
gets corrected to "Intentionally-Lowercase".
When I then press ctrl+z, the word gets reverted to original spelling, but the
newly entered newline is deleted. So if I then go to the end of the line and
press Enter again... the autocorrect is applied again and the first letter is
changed to a capital letter. So the user is stuck in a frustrating loop.
Note that the behavior for entering a newline is different from the behavior
when pressing the spacebar.
If I start a line with "intentionally-lowercase" and then press Space, it adds
a space and applies autocorrect. I can then press ctrl+z and it only undoes the
autocorrect, keeping the space that I've entered, so I can move on with editing
the document.
There's an unintuitive difference in behavior then: when pressing Space,
autocorrect is treated as a separate step that can be undone. When pressing
Enter, the newline and autocorrect are treated as one and can only be undone as
a whole, leading to confusion.
I personally thing the behavior that's applied when pressing Space is more
intuitive and it would be great if the same behavior was applied when pressing
Enter
Steps to Reproduce:
1. In a new line, write a word starting with a lowercase letter
2. Press Enter
3. The word is now capitalized
4. Press ctrl+z
Actual Results:
The word is no longer capitalized, but the newline is gone
Expected Results:
The word is no longer capitalized, but the newline is still there and the
cursor doesn't change position
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 16; OS: Linux 6.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
25.2.2-1
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.