Bug 123840 - Opening and closing quotation marks have different format from locale’s default when writing in Cyrillic
Summary: Opening and closing quotation marks have different format from locale’s defau...
Status: RESOLVED DUPLICATE of bug 139741
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-04 13:42 UTC by david.cortes.rivera
Modified: 2022-11-29 10:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
mismatched_quotes (1.61 KB, image/png)
2019-03-04 13:42 UTC, david.cortes.rivera
Details
quotation_settings (12.70 KB, image/png)
2019-03-05 08:15 UTC, david.cortes.rivera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david.cortes.rivera 2019-03-04 13:42:16 UTC
Created attachment 149715 [details]
mismatched_quotes

Not sure how to reproduce the bug, but oftentimes the (double) quotation marks that are written around words are in different formats (e.g. two curves above vs. two arrows alongside). Attached is a small example screenshot showing the mismatch. Both of these were inserted by typing the double quotes key (shhift + key next to colon/semicolon in a US english keyboard).
Comment 1 Dieter 2019-03-04 14:13:46 UTC
David, what are your settings for quotations at
Tools => AutoCorrect => AutoCorrectOptions => Localized Options

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested informations are provided.
Comment 2 david.cortes.rivera 2019-03-05 08:15:11 UTC
Created attachment 149731 [details]
quotation_settings
Comment 3 david.cortes.rivera 2019-03-05 08:15:59 UTC
They are set to the default - single quote at opening and closing for single quite, and double quote for opening and closing for double quote.
Comment 4 david.cortes.rivera 2019-03-05 08:21:08 UTC
I think I found how to reproduce the bug: it happens whenever the last letter of the word that is between quotes is from the cyrillic alphabet. This is regardless of whether the quotation mark is the latin or the cyrillic one (cyrillic looks like arrows).
Comment 5 Buovjaga 2019-07-14 16:14:12 UTC
I can't repro.

Roman: can you test?

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: 1ce1c26dd98e6477139e08d1ebe89fa950ff5fb0
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 12 July 2019
Comment 6 Roman Kuznetsov 2019-07-14 16:28:32 UTC
(In reply to Buovjaga from comment #5)
> I can't repro.
> 
> Roman: can you test?
> 
> Arch Linux 64-bit
> Version: 6.4.0.0.alpha0+
> Build ID: 1ce1c26dd98e6477139e08d1ebe89fa950ff5fb0
> CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
> Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
> Calc: threaded
> Built on 12 July 2019

I can repro this, but it's not a bug. 

English language has own quotes like ", but Russian (or other Cyrillic) language has own qoutes like ». And LO recognizes Cyrillic language and uses after it » quotes as part of Cyrillic word. (Look at status bar when text cursor is inside Cyrillic word).

David should select language for all paragraph as English if he wants use only " quotes.

Or he can use Tools->AutoCorrect->AutoCorrect options-> Localized options tab and try play with it.
Comment 7 david.cortes.rivera 2019-07-14 16:40:53 UTC
(In reply to Roman Kuznetsov from comment #6)
> (In reply to Buovjaga from comment #5)
> > I can't repro.
> > 
> > Roman: can you test?
> > 
> > Arch Linux 64-bit
> > Version: 6.4.0.0.alpha0+
> > Build ID: 1ce1c26dd98e6477139e08d1ebe89fa950ff5fb0
> > CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
> > Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
> > Calc: threaded
> > Built on 12 July 2019
> 
> I can repro this, but it's not a bug. 
> 
> English language has own quotes like ", but Russian (or other Cyrillic)
> language has own qoutes like ». And LO recognizes Cyrillic language and uses
> after it » quotes as part of Cyrillic word. (Look at status bar when text
> cursor is inside Cyrillic word).
> 
> David should select language for all paragraph as English if he wants use
> only " quotes.
> 
> Or he can use Tools->AutoCorrect->AutoCorrect options-> Localized options
> tab and try play with it.

But the thing is, by the time I write the closing quote character, I've already switched language to English, and if I were to write the same thing in a simple text editor or in MS office, it would show the English quote character (which is what I'm typing, Cyrillic one would be under a different key altogether).
Comment 8 Roman Kuznetsov 2019-07-14 16:43:42 UTC
(In reply to david.cortes.rivera from comment #7)
 
> But the thing is, by the time I write the closing quote character, I've
> already switched language to English, and if I were to write the same thing
> in a simple text editor or in MS office, it would show the English quote
> character (which is what I'm typing, Cyrillic one would be under a different
> key altogether).

Did you just toggle keyboard layout or did you select language for paragraph using Tools->Language->For paragraph inside LibreOffice?
Comment 9 david.cortes.rivera 2019-07-14 17:15:17 UTC
(In reply to Roman Kuznetsov from comment #8)
> (In reply to david.cortes.rivera from comment #7)
>  
> > But the thing is, by the time I write the closing quote character, I've
> > already switched language to English, and if I were to write the same thing
> > in a simple text editor or in MS office, it would show the English quote
> > character (which is what I'm typing, Cyrillic one would be under a different
> > key altogether).
> 
> Did you just toggle keyboard layout or did you select language for paragraph
> using Tools->Language->For paragraph inside LibreOffice?

I mean, I toggled keyboard layout. That is, I follow these steps:
- Write a few words in English.
- Open quoting parenthesis.
- Switch layout to Cyrillic.
- Write a word in Cyrillic, without any spaces before or after.
- Switch the layout back to English.
- Insert closing parenthesis.

In other software, I get an English closing quote when I do that.
Comment 10 Roman Kuznetsov 2019-07-14 17:38:01 UTC
Justin, Regina, what do you think about David's "problem"?
Comment 11 Regina Henschel 2019-07-14 18:42:45 UTC
If you use MS Word and switch the keyboard layout to a different language, then the next input in the document is in the new language. The language indicator in the status bar in the document switches immediately. If I do the same in LibreOffice, then the language does not change.

The language keeps the same in LibreOffice, independent of the setting of the option "Ignore system input language" in Tools > Language Settings > Languages. I consider it a bug. If the option "Ignore system input language" is off, switching the keyboard layout should switch language for following inputs in the document. Or, what is the purpose of that option?
Comment 12 Buovjaga 2019-07-15 07:55:06 UTC
There is bug 113298. In comment 1 of that report it is said that language detection based on input method / keyboard layout is supported on Windows. So has it broken on Windows recently?
Comment 13 Regina Henschel 2019-07-15 11:48:39 UTC
In my tests I see, that the initial language is wrong. And I see, that after switching the language, the status bar is not updated immediately, but you need to write a true character (not a space) to make the status bar update to the new language.

Tested with Version: 5.4.7.2 (x64)
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 8; OS: Windows 6.19; UI render: default; 
Locale: de-DE (en_US); Calc: CL

and with Version: 6.3.0.0.alpha1+ (x64)
Build ID: c74f633467e1cd272b8d0c285389bd855f3217a0
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-05-26_00:04:50
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 14 Mike Kaganski 2022-06-15 10:30:53 UTC

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