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

            Bug ID: 167143
           Summary: The "Grammar By" column for user-defined dictionary
                    gets misaligned (24.8 regression)
           Product: LibreOffice
           Version: 24.8.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: possibleRegression
          Severity: normal
          Priority: medium
         Component: Linguistic
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ming.v....@qq.com
                CC: so...@libreoffice.org
            Blocks: 108728

Created attachment 201393
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201393&action=edit
Example Dictionary File

Description:

There is a "Grammar By" column in the user-defined dictionary. The idea, from
my simple understanding as a user, is that the user can assign a word already
in the dictionary for the user-added new word, so that the new word can have
the same inflection forms (such as plurals for nouns) as the "Grammar By" word.
 For example, if I add "New Yorker" to my dictionary, I can put "worker" in the
"Grammar By" field so that the spellchecker knows "New Yorkers" is just the
plural form of the word I just added.

Since 24.8, when I edit (or just view) my custom dictionary, the "Grammar By"
column is not aligned to their corresponding word anymore, and is instead all
aggregated to the top of the dictionary.  The functionality of spellchecking
based on custom dictionary doesn't seem to be affected.  I haven't tried adding
new words yet.

Steps to Reproduce:

1. Download the attached custom "Example.dic" file and place it in the
user/wordbook/ dictionary.  (Or alternatively, create a user-defined dictionary
and add these custom words.)

2. Open the Options dialog with "Tools > Options", then edit/view this
dictionary at "Languages and Locales > Writing Aids" page, by choosing "Example
[English (USA)]" in the "User-defined Dictionaries" and clicking "Edit..."
button.

Expected Result:

The "Chinese" entry in "Grammar By" column should correspond to "Shanghainese".
 The other two words have no "Grammar By" companions.

Actual Result:

"Chinese" goes to the "Huangpu" entry as it is the first word in the
dictionary. "Shanghainese" has no "Grammar By" word.

Version Information:

Bug seen in both 24.8 and 25.2.  Just reproduced with:
Version: 25.2.4.1 (X86_64) / LibreOffice Community
Build ID: 09303ce8b49f86f106fccd32b1324662053027cc
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default;
VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: CL threaded

Works fine in:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: ee3885777aa7032db5a9b65deec9457448a91162
CPU threads: 12; OS: Windows 10.0 Build 26100; UI render: Skia/Vulkan; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: CL threaded

So likely a regression in 24.8.

P.S.:

I am not a native speaker, and only an infrequent user of user-defined
dictionaries. I may be not using the correct terms.  Please ask for
clarifications if anything is unclear.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108728
[Bug 108728] [META] Dictionaries bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to