Bug 165366 - EDITING: "i'm" / "i'll" / etc are automatically capitalized when using smart quotes
Summary: EDITING: "i'm" / "i'll" / etc are automatically capitalized when using smart ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All Windows (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2025-02-21 03:40 UTC by thea_apianae
Modified: 2025-02-21 16:35 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 thea_apianae 2025-02-21 03:40:29 UTC
Description:
in the autocorrect settings, i disabled "Capitalize first letter of every sentence" and deleted "i > I" from the replacement table. now when typing a lowercase "i" by itself it doesn't get capitalized, but when typing out a contraction starting with "i", eg "i'm", it gets autocorrected to "I’m".

if i disable the auto-replacement of single quotes to curly quotes or turn off autocorrect while typing, it stops doing this. i've also tried editing the replacement table ("i'm > i'm"), and adding the lowercase versions to the dictionary, but this doesn't fix it, so i think the problem is with the smart quotes.

Steps to Reproduce:
1. disable auto-capitalization of sentences and remove "i > I" from autocorrect
2. type the word "i'm"
3. that's all

Actual Results:
"i'm" is corrected to "I’m"

Expected Results:
"i'm" should become "i’m", the single quote is converted without capitalizing the "i"


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2025-02-21 16:35:50 UTC
This is intentional for en language locales to follow MSO behavior.

You can work round this edit engine function for English [1] by unsetting the Single Quotes Localized Options, or by unchecking the Tools -> AutoCorrect -> While Typing selection.

You can also set the paragraph Text Language to None.

=-ref-=
[1] https://gerrit.libreoffice.org/c/core/+/70088