https://issues.apache.org/ooo/show_bug.cgi?id=123609

            Bug ID: 123609
        Issue Type: DEFECT
           Summary: Editing custom wordbook causes corruption
           Product: Writer
           Version: 4.0.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: editing
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Problem description: 

Deleting words from your custom wordbook corrupts your custom wordbook (file
"standard.dic" in user-folder "wordbook").

Steps to reproduce:

1. Start with an empty wordbook -> empty user-folder "wordbook" or a
"standard.dic" file that just contains the default entry:

OOoUserDict1
lang: <none>
type: positive
---

2. Open writer and type in the three words "herxherx" "hirxhirx" "harxharx"

3. Add the three words to your custom wordbook (right-click on each and choose
"Add" -> "standard.dic")

4. Now your "standard.dic" file should look like this:

OOoUserDict1
lang: <none>
type: positive
---
harxharx
herxherx
hirxhirx

5.1 Go to "Tools -> Options -> Language Settings -> Writing Aids ->
User-defined dictionaries
-> "standard [All]" -> Edit", delete the first entry (harxharx), then click
"close", then click "OK" (closing the Options-Menu) then close Writer

5.1.1 Your wordbook entry now looks like this (last entry doubled):

OOoUserDict1
lang: <none>
type: positive
---
herxherx
hirxhirx
hirxhirx

Reset your wordbook, so it contains "harxharx" "herxherx" "hirxhirx" again.

5.2 Go to "Tools -> Options -> Language Settings -> Writing Aids ->
User-defined dictionaries
-> "standard [All]" -> Edit", delete the second entry (herxherx), then click
"close", then click "OK" (closing the Options-Menu) then close Writer

5.2.1 Your wordbook entry now looks like this (last entry doubled):

OOoUserDict1
lang: <none>
type: positive
---
harxharx
hirxhirx
hirxhirx

Reset your wordbook, so it contains "harxharx" "herxherx" "hirxhirx" again.

5.3 Go to "Tools -> Options -> Language Settings -> Writing Aids ->
User-defined dictionaries
-> "standard [All]" -> Edit", delete the last entry (hirxhirx), then click
"close", then click "OK" (closing the Options-Menu) then close Writer

5.3.1 Your wordbook entry now looks like this (nothing got deleted):

OOoUserDict1
lang: <none>
type: positive
---
harxharx
herxherx
hirxhirx

Current behavior:

Deleting an entry (expect last) doubles last entry; deleting last entry is not
working.

Expected behavior:

Deleting "harxharx" should result in:

OOoUserDict1
lang: <none>
type: positive
---
herxherx
hirxhirx

Deleting "herxherx" should result in:

OOoUserDict1
lang: <none>
type: positive
---
harxharx
hirxhirx

Deleting "hirxhirx" should result in:

OOoUserDict1
lang: <none>
type: positive
---
harxharx
herxherx

Operating System: Windows XP SP3
OpenOffice Version: 4.0.1


PS: This issue was already reported and fixed in the "Libre Office" branch with
LO bug 42122 / 65922 with the resulting and then also fixed LO bug 66420. see:

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=65992

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=42122

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=66420

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to