Bug 157892 - Spell-checking does not work (nix package)
Summary: Spell-checking does not work (nix package)
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://github.com/NixOS/nixpkgs/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 08:14 UTC by monochromec
Modified: 2023-11-01 09:07 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 monochromec 2023-10-23 08:14:32 UTC
Description:
#33944 (https://github.com/NixOS/nixpkgs/issues/33944) seems to have resurfaced again.

Perhaps a regression test issue?

Steps to Reproduce:
1. Install an English dictionary as outlined in the work-around of the issue
2. Misspell a word in a Writer document
3. No red underline indicated a misspelled word

Actual Results:
No red underline indicated a misspelled word

Expected Results:
Misspelled word underlined


Reproducible: Always


User Profile Reset: Yes

Additional Info:
A possible work-around for fixing this issue: Removing the extension folder from the Profile directory.

The issue doesn't surface in safe-mode / newly created profile.

More than happy to provide additional information as required.
Comment 1 Stéphane Guillou (stragu) 2023-10-23 08:41:40 UTC
(In reply to monochromec from comment #0)
> The issue doesn't surface in safe-mode / newly created profile.
So the issue is fixed with a profile reset and remains fixed afterwards?

Is the following what you see?

1. Install LO 7.6.2.1, try spellcheck: it does not work.
2. Install the missing dictionary as a workaround: it still does not work.
3. Remove the user profile to start fresh: spellcheck works from now on.
Comment 2 monochromec 2023-10-23 10:34:53 UTC
The steps I tried:

1. Invoke Writer with an existing profile -> doesn't work
2. Starting writer in Safe Mode -> works
3. Starting Writer normally but removing the extension directory -> works

Please note that the work-around only works for newly created documents; editing ones still exhibit the described issue. This also applies to Safe Mode where the issue can be reproduced with an existing document.
Comment 3 QA Administrators 2023-10-24 03:13:49 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2023-11-01 09:07:36 UTC
In https://github.com/NixOS/nixpkgs/issues/262764 You say "LO version is 7.6.0.3 running on OSX 14.0". However, you marked this report as Linux.

This is most likely an issue with how you use nix packages and not LibreOffice.

I just tested this on NixOS, adding to my systemPackages in /etc/nixos/configuration.nix:

hunspellDicts.en-us
hunspellDicts.en-us-large

and LibreOffice 7.6.2 spell checks English just fine.