Bug 124532 - accent problems with kword
Summary: accent problems with kword
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 01:52 UTC by Alex Santos
Modified: 2006-05-12 10:07 UTC (History)
0 users

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 Alex Santos 2006-03-30 01:52:08 UTC
Version:           kword 1.5 beta 2 (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs
Compiler:           klik package
OS:                Linux

This bug looks superficially similar to Bug 88102 (but in fact is different):

I can't get accented characters in Kword (using Mandriva 2006 free). No problem to get accented characters with  Kate, Kspread, etc (but KDissert was also a problem).

However, if I changed the dictionaries to a language with accents, THEN I could type accents with no problems. So this is not Bug 88102.

The problem is that if I turn of Kword and start it again, I have the same problem, no accented characters, even if the default spelling dictionary language is "accented".

So I installed the Kword beta 2 klik package to check if this was solved, and I got exactly the same problem (However the kdissert klik package had no problems typing accented characters, so this is one less problem).

The fact that I manage to get accented characters in Kword probably means that this is no Qt problem. But I don't understand why upon launch Kword is unable to produce accented characters.

Cheers,
Comment 1 David Faure 2006-03-30 09:48:49 UTC
On Thursday 30 March 2006 01:52, Alex Santos wrote:
> However, if I changed the dictionaries to a language with accents, THEN I could type accents with no problems. 


In the spellchecker setting of "Configure KWord"?
This is ... .very surprising. I can't see any relation between spellchecking and typing.
Does it change anything if you turn off the "Automatic spell checker" (the feature which underlines misspelled words)?
Comment 2 Marcos Mezo 2006-03-30 11:14:19 UTC
I have a problem which might be the same this one.

I have tried it with koffice ¿1.4.2?, 1.5beta1, 1.5beta2 and 1.5rc1 with kde 3.5.1 and 3.5.2 kubuntu packages.

The problem is that on startup of kword, kspread and kpresenter (have not tried other programs) accents don't work, BUT as soon as I clic on a menu or a toolbar that rolls some combo out it begins to work. It seems to be realated to dead keys, as other "special" characters as ñ (ntilde) for example work from the beginning.

If this is the same bug I have, then it could have worked on changing dictionaries because presumably it was changed via some menu or combo box. On next startup it won't work until you display a menu.

I tried to report it sometime before but the bug reporting system did not want so "save" my report. :-(

Marcos
Comment 3 Marcos Mezo 2006-03-30 11:17:01 UTC
In my previous post I forgot to say I use Kubuntu Dapper in spanish with spanish keyboard and es_ES.UTF8 locale.

Comment 4 Alex Santos 2006-03-30 16:17:57 UTC
Marcos Mezo is dead right! I don't necessarily need to change the spellchecking dictionaries to get accented words. It's enough that I access the menu for anything. I actually don't even need to select anything. Activating the menu is enough.

>Does it change anything if you turn off the "Automatic spell checker" (the feature which underlines misspelled words)? 

No (of course initially disabling automatic spell checker solves the issue, because I need to access the menu to change that option, but when I re-start KWord, I get the same problem).

So the bug is still here, but at least it's easier to get around it (just activate the menu). But it's not a good start for new users of Koffice (I have avoided this application for months for this reason, but I tried now again in the hopes that the bug gets squashed before the final release of Koffice 1.5)
Comment 5 Bart Coppens 2006-04-11 22:21:52 UTC
SVN commit 528824 by coppens:

Enable the input methods _before_ setting the focus. Should fix the odd bug that some people had where they could not enter accented characters before manually focussing another widget.
BUG: 124532

 M  +1 -1      KWCanvas.cpp  


--- branches/koffice/1.5/koffice/kword/KWCanvas.cpp #528823:528824
@@ -116,8 +116,8 @@
 
     viewport()->setFocusProxy( this );
     viewport()->setFocusPolicy( WheelFocus );
+    setInputMethodEnabled( true );
     setFocus();
-    setInputMethodEnabled( true );
     viewport()->installEventFilter( this );
     installEventFilter( this );
     KCursor::setAutoHideCursor( this, true, true );
Comment 6 Marcos Mezo 2006-05-12 10:07:03 UTC
After upgrading today with a version which has this fix (Version kword 1.5.0-0ubuntu7 on kubuntu dapper) this bug seems to be fixed in kword.

BUT:
I've tried also kspread, kpresenter, kivio and kplato (all versions 1.5.0-0ubuntu7).
- kspread: Bug still present
- kpresenter: Bug still present
- kivio & kplato: I cannot reproduce the bug, but I think it is because you have to click on some tool before starting to use the programs, like inserting a new task,...

I've never used the last programs so excuse me.

Thanks,
Marcos