[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [PATCH] kword spellchecking trouble
From:       Zack Rusin <zack () kde ! org>
Date:       2004-02-13 16:23:27
Message-ID: 200402131123.27571.zack () kde ! org
[Download RAW message or body]

On Friday 13 February 2004 11:10, Waldo Bastian wrote:
> kword locks up hard with ispell when typing a number and then RMB
> clicking. (See kword.bt for backtrace)
>
> The reason is that KOISpell::cleanFputsWord() bails out if it doesn't
> encounter a word but KOISpell::checkWord() nonetheless waits for an
> answer from ispell. koispell1.patch fixes.
>
> Unfortunately that bring us to another bug because now the popup
> dialog gets highly confused by the modal dialog that is created as
> part of KOISpell::enter_loop() and you need "alt-tab" to get keyboard
> control back. koispell2.patch solves that problem but the comment
> about the other 999999999 problems still holds true, so that's not a
> good solution.

Yap, there's no good way to solve it. The way it's setup right is that 
it expects synchronous behavior from checkWord which it will never have 
with kprocio and ispell binary. We could make kospell aspell plugin 
asynchronous, but that would take us to the start since getting 
asynchronous answers in on-the-fly spellchecking is bound to fail.

So please don't bother with it. During the last year I took every 
complain people had about kspell and kospell and fixed all them in the 
form of kspell2. The only thing that's missing there right now is a 
simple configuation dialog for preferred language, which I'll put in 
today. Tomorrow I'll start switching koffice to it. What would be a lot 
more helpful right now to me is having people try kspell2 and let me 
know how the examples work for them. I'd also like to hear some 
opinions on where individual files of kspell2 should go to, since so 
far no one bothered to give it some thought.

Zack

-- 
Who is General Failure, and why is he reading my disk?
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic