Bug 137330 - Autocorrect Exceptions tab's empty for all languages.
Summary: Autocorrect Exceptions tab's empty for all languages.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-08 10:45 UTC by UltraBurstXD
Modified: 2021-04-14 07:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Empty Exceptions report (2.75 MB, image/gif)
2020-10-08 13:44 UTC, UltraBurstXD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description UltraBurstXD 2020-10-08 10:45:11 UTC
Description:
I've noticed since I upgraded to LibreOffice 7.0.1 and above, that Tools -> AutoCorrect -> AutoCorrect Options... -> Tab: Exeptions is empty. The packages are still delivered:

<?xml version="1.0"?>
<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list">
  <block-list:block block-list:abbreviated-name="CDs"/>
  <block-list:block block-list:abbreviated-name="GHz"/>
  <block-list:block block-list:abbreviated-name="ICs"/>
  <block-list:block block-list:abbreviated-name="LPs"/>
  <block-list:block block-list:abbreviated-name="MCs"/>
  <block-list:block block-list:abbreviated-name="MHz"/>
  <block-list:block block-list:abbreviated-name="OOo"/>
  <block-list:block block-list:abbreviated-name="PCs"/>
  <block-list:block block-list:abbreviated-name="THz"/>
  <block-list:block block-list:abbreviated-name="TVs"/>
</block-list:block-list>

But not shown nor available

Steps to Reproduce:
1.Tools -> AutoCorrect -> AutoCorrect Options... -> Tab: Exeptions
2.
3.

Actual Results:
Exceptions tab's empty

Expected Results:
It should show exceptions like earlier versions.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Exceptions

Specify the abbreviations or letter combinations that you do not want LibreOffice to correct automatically.

The exceptions that you define depend on the current language setting. If you want, you can change the language setting by selecting a different language in the Replacements and exceptions for language box.

To access this command...

Choose Tools - AutoCorrect - AutoCorrect Options - Exceptions tab.

Replacements and exceptions for language:

Select the language for which you want to create or edit the replacement rules. LibreOffice first searches for exceptions that are defined for the language at the current cursor position in the document, and then searches the remaining languages.
Abbreviations (no subsequent capital)

Type an abbreviation followed by a period, and then click New. This prevents LibreOffice from automatically capitalizing the first letter of the word that comes after the period at the end of the abbreviation.

Lists the abbreviations that are not automatically corrected. To remove an item from the list, select the item, and then click Delete.
Words with TWo INitial CApitals

Type the word or abbreviation that starts with two capital letters that you do not want LibreOffice to change to one initial capital. For example, enter PC to prevent LibreOffice from changing PC to Pc.

Lists the words or abbreviations that start with two initial capitals that are not automatically corrected. All words which start with two capital letters are listed in the field. To remove an item from the list, select the item, and then click Delete.
New

Adds the current entry to the list of exceptions.
Delete

Deletes the selected element or elements without requiring confirmation.
AutoInclude

Automatically adds abbreviations or words that start with two capital letters to the corresponding list of exceptions. This feature only works if the Correct TWo INitial CApitals option or the Capitalize first letter of every sentence option are selected in the [T] column onOptions tab of this dialog.
Dialog Buttons
Reset

Resets modified values back to the tab page previous values.
Cancel

Closes dialog and discards all changes.
OK

Saves all changes and closes dialog.
Comment 1 UltraBurstXD 2020-10-08 13:44:10 UTC
Created attachment 166194 [details]
Empty Exceptions report

Autocorrect Exceptions tab is empty.
Comment 2 [REDACTED] 2020-10-08 13:59:57 UTC
Repro on

Version: 7.0.2.2,Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US,Calc: threaded

See also ask site https://ask.libreoffice.org/en/question/270072/autocorrect-options-exceptions-empty/

Additional info:

"unzip -p /opt/libreoffice7.0/share/autocorr/acor_en-US.dat SentenceExceptList.xml | xmlstarlet fo" shows that there are data in the delivered packages, which are not shown in the dialog.

"unzip -p /opt/libreoffice7.0/share/autocorr/acor_en-US.dat WordExceptList.xml | xmlstarlet fo" shows that there are data in the delivered packages, which are not shown in the dialog.
Comment 3 Marek 2020-10-14 08:42:14 UTC
It is possible to enter the exceptions manually or automatically as you type and ctrl+z capitalization but the list is always reverted to empty every time you restart LibreOffice. As far as I can remember there was such a bug or at least similar in much earlier instances of LO. It seams to be an annoying regression of the suite.
Comment 4 [REDACTED] 2020-11-07 13:47:19 UTC
Repro on 

Version: 7.0.3.1, Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US, Calc: threaded
Comment 5 Julien Nabet 2021-01-17 18:05:14 UTC
On pc Debian x86-64 testing with LO Debian package 7.0.4.2, I don't reproduce this with English or French UI (gtk3 or kf5 rendering).

How did you install LO? (from package repository or from deb/rpm of TDF?)

Do you still reproduce this with LO 7.0.4?
Comment 6 UltraBurstXD 2021-01-18 08:18:29 UTC
(In reply to Julien Nabet from comment #5)
> On pc Debian x86-64 testing with LO Debian package 7.0.4.2, I don't
> reproduce this with English or French UI (gtk3 or kf5 rendering).
> 
> How did you install LO? (from package repository or from deb/rpm of TDF?)
> 
> Do you still reproduce this with LO 7.0.4?

Well, both my distro's repo package and deb/rpm of TDF has the same issue. BTW, I'm using 7.0.3 (currently waiting for update from repository, which is too slow...). It's likely will arrive in next week, I think. And, I used to install LO from TDF, but because of some issues now I use the distro's repo packages.
Comment 7 QA Administrators 2021-01-19 04:12:03 UTC Comment hidden (obsolete)
Comment 8 Julien Nabet 2021-04-14 07:11:53 UTC
Thank you for your feedback.
Let's rather put WFM since there was no specific fix about this one.