https://bugs.documentfoundation.org/show_bug.cgi?id=128659

            Bug ID: 128659
           Summary: Cannot add AutoCorrect entries once the
                    user/autocorr/acor_xx-XX.dat file is created
           Product: LibreOffice
           Version: 6.3.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Linguistic
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: m.balaba...@gmail.com
                CC: so...@libreoffice.org

Description:
Entries added in Tools > AutoCorrect > AutoCorrect Options... > Replace tab are
not saved after confirming the dialog if the acor_xx-XX.dat file for the
respective language already exists in user/autocorr.

Steps to Reproduce:
1. Open a new document in Writer.
2. Open Tools > AutoCorrect > AutoCorrect Options... > Replace.
3. Select a language for which there is still no acor_xx-XX.dat file in the
user folder; let’s say, for example, Afrikaans (Namibia).
4. Add one or more autocorrect entries by entering them and clicking the New
button.
5. Close the dialog with OK. An acor_af-NA.dat file is created in
user/autocorr.
6. Open Tools > AutoCorrect > AutoCorrect Options... > Replace again. Select
the same language. Your old entries are in the list.
7. Add some more entries. They appear in the list.
8. Close the dialog with OK.
9. Open Tools > AutoCorrect > AutoCorrect Options... > Replace once again.

Actual Results:
After step 9, only the entries from step 4 are in the UI list and in the .dat
file. The ones from step 7 are lost.

(Curiously, the timestamp of the file gets updated but the entries are not
added to DocumentList.xml.)

Expected Results:
All entries from steps 4 and 7 should be stored into the .dat file for the
language, appear in the list and be used for the AutoCorrect feature.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: bg-BG (bg_BG); UI-Language: en-US
Calc: threaded

Deleting the acor_xx-XX.dat file resets the bug (the above process can be
repeated from step 1).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to