Bug 116330 - AutoCorrect -- disable the replace "Single Quotes" localized option for the fr-CH locale by default
Summary: AutoCorrect -- disable the replace "Single Quotes" localized option for the f...
Status: RESOLVED DUPLICATE of bug 116062
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-10 09:04 UTC by MichaelB
Modified: 2018-03-11 19:35 UTC (History)
1 user (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 MichaelB 2018-03-10 09:04:40 UTC
Description:
On Writer/Draw/Impress with a swiss/french keyboard, the ' touch is now ‹
I didn't test with other keyboard.

Steps to Reproduce:
1. Open Writer/Draw/Impress  (Calc is ok)
2. Write a text (swiss/french keyboard) Example: L'oiseau (bird)
3. And see the result

Actual Results:  
l›oiseau

Expected Results:
L'oiseau


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 V Stuart Foote 2018-03-10 19:49:11 UTC
That is the autocorrect for your locale. <Esc> to revert, or disable Tools -> Autocorrect -> Autocorrect Options: Localized Options and either adjust the single quote replacement value, or unccheck the action.
Comment 2 MichaelB 2018-03-10 20:21:48 UTC
You totally right, i unchecked in Autocorrect Options like you explained and it work again. 

BUT why this behaviour by default?? In the old versions i didn't had this behaviour.

In french we use all the time this character ' (Apostrophe) 
The autocorrect do not have to be enable for this key by default! For me it is a bug. People that starting Libreoffice from 6.x will become crazy and stop use it. (if you don't know about this option, you cannot write a common and simple phrase in french).

I reopen this bug, i let you analyse my argument and choose to close again or investigate this problem.

Thanks
Comment 3 V Stuart Foote 2018-03-10 21:29:06 UTC
A keyboard apostrophe (U+0027) is default assigned as 'Start quote' within the GUI for Single quote replacement.

You can change that to be any keyboard character, allowing the apostrophe to be used as an apostrophe while typing if preferred--or as noted disable the autocorrect for the Single quotation marks.

Previously, the U+0027 would be changed to U+2018, so maybe not so noticeable while typing. 

But recent change was done for the Swiss locale (bug 105837 [1]) where all languages will now use U+2039 & U+203a pair for single quotes and U+00ab & U+00bb are the default double quotes pairs.

=-ref-=
[1] https://cgit.freedesktop.org/libreoffice/core/commit/?id=03d6a29d34e1c4e72ffa49ec3259eaf4059d9c60&h=libreoffice-6-0
Comment 4 MichaelB 2018-03-10 22:31:05 UTC
Thanks for your good explanation V Stuart Foote! But for fr_CH locale this commit is not correct in my sense.

How a user with Swiss French keyboard can write something like below without going in option to disable autocorrect? In all other text editor, ' (U+0027) still ' (U+0027) or may be (U+2018) and not become › (U+2039). It is not the same usage.


C'est vrai, l'hiver est terminé alors j'arrive demain. (correct)
|
C›est vrai, l›hiver est terminé alors j›arrive demain. (bad result)


Just a question, it is the same with english keyboard? When you write:

Don't do that! 

It become:

Don›t do that! ??
Comment 5 V Stuart Foote 2018-03-11 01:10:35 UTC
(In reply to MichaelB from comment #4)
> 
> Just a question, it is the same with english keyboard? When you write:
> 
> Don't do that! 
> 
> It become:
> 
> Don›t do that! ??

No, the autocorrect for en-US is set to U+2018 / U+2019 single, and U+201c / U+201d. So "Don't" would change to "Don‘t". 

But, while autocorrect is enabled by default, an autocorrection change to one of the "decorative" quotation marks is not common in US English word processing and U+0027, U+0022 suffices. But for some locales it is a very important feature to assure correct punctuation, regardless of keyboard support--hence the default autocorrect.

The autocorrect "Localized Options" tab's replacements facilitate that support--at the loss of use the single or double quote while typing. If you need the apostrophe, simply uncheck the autocorrect for the single quote. 

But, I guess a case could be made to do that by default for language localizations where a majority of users would benefit.
Comment 6 MichaelB 2018-03-11 10:02:00 UTC
For fr_CH keyboard, if by default the ' key is replaced by ‹ Libreoffice Writer/Draw/Impress is "unusable"... The apostrophe is a basic character that is used many times in a letter, and not ‹

It is good to have that option in menu, but not have to be enable by default for the fr_CH layout. The 99% of people (fr_CH) will want to write ' (apostrophe) and not ‹ in a text document. And if it is not working by default, they will think that Libreoffice is buggy, unusable and they will find another text editor because they will not go to ask or find a option somewhere.

Yes i think a special case could be made for fr_CH..
Comment 7 V Stuart Foote 2018-03-11 15:11:15 UTC
OK, can see where the new single quotation, ‹ (U+2039) › (U+203a), default autocorrect assignments while correct may disrupt Swiss francophonie. 

So let's unset the single quotation autocorrect checkbox default rather than revert to an incorrect quotation use.
Comment 8 Adolfo Jayme Barrientos 2018-03-11 19:35:55 UTC
The single guillemets were disabled again on 6.0.3.

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