Bug 157463 - French angle quotes AutoCorrect rule uses double quotation marks instead in French (France) paragraph
Summary: French angle quotes AutoCorrect rule uses double quotation marks instead in F...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2023-09-26 21:18 UTC by Stéphane Guillou (stragu)
Modified: 2023-10-03 08:23 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 Stéphane Guillou (stragu) 2023-09-26 21:18:45 UTC
Steps:
1. Check that the angle quotes rule is on in Tools > AutoCorrect > AutoCorrect Options... > Localized Options
2. Make language of paragraph or document French (France)
3. Write two consecutive less-than or greater-than signs followed by a space: << or >>

Result: left and right double quotation marks (“ and ”) are used respectively
Expected: left- and right-pointing double angle quotation (aka guillemets, « and ») are used respectively, as described in the Help page: https://help.libreoffice.org/24.2/en-US/text/shared/01/06040400.html

Note that the rule works as described if the text is in French (Swiss): the single angle quotes are used.

Reproduced in recent master build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 19e9fe7c8c89399753ac1730e1c76378b18418bc
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

It's the case since it was implemented for LO 4.2 (tested with linux-64-releases bibisect repo at libreoffice-4.2.0.0.beta1).
Comment 1 m_a_riosv 2023-09-26 22:01:41 UTC
Reproducible with:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5e9c8d21874eea8cb5adf2ecab1905295af2308f
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo

Works fine with Spanish(Spain), the replacement doesn't wait for the space.
BTW if not followed with a space, there is no substitution.
Comment 2 Stéphane Guillou (stragu) 2023-10-03 08:23:30 UTC
László, copying you in in case you are interested.