Bug 145992 - missing hyphenation for locale "ja-JP"
Summary: missing hyphenation for locale "ja-JP"
Status: CLOSED DUPLICATE of bug 143422
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-01 15:25 UTC by Ben.Engbers@Be-Logical.nl
Modified: 2021-12-06 16:05 UTC (History)
3 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 Ben.Engbers@Be-Logical.nl 2021-12-01 15:25:10 UTC
Description:
I use LibreOffice writer 7.2.2.2 (Dutch locale) which was installed when updating to Fedora 35.
I use LibreOffice writer often for writing Dutch texts with lots of Japanese texts inserted. Since the update, LO-writer crashes quite regularly when writing Japanese. 
When I have to recover LO-writer after such a crash, I often get this message at the top of LO-writer 'Ontbrekende afbreek gegevens. Gelieve het pakket voor afbrekingen te installeren voor de locale "ja-JP"'.
I saw the same message in earlier versions of LO-Writer.

To my knowledge Japanese has no hyphenation. Is it possible that this missing hypenation-routine causes the crashes?

Steps to Reproduce:
1. Insert Japanese into a text and start using the asiatic phonetic guide to insert Furigana.
2.
3.

Actual Results:
LO-writer crashes

Expected Results:
Nothing special


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
None
Comment 1 Julien Nabet 2021-12-01 20:50:58 UTC
Eike: do you think https://cgit.freedesktop.org/libreoffice/core/commit/?id=64f885a6c9d51999b737c0f61bc3a7fa311a5a94 
Fix lang::Locale.Language usage, tdf#128191 follow-up
Using plain lang::Locale.Language is always wrong, it may even be
'qlt' for a more complex language tag. As the InfoBar message is
"Please install the hyphenation package for locale “%1”."
actually use the BCP 47 language tag of that character/paragraph
attribution.

may help here from LO 7.3.0 ?
Comment 2 Eike Rathke 2021-12-06 16:05:46 UTC
No, it's unrelated, that's only for how the message is displayed, using the complete language tag and not just the lang::Locale::Language code. It was also already backported to 7-2 and 7-1. (and is the reason why 'ja-JP' is displayed and not just 'ja').

I'd also say the hyphenation Infobar being displayed is unrelated to a crash and that's just coincidence. So, if this bug here is about that Infobar then it's a duplicate of bug 143422.

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