Bug 166415 - inconsistent auto-capitalize
Summary: inconsistent auto-capitalize
Status: RESOLVED DUPLICATE of bug 137010
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2025-05-01 07:47 UTC by Robert Lacroix
Modified: 2026-02-12 09:07 UTC (History)
4 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 Robert Lacroix 2025-05-01 07:47:14 UTC
Description:
Auto-capitalize somehow annoyingly persists after it has been turned off.
Pressing Enter to finish editing text in a cell capitalizes the first word, at least the first time you make a change. Changing it again without leaving (to uncapitalize the first word) thankfully does not repeat.

Pressing Tab instead of Enter to finish the initial edit does not capitalize the first word! Well now, that's a bug which I call a feature!

Steps to Reproduce:
Case 1
1. Create a cell which contains "invoice 123 for april"
2. Copy and paste the cell to another location.
3. Edit the copy of the cell, changing 123 to 124 and april to may.
4. Press Enter to finish the edit. The first word becomes Invoice, even though the capitalization feature is unchecked in "Grammar checking" and nothing is checked in "Writing Aids".
5. Edit again, changing Invoice to invoice. Press Enter. Works fine.

Case 2
1. Repeat the above, but press the tab key to finish editing. "invoice" remains unchnaged. That's a nice feature.


Actual Results:
Capitalization of first word changes unexpectedly, and this is sensitive to the keystroke used to exit edit mode.

Expected Results:
Consistency?


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 1 fpy 2025-05-01 10:12:37 UTC
unclear if it's about  Tools -> Autocorrect options
or grammar chcking : Tools -> Options > Language Settings -> Writing Aids  (and which ones are activated?)
Comment 2 Robert Lacroix 2025-05-01 21:41:49 UTC
(In reply to fpy from comment #1)
> unclear if it's about  Tools -> Autocorrect options
"Capitalize first letter of every sentence" is checked
> or grammar chcking : Tools -> Options > Language Settings -> Writing Aids 

All items in "Options" section are unchecked.
I will certainly turn off the Autocorrect option to correct the annoyance.

This doesn't change the fact that Autocorrect processing is different when the edit is completed with Enter or Tab. Is this a feature? Or a bug?
Comment 3 m_a_riosv 2025-05-01 23:51:54 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 4 raal 2025-05-21 16:08:23 UTC
No repro with Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5c74b979eac620dc1a435fcdf9e88488fd4217d9
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 5 BogdanB 2025-05-29 04:55:58 UTC
If Tools - Autocorrect - Options - Capitalize first letter is checked the invoice is changing to Invoice.

After unchecking Tools - Autocorrect - Options - Capitalize first letter, everything is fine.

Version: 25.2.3.1 (X86_64) / LibreOffice Community
Build ID: d8d1af5f77df955194e52baabe19324532ac8e8b
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2025-12-27 16:45:10 UTC
(In reply to Robert Lacroix from comment #2)
> This doesn't change the fact that Autocorrect processing is different when
> the edit is completed with Enter or Tab. Is this a feature? Or a bug?

For me, "invoice" becomes capitalised when I press Space after 123, so Enter is not needed. If I press Enter immediately after typing "invoice 123", "invoice" becomes capitalised. If I press Tab instead of Enter, "invoice" still becomes capitalised. The same is true if I do the "Edit the copy of the cell, changing 123 to 124" test for content where "invoice" is lowercase initially.

So I am unable to find steps for reproducing the inconsistency between Enter and Tab.

Arch Linux 64-bit
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 640a35801612123fa503fa72e8732cfb7e75caca
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 23 December 2025
Comment 7 Timur 2026-02-12 09:07:36 UTC
There are many tickets in meta bug and this one looks like the duplicate.

*** This bug has been marked as a duplicate of bug 137010 ***