Bug 114951 - Writer loses my dictionary
Summary: Writer loses my dictionary
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Dictionaries
  Show dependency treegraph
Reported: 2018-01-10 16:19 UTC by J22Gim
Modified: 2019-06-08 03:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Test file (1.10 MB, application/vnd.oasis.opendocument.text)
2018-01-24 12:23 UTC, J22Gim

Note You need to log in before you can comment on or make changes to this bug.
Description J22Gim 2018-01-10 16:19:49 UTC
Sometimes I open a random document to edit and I don't see other dictionary than English (default). Some other times, I have more dictionaries (which I installed without error messages). I don't know what could be the cause, and I can not reproduce it always. So I wanted to ask you guys what should I look for or what kind of information should I retrieve when it happens so it helps to debug.

Actual Results:  
Only the English (default) dictionary is available to choose.

Expected Results:
All installed dictionaries are available to choose from.

Reproducible: Sometimes

User Profile Reset: No

Additional Info:
Build ID: 1:5.4.4~rc2-0ubuntu0.14.04.1~lo1.1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Dieter 2018-01-14 17:11:28 UTC
Thank you for reporting the bug. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 2 J22Gim 2018-01-18 16:19:50 UTC
Yes, it happens exactly the same after reseting the user profile.

I also noted that sometimes Writer "remembers" that there is a dictionary installed just after I start typing in language other than the default (US English)

In some other ocassions, Writer doesnt seem to show the installed dictionary as option (neither in Tools->Language in the menu or in the "state bar" at the bottom of the document). The dictionary appear as installed in the Extension Manager at all times.
Comment 3 Timur 2018-01-23 16:53:46 UTC
If you can write reproducible steps, this can be tested.
If not, there's no point in having it open with some random issue.
Comment 4 J22Gim 2018-01-24 12:20:48 UTC
Try with the following attachment. It's very weird:

1. open the test file
2. put the cursor on the SECOND LINE.
3. check the language options (both by clicking the bottom bar or in Tools -> Options
4. I see two English options: English (UK) and English (USA)
5. Now put the cursor on the FIRST LINE.
6. Now I see three options! English (UK), English (USA) and... Frisian!!!!
Comment 5 J22Gim 2018-01-24 12:23:26 UTC
Created attachment 139328 [details]
Test file

Depending on when the cursor is located at, you get different language options.
Cursor @ Line 2: English (UK) and English (USA).
Cursor @ Line 1: English (UK), English (USA) and Frisian.
Comment 6 J22Gim 2018-01-24 12:24:40 UTC
Regarding the file: why would a 2-lines-of-text ODT file weight 1.1MB? Does it include the dictionaries?
Comment 7 Xisco Faulí 2018-01-25 09:59:20 UTC
I can't reproduce it in

ID de la construcció: 1:5.4.4~rc2-0ubuntu0.17.04.1~lo1
Fils de CPU: 4; SO: Linux 4.10; Renderitzador de la IU: per defecte; VCL: gtk3; 
Configuració local: ca-ES (ca_ES.UTF-8); Calc: grou

(In reply to J22Gim from comment #6)
> Regarding the file: why would a 2-lines-of-text ODT file weight 1.1MB? Does
> it include the dictionaries?

Could you explain how you created it ?
Comment 8 J22Gim 2018-01-25 13:44:11 UTC
Another test:
1. Open Writer and create a new file
2. write the following two lines:
001 fris

3. If my cursor is on the 1st line, the language options are English (USA) and ... Norwegian! ("Norwegian, Nynorsk")
4. But if my cursor is on the 2nd line, I only see English (USA) as language option!!

Build ID: 1:5.4.4~rc2-0ubuntu0.14.04.1~lo1.1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

Xisco Faulí, I can't remember how that one was created. But in the example below it is a new fresh simple ODT file.

Maybe Writer is trying to automatically detect the language based on the word? but is that how it should work, even if I obviously don't have any Norwegian dictionary add-in installed?
Comment 9 J22Gim 2018-02-28 00:39:26 UTC
Confirmed also with Version:
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 10 tommy27 2018-10-16 14:59:25 UTC
tell if issue persists in up-to-date LibO releases.
6.0.6 and 6.1.2 are available right now

Comment 11 QA Administrators 2019-05-08 17:31:05 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2019-06-08 03:06:42 UTC
Dear J22Gim,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team