[Libreoffice-bugs] [Bug 126635] New: FORMATTING: Writer doesn't break the line correctly after closing double quotation mark and semicolon

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 31 07:47:20 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126635

            Bug ID: 126635
           Summary: FORMATTING: Writer doesn't break the line correctly
                    after closing double quotation mark and semicolon
           Product: LibreOffice
           Version: 6.1.6.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: joaopauloag-freedesktop at yahoo.com.br

Description:
After ending a sentence with '“<reference to a heading>”;' (remove the single
quotation marks), the line is broken after the ending double quotation mark,
but before the semicolon (which becomes alone on the new line). The last word
inside the <reference to a heading> should go to the next line with the closing
quotation mark and the semicolon.

I created a sample PDF that shows the 1st sentence with the error and the 2nd
sentence shows how it should have been formatted by Writer.

I also attached the source ODT file for examining. The font used to format it
is Merriweather Sans, which can be obtained at
"https://www.fontsquirrel.com/fonts/merriweather-sans".


Steps to Reproduce:
1. Create some heading with several words. The last word should not have an
hyphen (for example it should be "word" and not "hyphenated-word").
2. Create a new paragraph and type some text. For example, it could be: This is
some text that goes before the cross-reference
3. Go to Menu Insert, Cross-reference, Cross-references, select the "Type"
"Headings", select the "Insert reference to" "Reference", select the created
heading and select the button "Insert".
4. Insert the intelligent quotation marks surrounding the cross-reference you
inserted.
5. Type ";" (without the quotation marks) after the closing curly quotation
mark. It should be like this: “This is the reference that will be used for the
test”;
6. If the line is not broken after the closing quotation mark (”) and before
the semicolon (;), type a few letters before the inserted cross-reference until
the line is broken incorrectly.

Actual Results:
The line is broken on the wrong place (after the closing quotation mark and
before the semicolon).

Expected Results:
The line break should go before the last word, which should go to the next line
along with the closing quotation mark and semicolon.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Tested with:

Version: 6.1.6.3
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: pt-BR (pt_BR); Calc: CL

Also tested with:

Versão: 6.2.5.2 (x64)
ID de compilação: 1ec314fa52f458adc18c4f025c545a4e8b22c159
Threads da CPU:8; SO:Windows 10.0; Realizador da interface: padrão; VCL: win; 
Local: pt-BR (pt_BR); Idioma de IU: pt-BR
Calc: threaded

Also tested with OpenGL enabled and disabled (it happens whether always).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190731/f084780d/attachment.html>


More information about the Libreoffice-bugs mailing list