Spellcheck dialog in Kate does not work as expected

Bug #484914 reported by Michael Ummels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Software Development Kit
New
Medium
kdesdk (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: kdesdk

When one spellchecks a document in Kate and clicks on "Ignore all" to ignore a misspelled word for the rest of the run, the word is added to the user's dictionary instead. Hence, the word is ignored in all future runs of the spellchecker as well. Clearly, this is not the intended behaviour of "Ignore all" since there is another button labelled "Add to dictionary" to achieve this effect.

To reproduce the bug, open kate and type in a word that is not known by the spellchecker. Then select Tools -> Spelling and click on "Ignore all" once the word appears. You can verify that the word has entered the dictionary by inspecting the contents of the file $HOME/.config/enchant/en_US.dic (depending on the language you selected for spellchecking).

ProblemType: Bug
Architecture: i386
Date: Wed Nov 18 18:21:11 2009
DistroRelease: Ubuntu 9.10
Package: kate 4:4.3.2-0ubuntu1
ProcEnviron:
 LANGUAGE=
 LC_CTYPE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: kdesdk
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
In , Jeremy (crisjss) wrote :

Version: (using KDE 4.2.0)
OS: Linux
Installed from: Unlisted Binary Package

Bug tested in spell checkers at Kate 3.2, Konqueror 4.2 and Kile 2.0.80 :

Spell checker action 'Ignore All' do just the same as the 'Add to Dictionary'
action:
the misspelled word will be added to '.aspell.en.pws' and
'.config/enchant/en.dic' dictionaries, and will no more (at any application) be
considered a wrong word.

How to Reproduce:

- type a misspelled word, like 'qwertyuiop', in Kate;
- run spell checker and click 'Ignore all' when prompted about that word;
- close and reopen Kate;
- type the same misspelled word;
- run spell checker.

The misspelled word will now be a valid word.
Check the dictionary files:
$ grep qwertyuiop ~/.aspell.en.pws
$ grep qwertyuiop ~/.config/enchant/en.dic

Expected Behaviour:

The 'ignored all' misspelled word should not be added to the dictionary, it
should be ignored only in the current spell check run.

Revision history for this message
Michael Ummels (urmel291) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Confirmed in 4:4.9.0-0ubuntu2 on quantal.

(When you hit the 'Ignore all' it spits out
QSpellEnchantDict::addToPersonal: word = "frobble"
as debug)

Dave

Changed in kdesdk (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
In , Gilbertd+kde (gilbertd+kde) wrote :

reproduced on 4:4.9.0-0ubuntu2.

There is an ubuntu bug for this linked to this one:

https://bugs.launchpad.net/kdesdk/+bug/484914

Changed in kdesdk:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Andrew-crouthamel (andrew-crouthamel) wrote :

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!

Changed in kdesdk:
status: New → Incomplete
Revision history for this message
In , Andrew-crouthamel (andrew-crouthamel) wrote :

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? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

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

Changed in kdesdk:
status: Incomplete → New
Revision history for this message
In , Justin Zobel (justin-zobel) wrote :

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!

Changed in kdesdk:
status: New → Incomplete
Revision history for this message
In , Gilbertd+kde (gilbertd+kde) wrote :

This is still failing for me on
kopete-22.08.3-2.fc37.x86_64
kate-22.08.3-1.fc37.x86_64

Hitting the 'ignore all' button is copying the file into .hunspell_en_AG here.

Changed in kdesdk:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.