Bug 100778 - "Start with caps" autocorrect doesn't work if word contains apostrophe and "Single quotes" option is on
Summary: "Start with caps" autocorrect doesn't work if word contains apostrophe and "S...
Status: RESOLVED DUPLICATE of bug 106164
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (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
  Show dependency treegraph
 
Reported: 2016-07-05 20:14 UTC by RGB
Modified: 2019-12-25 15:26 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 RGB 2016-07-05 20:14:30 UTC
I discovered this by writing in Italian, but I think it is the same on any language.

By default, autocorrect makes sure that any phrase starts with caps, changing

      questo periodo

into 

      Questo periodo

But if the first word contains an apostrophe like

      l'importanza di questo periodo

autocorrect fails, which is not desired. It should change the phrase into 

      L'importanza di questo periodo
Comment 1 V Stuart Foote 2016-07-05 22:40:30 UTC
Confirming...

On Windows 8.1 Enterprise 64-bit en-US with
Version: 5.1.4.2 (x64)
Build ID: f99d75f39f1c57ebdd7ffc5f42867c12031db97a
CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL; 
Locale: en-US (en_US)

New default profile.

If the Autocorrect Options dialog Localized options tab "Single Quotes" is checked active--the capitalization of a word with "apostrophe" does not occur.

But with "Single Quotes" unchecked in auto-correct options, also seeing some weirdness in the auto-correct when the paragraph is not the first of the document.

Typing these lines and observing which words with apostrophe receive capitalization.

"it's my party, i'll cry if i want to"
"it's my party. i'll cry if i want to"
"i'll cry if i want to. i'll cry if i want to. it's my party"

something is wrong in edit engine--and the "Single Quotes" substitution is also having an affect.
Comment 2 [REDACTED] 2016-07-26 07:07:55 UTC
Confirmed all V Stuart Foote's points on Windows 10, LO 5.1.4.2.
Comment 3 tommy27 2016-10-07 21:46:01 UTC
bug still present in LibO 5.3.0.0.alpha0+
Build ID: 4c70a1a6666a079872b8f1966bd398e924dc1d1a
CPU Threads: 4; OS Version: Windows 6.29; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-09-22_06:54:24
Locale: it-IT (it_IT); Calc: group
Comment 4 Jon Pienaar 2017-05-01 12:15:26 UTC
Yep, still happening with latest version (5.3.2.2).

Fix: Type document with ' straight single quote, then use 'Search and Replace' to place ’ symbol. The only problem is that you can't then use single quotes for dialogue, as the end quote will be facing the wrong way. This is a problem for some publications' style guides, as they prefer singles. I guess the workaround /then/ is to use double quotes (still selected to 'smart'), and use Search and Replace to change them to single quotes.
Comment 5 tommy27 2017-05-01 14:59:51 UTC
@ Jon Pienaar 
thanks for confirming issue with 5.3.2.2 but please do not mess bug fields if you don't know hoe it works...

I reverted all the wrong changes you made (status, hardware, version)
Comment 6 Xisco Faulí 2018-01-18 16:11:03 UTC
Reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 7 QA Administrators 2019-01-19 03:54:25 UTC Comment hidden (obsolete)
Comment 8 RGB 2019-01-19 10:14:35 UTC
Problem still present in 6.1.4.2 and 6.2.0.2
Comment 9 László Németh 2019-12-25 15:26:54 UTC

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