Bug 129986 - Spellchecker works & suggests corrections for RTL text, but wavy line indicators missing
Summary: Spellchecker works & suggests corrections for RTL text, but wavy line indicat...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
6.4.0.1 rc
Hardware: All Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: text:rtl
: 134269 (view as bug list)
Depends on:
Blocks: RTL-UI
  Show dependency treegraph
 
Reported: 2020-01-13 18:43 UTC by David von Tamar
Modified: 2024-08-03 08:14 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
The same screenshot image as in the reddit thread. (14.04 KB, image/png)
2020-01-13 18:46 UTC, David von Tamar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David von Tamar 2020-01-13 18:43:20 UTC
Description:
The bug occurs only with RTL languages. I don't see the wavy red underline that should mark the misspelled words. However, the spellchecker detects that words are misspelled and suggests appropriate corrections when right-clicking to see the context menu.

Steps to Reproduce:
1. Enable automatic spellchecking, and set the correct language for the paragraph.
2. Write something misspelled in Hebrew or Arabic (should be RTL language). 
3. For comparison, repeat the same for English, or any other LTR language.

Actual Results:
RTL misspellings are detected, but a red wavy underline marking is not shown. Context menu offers appropriate corrections.

LTR misspellings are detected, and a red wavy underline marking is shown. Context menu offers appropriate corrections.

Expected Results:
Both RTL and LTR misspellings marked by a red wavy underline.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
OS: Debian Sid

Writer version: 6.4.0.2 from the Sid distribution.

OpenCL is disabled.

Resetting UserProfile did not help.

Turning on/off hardware acceleration, and/or anti-aliasing, did not affect the problem. 

Turning on/off automatic spell checking did not not affect the problem.

Changing fonts, or text alignment (logical or visual) does not affect the problem.

Tested with: English, French, Russian, Greek, Hebrew and Arabic. Only Hebrew and Arabic reproduce the bug since they're RTL (unlike the rest which are LTR).

Using Hunspell with the matching dictionaries from Debian.

For a screenshot image, see the thread on Reddit in the following link:
https://www.reddit.com/r/libreoffice/comments/enmyv0/spellcheckers_red_wavy_underline_doesnt_show_up/
Comment 1 David von Tamar 2020-01-13 18:46:00 UTC
Created attachment 157130 [details]
The same screenshot image as in the reddit thread.

This is the same screenshot as I posted on reddit, which perfectly describes the problem.
Comment 2 Lior Kaplan 2020-02-05 15:09:43 UTC
Works in Version: 6.3.4.2 from Debian testing.
Reproduced this issue after upgrading to Version: 6.4.0.3 (from Debian testing as well).
Comment 3 eladhen2 2020-03-04 07:26:50 UTC
Reproduced in 6.4.1.2 from flathub
Comment 4 Alan G. 2020-05-12 12:33:53 UTC
Reproduced in LibreOffice Writer 6.4.2-0ubuntu3 with hunspell-he on Ubuntu 20.04.
Comment 5 Amiad 2020-06-15 17:49:43 UTC
Reproduced in LibreOffice Writer 6.4.4.2 with hunspell on Arch Linux.
Comment 6 Maxim Monastirsky 2020-06-24 07:35:32 UTC
*** Bug 134269 has been marked as a duplicate of this bug. ***
Comment 7 Fahad Al-Saidi 2020-06-27 16:09:59 UTC
languagetool 5.0 add Arabic grammar checking I am exited to try it in Libreoffice
Comment 8 ⁨خالد حسني⁩ 2023-06-06 16:48:00 UTC
This happens when the text language isn’t correctly set or relevant spell dictionary is not installed. If I set the language to Arabic for the Arabic text the  wavy line shows up.

If this is not the case for you, please attach a file to reproduce.