Bug 90159

Summary: autocorrect lists disappeared
Product: LibreOffice Reporter: jchwenger <jeremie.wenger>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: serval2412
Priority: medium    
Version: 4.4.1.2 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: autocorrect printscren

Description jchwenger 2015-03-22 15:07:24 UTC
Created attachment 114247 [details]
autocorrect printscren

Hi all,

I hope I'm not asking this question pointlessly, I tried to search for an answer first and couldn't find any.

I'm using LibreOffice 4.4.1.2. on Windows 7 with USA English. The problem was found in Writer.

I had a first weird experience typing something with a UK English spellcheck, and having an 'i' not corrected into an 'I'. I checked and the autocorrect list was empty, even though I had downloaded the whole package of dictionaries, etc. I tried the USA autocorrect list, it was there, I carried on typing. However, when it didn't correct 'i'm' into 'I'm' I decided I would add it to the list: when I did that, the program crashed, and when I opened it again, the entire autocorrect list had vanished (both for USA and UK English).

I then downloaded some other dictionary (I found one called 'UK English, OED spelling'), and the same thing happened again: it worked ok until I wanted to add something to it, which made the program crash and all the autocorrect options vanish.

I did try to have LibreOffice ignore system language as well as not, and tried a reboot, it didn't change a thing. I would have downloaded again the language package thing, but it seems to be integrated into the program itself. I then tried to uninstall/reinstall libreoffice, but I guess the files haven't been changed, and so even with the new version I'm still stuck without autocorrect.

Thanks for your help. Jeremie
Comment 1 Julien Nabet 2015-03-22 15:39:21 UTC
For the test, could you rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#Windows) and give a new try?
Comment 2 jchwenger 2015-03-22 18:20:48 UTC
Thanks for your answer. So I tried go to %appdata%\libreoffice\4\user, and changed the name of the folder '4' into '3', reopened writer: it recreated a new folder named '4' next to '3', but the autocorrect lists are still missing (for English only, btw, I had installed German, Italian, and French dictionaries, and those are still there, and I can add stuff to the list and the program won't crash).
Comment 3 jchwenger 2015-03-22 19:07:35 UTC
I went and searched in the user profile: the new one that was automatically created by the program does not contain the autocorr folder. In the previous one I had, the folder exists, but is empty. I tried and download a file called acor_en-US.dat online and put it in there, but it didn't have any noticeable effect.
Comment 4 Julien Nabet 2015-03-22 19:41:22 UTC
If you're ready to test dev releases, you can give a try to daily build from 4.4 branch here:
http://dev-builds.libreoffice.org/daily/libreoffice-4-4/
Indeed, http://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=autocorrect shows that a crash have been fixed lately.

If you prefer mature LO version, give a try to 4.3.6.

In both cases, uninstall your LO version, remove your LO directory profile and install from official website, ie https://www.libreoffice.org/download
Comment 5 jchwenger 2015-03-22 20:04:32 UTC
Great, thanks loads, I went back to the previous version and it works all fine! Best J
Comment 6 Julien Nabet 2015-03-22 20:08:17 UTC
Thank you for your feedback.

just nitpicking: since there's no specific fix, let's put this one to WFM.