Bug 116763 - EDITING: The find tool doesn't match smart (Unicode) apostrophes
Summary: EDITING: The find tool doesn't match smart (Unicode) apostrophes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 120010 127449 (view as bug list)
Depends on:
Blocks: Find-Search AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2018-04-03 01:27 UTC by Andrew Hyatt
Modified: 2020-11-12 12:34 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Related settings (331.74 KB, image/png)
2018-04-04 18:43 UTC, Andrew Hyatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Hyatt 2018-04-03 01:27:28 UTC
The find tool won't match the 'typewriter apostrophe' to smart (Unicode) apostrophes like MS Word and most other word processors do. 

Steps to reproduce:

Turn on Language Settings -> English sentence checking -> Punctuation -> Apostraphe

Type a document with Words such as "can't", "won't", "shouldn't", etc

Search for them with the find tool

They can't be found because what you are searching for is the typewriter apostrophe and LibreOffice replaced those with Unicode apostrophes. 

This also applies to Unicode quotes and similar punctuation characters.
Comment 1 Dieter 2018-04-04 07:14:44 UTC
(In reply to Andrew Hyatt from comment #0) 
> Steps to reproduce:
> 
> Turn on Language Settings -> English sentence checking -> Punctuation ->
> Apostraphe

Can't find those settings.

I choosed
Options => Language Settings => Languages => ????
Comment 2 Andrew Hyatt 2018-04-04 18:43:44 UTC
Created attachment 141093 [details]
Related settings
Comment 3 Andrew Hyatt 2018-04-04 18:45:35 UTC
(In reply to Dieter Praas from comment #1)
> (In reply to Andrew Hyatt from comment #0) 
> > Steps to reproduce:
> > 
> > Turn on Language Settings -> English sentence checking -> Punctuation ->
> > Apostraphe
> 
> Can't find those settings.
> 
> I choosed
> Options => Language Settings => Languages => ????

See the file I just attached (Related settings) to see what settings these are. My installation is set to English (USA).
Comment 4 Laurent Balland 2018-04-14 16:41:54 UTC
Hello,
The automatic replacement of single quote by a smart apostrophe is controlled via: Tools > AutoCorrect > AutoCorrect Options, Localized Options tab, Check/Uncheck "Replace" checkbox for Single Quotes.

Options in Tools > Options > Language Settings > English sentence checking, Punctuation propose the modification of the character afterwards.

You need to copy the word you are looking for.
Comment 5 xordevoreaux 2018-05-21 20:23:18 UTC
This:
-------------------
Hello,
The automatic replacement of single quote by a smart apostrophe is controlled via: Tools > AutoCorrect > AutoCorrect Options, Localized Options tab, Check/Uncheck "Replace" checkbox for Single Quotes.

Options in Tools > Options > Language Settings > English sentence checking, Punctuation propose the modification of the character afterwards.

You need to copy the word you are looking for.
--------------------

Was the same response I got from someone else, who subsequently closed my bug as not a bug, because we have the privilege as a work-around of putting up with some asinine situation where we cannot use one function (smart quote replacement) if we expect to use another (word search).

Unacceptable.  I tested in MS Word 365, and it has zero problems finding words with smart quote apostrophes.

LibreOffice Writer should be no different.
Comment 6 Buovjaga 2018-10-13 10:02:18 UTC
*** Bug 120010 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2020-06-14 12:56:48 UTC
*** Bug 127449 has been marked as a duplicate of this bug. ***