Bug 155860 - Languagetool does not work in Libreoffice 7.5.4 anymore, in Libreoffice 7.5.3 it does work
Summary: Languagetool does not work in Libreoffice 7.5.4 anymore, in Libreoffice 7.5.3...
Status: RESOLVED DUPLICATE of bug 155647
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-06-15 19:20 UTC by Pachnes
Modified: 2023-06-21 08:30 UTC (History)
2 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 Pachnes 2023-06-15 19:20:09 UTC
Description:
Languagetool for german does not work in Libreoffice 7.5.4 anymore, in Libreoffice 7.5.3 it does work. I use Java "Microsoft OpenJDK".

Actual Results:
Install Microsoft Java OpenJDK Version 11.x.x or Version 17.x.x,
Install Libreoffice 7.5.4,
Open Libreoffice writer, write some german words with typos. 
In Libreoffice Version 7.5.4 the typos are not detected, in Libreoffice Version 7.5.3 the typos are detected.


Expected Results:
the typos in are not detected in Libreoffice writer 7.5.4


Reproducible: Always


User Profile Reset: Yes

Additional Info:
the typos should have been detected in Libreoffice 7.5.4 too, not only in Libreoffice 7.5.3.
Comment 1 Stéphane Guillou (stragu) 2023-06-19 07:35:10 UTC
Are you using the languageTool integration as described here https://languagetool.org/insights/post/product-libreoffice/#how-to-enable-languagetool-on-libreoffice ? Or the extension ?

Please also share the information copied from Help > About LibreOffice.

Thank you!
Comment 2 Pachnes 2023-06-19 15:55:57 UTC
yes, I use the new possibiöty, to configure languagetool.
Comment 3 QA Administrators 2023-06-20 03:13:34 UTC Comment hidden (obsolete)
Comment 4 Escuelas Linux 2023-06-20 17:23:55 UTC
I can confirm this issue on LibreOffice 7.5.4.2 on Linux 64-bit. 

This bug is exactly as described by Pachnes: "In Libreoffice Version 7.5.4 the LanguageTool typos are not detected, in Libreoffice Version 7.5.3 the typos are detected." Tested in my case using Spanish and English languages.

I'm using the LanguageTool extension 6.0, and IBM Java 8.
Comment 5 Escuelas Linux 2023-06-20 17:40:55 UTC
Could this bug be an unintended effect of a recent change introduced in LibreOffice 7.5.4 related to LanguageTool?

https://bugs.documentfoundation.org/show_bug.cgi?id=155232
Comment 6 Escuelas Linux 2023-06-20 17:43:32 UTC
Bug 155232: LibreOffice and LanguageTool extension: LibreOffice doesn't free RAM for special interface XFlatParagraph
Comment 7 Stéphane Guillou (stragu) 2023-06-20 21:41:51 UTC
You're correct, Escuelas.

Bibisected the issue with the linux-64-7.6 repository to first bad commit 1f609dc20ac9371ced72ccde31304bfeec5f6585 which points to core commit:

commit a7ce722b476c4bb0c9a113ae0c2759181edfe48f
author	Mike Kaganski <mike.kaganski@collabora.com>	Fri May 12 23:05:33 2023 +0300
committer	Mike Kaganski <mike.kaganski@collabora.com>	Sat May 13 07:23:36 2023 +0200
tdf#155232: drop m_aFlatParaList from SwXFlatParagraphIterator
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151712

... which made it into 7.5.4 with cherrypick 193c0f20fc1f8f836ebdabac0d8a1065162653a7.

I tested with English (USA), the feature stopped working at that commit.

Mike, can you please have a look?
Comment 8 Mike Kaganski 2023-06-21 04:11:52 UTC
Please look for the commit you identify, not only in open bugs, but also in fixed.

*** This bug has been marked as a duplicate of bug 155647 ***
Comment 9 Stéphane Guillou (stragu) 2023-06-21 08:30:48 UTC
Thanks, Mike.