Bug 527315 - Custom Dictionary does not work in Enchant
Summary: Custom Dictionary does not work in Enchant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: enchant
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marc Maurer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 584524 (view as bug list)
Depends On:
Blocks: F13Target
TreeView+ depends on / blocked
 
Reported: 2009-10-05 22:48 UTC by Dmytro Taranovsky
Modified: 2010-04-21 23:06 UTC (History)
4 users (show)

Fixed In Version: enchant-1.6.0-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-21 02:23:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dmytro Taranovsky 2009-10-05 22:48:26 UTC
Steps to reproduce:
In an application such as gedit, evolution, or abiword (they use Enchant),  add a word to the spell-check dictionary.  Close the application and reopen it, and that word will continue to be marked as a spelling error.

My analysis has shown that the word gets added to the custom dictionary, but that when the application starts again, it calls
open("/home/dmytro/.config/enchant/en_US.dic", O_WRONLY|O_CREAT|O_TRUNC, 0666)
and thus erasing all words from the dictionary.

Comment 1 Miloš Komarčević 2009-11-11 22:34:20 UTC
I can confirm this as well with latest Rawhide. It's very annoying, lost my dictionary I was building up until F11.

Comment 2 Miloš Komarčević 2009-11-12 18:36:21 UTC
Had a look through AbiSource repos and BZ and found the patch that fixes this:

http://www.abisource.com/viewvc?view=rev&revision=28175
http://bugzilla.abisource.com/show_bug.cgi?id=12350

Could we have this backported and packaged for F12 updates asap please?

Comment 3 Bug Zapper 2009-11-16 13:17:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bojan Smojver 2009-12-02 23:51:26 UTC
I see this with Evo 2.28.

Comment 5 Miloš Komarčević 2009-12-18 15:24:40 UTC
Wow, more than two months. And here I was thinking data loss was an issue Fedora QA takes seriously... Anybody reading these at all?

Meanwhile, bug #544473 does manage to attract maintainer's attention?! What gives?

Comment 6 Dmytro Taranovsky 2010-03-27 18:19:32 UTC
This bug is also present in the Fedora 13 development branch -- I tested with the desktop nightly compose from 20100326.  Adding to Fedora 13 target to increase visibility.

Comment 7 Fedora Update System 2010-04-01 22:09:54 UTC
enchant-1.6.0-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/enchant-1.6.0-1.fc12

Comment 8 Marc Maurer 2010-04-01 22:12:15 UTC
Fixed by releasing enchant 1.6.0 and pushing the updated version to F12-updates-testing, F13-updates-testing, and rawhide. Please test and approve if it works for you.

Comment 9 Dmytro Taranovsky 2010-04-02 04:26:24 UTC
I installed the fc13 build (from koji) and it fixes the bug for me (I did not not test the fc12 build, but I expect that it would work as well).

Comment 10 Fedora Update System 2010-04-03 04:43:27 UTC
enchant-1.6.0-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update enchant'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/enchant-1.6.0-1.fc12

Comment 11 Fedora Update System 2010-04-21 02:23:17 UTC
enchant-1.6.0-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Kevin Kofler 2010-04-21 23:06:01 UTC
*** Bug 584524 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.