Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147568 - Aspell can not switch dictionary on KDE apps
Summary: Aspell can not switch dictionary on KDE apps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 07:08 UTC by Xavier Ricou
Modified: 2007-05-16 21:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Ricou 2006-09-14 07:08:59 UTC
Description:

I can not switch aspell dictionaries on kde-based applications. Spellchecking works only on the default language of the X session.
In order to spellcheck in different languages, I am forced to close the current Gnome session and log in choosing the desired language as the default for the new Gnome session.
No problems though selecting language on Evolution.

Steps to reproduce:

-Fire up kile
-Try to spellcheck in a language other than the default one in the X session.
-A pop-up window appears: You have to restart the dialog for changes to take effect
-Restart the dialog

Actual results:

The default dictionary is still selected

Expected results:

Have the dictionary I have chosen selected after restarting the dialog

Packages being used:

app-editors/kile-1.8.1-r1
gnome-base/gnome-2.14.2 
kde-base/kdelibs-3.5.2-r6
app-text/aspell-0.50.5-r4
app-dicts/aspell-ca-0.50.2
app-dicts/aspell-en-0.51.1
app-dicts/aspell-es-0.50.2
app-dicts/aspell-fr-0.50.3

I've also tried updating to ~x86 versions of kile, kdelibs, aspell and aspell dictionaries obtaining the same results.

"emerge --info":

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Mobile AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 14 Sep 2006 11:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 -m32 -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -m32 -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ca_ES.UTF-8"
LC_ALL="ca_ES.UTF-8"
LINGUAS="ca es en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/portage-tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acpi alsa asf audiofile avahi avi berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt ctype cups dba dbus directfb djbfft dlloader dmi doc dri dts dvd dvdr dvi elibc_glibc esd ethereal exif expat fam fastbuild fbcon ffmpeg firefox flac force-cgi-redirect fortran ftp gd gdbm gif gimpprint glut gmp gnome gpm gs gtk gtkhtml guile hal idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k kernel_linux lame lcms libcaca libg++ linguas_ca linguas_en linguas_es linguas_fr mad memlimit mmx mng mozilla mp3 mpeg mpeg2 nautilus ncurses nls nptl nptlonly nsplugin ntfs ogg oss pam pcre pdflib perl png posix ppds pppd print python qt3 readline reflection samba sdl session simplexml slang sndfile soap sockets spell spl sse sse2 ssl svg symlink tcltk tcpd tetex theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 vcd video_cards_vesa video_cards_via vorbis win32codecs wmf wxwindows x86 xml2 xmms xorg xprint xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Aniruddha 2006-10-17 14:49:24 UTC
Same problem here, still no solution. In other distros I don't see the bug. Any chance this bug will be fixed anytime soon?
Comment 3 Aniruddha 2006-10-17 15:00:11 UTC
here's some additional info: http://bugs.kde.org/show_bug.cgi?id=97386

I tried:
# cd /usr/lib
# ln -nsf aspell-0.60 aspell 

But that didn't work. Anyone knows how to remove this link?
Comment 4 Alessandro Rossini 2006-10-18 04:47:44 UTC
Using aspell-0.50.5-r4 the problems are the following:
In Control Center -> KDE Components -> Spell Checker I see no dictionaries except "ASpell Default" in the "Dictionary" list. At the same time in any KDE application the spell checker window shows all the dictionaries I have but if I select a non-default one, once I restart the dialog the selected dictionary is still "ASpell Default".
Emerging aspell-0.60.4 (marked as ~x86) the problems are different:
In Control Center -> KDE Components -> Spell Checker I can see all the dictionaries and I can select a non-default one. In the KDE applications instead I cannot start the spell checker because I receive an error message reporting that ASpell is not in the PATH, but the binary is, as always, in /usr/bin/aspell.
I think that the solution proposed in the KDE Bugzilla is connected to the last configuration described, because the aspell-0.60.x series is installed in the /usr/lib/aspell-0.60 path, when the 0.50.x series is installed in /usr/lib/aspell. Anyway also in my system the solution proposed doesn't work and so I cannot use in any way ASpell as spell checker with KDE.
Currently I'm forced to switch to ISpell but is very old and I would like to see this problem fixed as soon as possible.

Best regards.
Comment 5 Aniruddha 2006-10-31 06:09:08 UTC
How are things going with this bug? Is there a solution or workaround?
Comment 6 Joan Pujol 2006-10-31 12:25:35 UTC
I have been able to switch dictionaries on KDE apps by emerging aspell-0.60.4. I had to add to /etc/portage/package.keywords the following lines:

~app-text/aspell-0.60.4 ~x86
~app-dicts/aspell-en-6.0.0 ~x86

Then I first emerged aspell, and then the ditionaries I am using. I am now able to switch dictionaries on KDE (like when writing this message in konqueror).
Comment 7 Aniruddha 2006-11-01 02:29:01 UTC
(In reply to comment #6)
> I have been able to switch dictionaries on KDE apps by emerging aspell-0.60.4.
> I had to add to /etc/portage/package.keywords the following lines:
> 
> ~app-text/aspell-0.60.4 ~x86
> ~app-dicts/aspell-en-6.0.0 ~x86
> 
> Then I first emerged aspell, and then the ditionaries I am using. I am now able
> to switch dictionaries on KDE (like when writing this message in konqueror).
> 

Thanks a lot! Worked fine for me to. Here's what I added to /etc/portage/package.keywords:

app-text/aspell ~amd64
app-dicts/aspell-en ~amd64
app-dicts/aspell-nl ~amd64

Maybe it is a good idea to mark the next version of aspell stable?


Comment 8 Sebastian 2007-05-02 22:11:13 UTC
Isn't it time to go ahead and mark a version of aspell and its dictionaries that work stable?
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-05 12:25:05 UTC
Probably. Bug slipped through. Encountered the problem in c#4, too. It seems to be solved by simply restarting the application in question.

Fixed in kdelibs-3.5.6-r8.
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-05 12:32:37 UTC
Umm - alpha, ppc64 teams - please keyword latest app-text/aspell and app-dicts/aspell-en ebuilds and restore keyowrds on kdelibs-3.5.6-r8.
Comment 11 Markus Rothe (RETIRED) gentoo-dev 2007-05-12 10:54:16 UTC
added ~ppc64
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2007-05-16 21:09:50 UTC
~alpha done. I don't think i missed anything.

Closing.