[Libreoffice-bugs] [Bug 141384] New: Missing hyphenation data for installed language after Writer crash and document recovery

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 31 12:39:25 UTC 2021


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

            Bug ID: 141384
           Summary: Missing hyphenation data for installed language after
                    Writer crash and document recovery
           Product: LibreOffice
           Version: 7.0.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: page74010-sf at yahoo.fr

Created attachment 170855
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170855&action=edit
Recovered document issuing "Missing hyphenation data"

Working on https://ask.libreoffice.org/en/question/286107, I tried to reproduce
the "Missing hyphenation data" error for a document which was never stored on
Google Docs as one user complained.

I created a small document with a paragraph typed Italian (it_IT) in its style
definition and another one in French (fr_FR). I have the French language pack
installed  but not the Italian one.

Despite all my efforts, I could not reproduce the error. I noticed however
after adjusting indents to cause hyphenation (enabled in style definitions)
that hyphenation did not occur. Words were divided but not as grammar would
tell, suggesting the hyphenation engine was not active.

I checked my package manager for possible missing package but hunspell,
hyphenation for French and French language pack were all ther.

Coming back to the document I started to change wildly Tools>Options>Language
Settings and to observe the effects.

Suddenly, Writer crashed. I don't remember which setting I was playing with at
this moment.

I restarted Writer which offered to recover the document. Yes. As soon the
recovered document was opened, "Missing hyphenation data fr"! I saved the
document as .fodt and looked for "fr".

All styles and paragraphs were tagged fo:language="fr" fo:country:"FR" except
one with "it" and "IT". I changed "fr" to "fr_FR" (perfectly aware it is wrong)
and reopened in Writer. This time message was "Missing hyphenation data it" as
expected.

Back to the .fodt, I reverted "fr_FR" to "fr" and message became "Missing
hyphenation data fr".

In the .odt, I disabled auto-hyphenation in paragraph style definitions and
changed it_IT language for the first paragraph to fr_FR. On reopen, I still get
"Missing hyphenation data fr".

Not being versed in XML encoding, I attach the .odt document but it is a bit
different from the one just recovered.

This bug report was initially a comment in bug 137742. Made an original bug
report on Eike Rathke's suggestion.

-- 
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/20210331/21c5ce61/attachment.htm>


More information about the Libreoffice-bugs mailing list