Bug 87652 - Automatic spell check does not work in the cell
Summary: Automatic spell check does not work in the cell
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Spell-Checking
  Show dependency treegraph
 
Reported: 2014-12-23 23:00 UTC by tagezi
Modified: 2023-05-10 12:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example of grammar check (13.14 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-12-23 23:00 UTC, tagezi
Details
example of grammar check (13.14 KB, application/vnd.oasis.opendocument.text)
2014-12-23 23:08 UTC, tagezi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tagezi 2014-12-23 23:00:02 UTC
Created attachment 111245 [details]
example of grammar check

Problem description: If a Calc document contains several languages, all correctly written words that are not belong to the language, which is set in the grammar check by default, will be marked as incorrect by red underlining, even if there was another language assigned to particular cells. 

Steps to reproduce:
1. Enter in A1 a word in a language set in the grammar check by default.
2. Enter in B1 a word in any other language.
3. Right-click on the B1 cell and select “Format Cells...”
4. Open a tab “Font” and select in drop-down list the language that was entered.
5. Click “Ok”.

Current behavior: The grammar check by default works. But the grammar check for any other language does not work. If you right-click on the cell where there was a word underlined with red, and then click anywhere on the sheet, the red underline disappears. But If you save the document, close and open it again, you see the red underline back.

Expected behavior: In my opinion, if a word is written right and the grammar check is set for this cell in a proper language, red underline should not appear regardless overall grammar check preferences.

There is an example in the attached file. The language of document is Russian. The word 'Русский' is written in the cell A1. The word English. Is written in the cell B1. And the word 'Español' is written in the cell C1. The cell style is selected as English for the B1 and as Spanish for the C1. But the words 'English' and 'Español' are marked with red underlining.
Comment 1 tagezi 2014-12-23 23:08:07 UTC
Created attachment 111246 [details]
example of grammar check
Comment 2 A (Andy) 2014-12-24 09:55:46 UTC
@Lera: I suppose you mean the spell check and not the grammar check.


Reproducible with LO 4.4.0.0.beta1 and 4.3.4.1 (Win 8.1).

My default language is German and I entered an English word "house".  Then I changed the language with right mouse click -> FORMAT CELLS as described, but the word is still red underlined.
The red underline only disappears if I select the cell and then go to the Input Line and make a left mouse click into it followed by a right mouse click into the Input Line and then click to any other cell.
-> Bug: If I change the language then it should no longer be red underlined.

After the red underline is no longer visible I saved the file and reopened it. 
Result: The red underline is again visible, but the changed language is still remembered by LO.
-> Bug: The red underline should not appear again.
Comment 3 tagezi 2014-12-25 07:12:08 UTC
(In reply to A (Andy) from comment #2)
> @Lera: I suppose you mean the spell check and not the grammar check.
Yes, you are right.

> -> Bug: If I change the language then it should no longer be red underlined.
> -> Bug: The red underline should not appear again.
Yes, it can be divided into two bugs. In my opinion, they are related. But perhaps, it requires a consultation of developers. If the developer is easy to solve this problem as two different, I may divide onto two bug reports.

There is discussion in the Russian community: http://forumooo.ru/index.php/topic,4635.msg28911
Comment 4 QA Administrators 2016-09-20 09:36:54 UTC Comment hidden (obsolete)
Comment 5 tagezi 2016-09-20 09:51:01 UTC
confirm on 

Version: 5.2.3.0.0+
ID: 4b7707bb8bcf0965d2d81f9c82672cb11829737f
OS: Linux 4.6;
local: ru-RU (ru_RU.UTF-8); Calc: group
Comment 6 Xisco Faulí 2017-09-29 08:51:21 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-12-03 14:28:00 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-12-03 04:33:32 UTC Comment hidden (obsolete)
Comment 9 ady 2023-05-10 12:59:53 UTC
I think this is no longer happening (tested in LO 7.4.6), but I would feel more confident to close it if someone else (preferably the reporter) would confirm it too.