Bug 76123 - red underline appears for cells using language setting 'none'
Summary: red underline appears for cells using language setting 'none'
Status: RESOLVED DUPLICATE of bug 86001
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.1.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-13 15:38 UTC by Daniel Szabo
Modified: 2017-05-05 22:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
different language settings for spell checking (14.52 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2014-03-14 10:14 UTC, Daniel Szabo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Szabo 2014-03-13 15:38:06 UTC
Text content of cells will always have a red underline even if the cell's language is set to 'None'

1. open a new spreadsheet
2. select all cells (ctrl+A)
3. format cells (ctrl+1), font, language -> set to '[none]', Ok
4. enter some incorrectly spelled text into the first cell and press enter
the cell's content won't be underlined
5. scroll the cell out of view (press page down), then back (press page up)
the cell's content will be underlined

Actually, when you have a large spreadsheet with textual data that is not supposed to be spelled correctly in any language, you can observe the spell checker in work as you scroll cells in/out of view. Every time when cells come back into view the spellchecker starts underlining everything.

This is a regression. LibO 3.6 did not do this.
Comment 1 Jean-Baptiste Faure 2014-03-13 20:49:21 UTC
It seems to me that the problem comes from that what you type in the cell is detected as text and if you look at the Number tab in the cell format dialog you can see that you do not have the choice [none] for the language. So your text has the default language. You can verify that correctly spelled words in the default language are not underlined.

Not sure if there is a bug there, and if there is a bug, where. ;-)

Best regards. JBF
Comment 2 Daniel Szabo 2014-03-14 10:13:47 UTC
First, this worked in 3.6 for sure. And works in AOO 4.1 too.
It's broken in LibO 4.2
I didn't check LibO 4.0-4.1.x because there were other issues that rendered LibO 4 unusable for me.
There must be some way to specify text not to be spell checked.

The language (locale) setting on the "Numbers" tab is used for formatting numbers/dates (that's why None is not applicable, there must be some formatting always) and is not related to the spell checking. At least it wasn't until now. So I think the bug is exactly that: LibO ignores the language setting on the "Font" tab.

Actually, spell checking seems to be totally messed up in 4.2.
- I entered the following into a cell "boat Schiff hajó" (boat in English, German and Hungarian)
- I set both Font/Language and Numbers/Language to "German (Germany)"
- My default language is Hungarian (so "Default - Hungarian" is listed in the Language combo boxes)
- While entering the text (press F2 on the cell, move the cursor, then press enter) "boat" and "hajó" will be underlined: correct
- Then I scroll the cell out of view then back in (page down/page up) and "boat" will be underlined, "hajó" won't: incorrect

In the attached spreadsheet there are several other cells too:
- boat, Schiff, hajó, xx using language setting English/German/Hungarian/None for both Font/Numbers (Default for Numbers in the last case)
- Scrolling the cells out of view then back "boat" and "xx" will be underlined.
(Once again, the default is Hungarian on this machine).
Comment 3 Daniel Szabo 2014-03-14 10:14:45 UTC
Created attachment 95790 [details]
different language settings for spell checking
Comment 4 A (Andy) 2014-03-14 22:58:10 UTC
I agree with Daniel.  This is for me a bug.

reproducible with LO 4.2.1.1 (Win 8.1)

You can also do another test, if you change the CATEGORY in the NUMBERS tab from Numbers to Text.  Then you type a misspelled word and afterwards you scroll down and up.  Result is that the misspelled word gets underlined after scrolling up (this should also not happen with Numbers as CATEGORY in the NUMBERS tab).
If you have changed the language in the FONT tab to None, then I expect no spell check and thus no underlining.
Comment 5 Joel Madero 2015-05-02 15:41:35 UTC Comment hidden (obsolete)
Comment 6 Daniel Szabo 2015-05-03 15:46:20 UTC
Still a bug as of version 4.4.2.2

This is a regression. LibO 3.6 did not do this.
Comment 7 QA Administrators 2016-09-20 09:37:25 UTC Comment hidden (obsolete)
Comment 8 Daniel Szabo 2016-09-20 10:23:11 UTC
Still a bug in Version: 5.2.1.2

I'm afraid it won't go away without actually fixing it, no matter how many times you ask.
Comment 9 Tristan Miller 2017-01-22 13:39:44 UTC
Possible duplicate: Bug 86001.
Comment 10 Kohei Yoshida 2017-05-05 22:54:05 UTC

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