Bug 65943 - spell check broken after upgrading to Koffice 1.3Beta4
Summary: spell check broken after upgrading to Koffice 1.3Beta4
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 06:31 UTC by bernst3
Modified: 2004-04-26 00:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bernst3 2003-10-13 06:31:55 UTC
Version:           1.2.93 (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages
OS:          Linux

Whenever I choose spellcheck from the tools menu, it just races through the entire document and does not allow me to make corrections. It's as if someone is holding down the 'ignore' button on the dialog box and it just goes throught the enitre document and ignores all words picked up. The dialog box appears, but goes away too quickly to do anything with it. I know this problem sounds quite weird, and I assure you I checked for stuck buttons or keys on the keyboard and mouse, and could not find any. 
The autospellcheck feature that generates a red squiggly line under mispelled words works fine and I can even spellcheck individual words through that feature, but the spellcheck that checks the entire document is what is giving me problems.
Comment 1 David Knight 2004-01-30 04:43:48 UTC
I'm running Gentoo w/ KDE 3.2.0 rc1 and KOffice 1.3 and I'm having the same issue (note: this problem occured with KOffice 1.3 rc2 also).  In case it's a compiler problem, here are my CFLAGS:

"-march=pentium4 -Os -pipe"

I was able to narrow the problem down a little bit and found that the following text will cause the spellchecker to race through each dialog without any user input.  Just enter this text into an empty KWord document (US Page):

// start
hey there 
8 
adn adn 
sdf sdf 
 
sdf jsdfj ksjaifj
// end

Interestingly, removing the line with the number 8 causes the spellchecker to skip the first junk word but stop on the next...  Hopefully this helps out.
Comment 2 Brian S Monroe 2004-02-22 16:36:46 UTC
The same thing happens to me: running the latest CVS head of KWord (1.3) under FC1 on an i686.  The spellchecker goes out of control if you attempt to check an entire document - but selecting individual words or sections it works just fine.

This *may* be related to a bug with the way koffice deals with aspell - if I tried compiling with the official FC1 RPM of aspell installed, koffice would state that I did not have the most current version of aspell (although I did).  [The CVS version I used had a patch that was supposed to catch this].  However, if I installed the source version of aspell - KOffice would compile - but spellchecking would not work for any KDE application.
Comment 3 Tim Kuhlman 2004-03-20 20:02:16 UTC
I am experiencing similar behavior on Gentoo. When I spell check the document it seems as if the ignore button is held down just as described by the first post. However the auto spell check doesn't work for me, nor does removing the line with 8 on the example posted by sunblade@linuxmail.org. 

I can spell check individual words okay, and the spell checker works fine in kmail and konqueror. I have tried both ispell and aspell and I get the same behavior with both. I am running KDE 3.2.1 and koffice 1.3. My compiler flags are "-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" all of which should be safe.
Comment 4 Mark Woodward 2004-03-21 10:40:11 UTC
I have the same problem, runnning kernel 2.6.4, kde 3.2.1 and kword 1.3. CFLAGS -march=pentium4 -O3 -pipe
Comment 5 Nicolas Goutte 2004-04-06 00:37:19 UTC
See also bug #78943
Comment 6 David Faure 2004-04-26 00:30:29 UTC
65943 describes the same bug as 75532.

----------  Forwarded Message  ----------

Subject: KOFFICE_1_3_BRANCH: koffice/lib
Date: Sunday 25 April 2004 23:36
From: David Faure <faure@kde.org>
To: kde-cvs@kde.org
Cc: 75532-done@bugs.kde.org, 71002-done@bugs.kde.org

CVS commit by faure: 

Fixed multiple connections in spell dialog, which made it skip some words (#75532)
Mention that the previous fix was reported in 71002
CCMAIL: 75532-done@bugs.kde.org, 71002-done@bugs.kde.org


  M +2 -1      CHANGES   1.17.2.19
  M +1 -0      kospell/koispell.cpp   1.20.2.7


--- koffice/lib/CHANGES  #1.17.2.18:1.17.2.19
@@ -34,5 +34,6 @@
 KoSpell:
 - Improved configure check for libaspell
-- Fixed confusion with ispell's dictionaries which made it forget the chosen dictionary
+- Fixed confusion with ispell's dictionaries which made it forget the chosen dictionary (#71002)
+- Fixed multiple connections in spell dialog, which made it skip some words (#75532)
 
 KoWMF:

--- koffice/lib/kospell/koispell.cpp  #1.20.2.6:1.20.2.7
@@ -1024,4 +1024,5 @@ void KOISpell::check2 (KProcIO *)
       newbuffer.truncate (newbuffer.length()-2);
       emitProgress();
+      NOOUTPUT( check2 );
       emit done (newbuffer);
     }




-------------------------------------------------------