Bug 88370

Summary: Hebrew Smart Quotes Behaviour Complex and Unconfigurable
Product: LibreOffice Reporter: Amir Adar <adar.amir>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: low    
Version: 4.5.0.0.alpha0+ Master   
Hardware: x86 (IA32)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=88270
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot of the problem

Description Amir Adar 2015-01-13 14:21:59 UTC
Setup:

* LibreOffice 4.5.0.0 (master) with Hebrew (CTL) support

* Smart quotes are on (check the checkbox in Tools > AutoCorrect Options... > Localised Options > Double Quotes > Replace).

* Linux Mint 17.1, 32-bit

Reproduce:

1. Create a new file.

2. Type a Hebrew sentence in quotes, without a full stop at the end (example: “האיש הולך הביתה").

3. Type another Hebrew sentence in quotes, with a full stop at the end (example: “האיש הולך לעבודה.”).

Expected Result:

In both cases, the quotation marks enclosing the Hebrew sentences should be curved according to the symbols picked in AutoCorrect options.

Actual Result:

In the first case, the last quote is not replaced with a curved quote, but remains as a “Gershayim” sign. In the second case, the quotes are both replaced correctly.

I believe the reason is that in Hebrew, Gershayim is used inside of acronyms (such as מנכ"ל, פלמ"ח), and that LibreOffice interprets placing a quote directly after a letter as necessarily writing an acronym. This behaviour is confusing and does not correspond to any setting invoked by the user. It can be a useful feature, but it has to be handled differently.
Comment 1 Amir Adar 2015-01-13 14:23:08 UTC
Created attachment 112169 [details]
Screenshot of the problem
Comment 2 Urmas 2015-01-13 15:44:05 UTC
What happens when you type some Hebrew letters before the quoted phrase?
Comment 3 Amir Adar 2015-01-13 16:25:39 UTC
When entering text before the quoted phrase, nothing changes. Afterwards, if I delete the first quotation mark and type in another, the "Gershayim" character is used instead of the curved quote.

The "Gershayim" character is also used if I insert Hebrew letters, return to the beginning of the line and type in a quotation mark.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.