Bug 128485 - kspell configuration dialog in kcontrol misses dictionaries in dictinary list
Summary: kspell configuration dialog in kcontrol misses dictionaries in dictinary list
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kspell (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
: 128514 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-02 10:47 UTC by Allis
Modified: 2023-01-06 05:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allis 2006-06-02 10:47:56 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
OS:                Linux

The problem is:
After some manipulations with packages on my system i've noticed, that dictionary list in kspell config dialog contains only default dictionaries for each of installed spellcheckers. I've search in bugtrackers and the net alot and found, similar bugs... fixed ones =) But thouse fixes didn't help me, so, having them in mind, i started to search the kde sources...
Luckily, I found the problem and even temporarily solved it, but i think it should be solved in the sources.
So, that is what i found:

<from kdelibs-3.5.2 package. file -- configure.in>
   aspell_datadir="/usr/lib/aspell"
   if test -f "/usr/bin/pspell-config"; then
      aspell_datadir=`/usr/bin/pspell-config --pkgdatadir` <<<THIS IS WRONG
   fi

And that is what </usr/bin/pspell-config --pkgdatadir> returns:
/usr/share/aspell

All is right, it IS aspell datadir, but later, in <kdelibs/kdeui/ksconfig.cpp> this <aspell_datadir> variable is used as directory to search for dictionaries. And this is WRONG, because aspell dictionaries are in </usr/lib/aspell>. If you reffer to the aspell config file (or it's builtin default configuration), you'll notice, that there is two directory options: <dict-dir> and <data-dir>. Evidently, you need the first one, not the second.

Solution:
The "trick" is: you need to use <aspell> with <config [option]> command instead of <pspell-config>

<in kdelibs package. file -- configure.in>
   aspell_datadir="/usr/lib/aspell"
   if test -f "/usr/bin/aspell"; then
      aspell_datadir=`/usr/bin/aspell config dict-dir` <<<THIS IS RIGHT
   fi
Comment 1 Thomas McGuire 2007-07-12 23:47:39 UTC
*** Bug 128514 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Crouthamel 2018-11-02 04:18:39 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-16 02:42:50 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2022-12-07 00:23:44 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-12-22 05:18:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-06 05:22:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!