Bug 142118

Summary: extra character ('r') in english lectures
Product: [Applications] ktouch Reporter: Oliver Henshaw <oliver.henshaw>
Component: generalAssignee: Haavard Froeiland <haavard>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Test for *ktouch.xml files that may be affected.

Description Oliver Henshaw 2007-02-23 19:16:27 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Fedora RPMs
OS:                Linux

The character 'r' appears in the english typing lessons before they it is introduced as a new character, in lecture 8. This occurs in lectures 2-7 in the english lessons and also in early lectures for some other languages (danish, finnish, finnish_for_kids, hungarian_expert, spanish).

Steps to reproduce.
1. Choose the english lessons and start lecture two,
2. Read 'jjd fdfj rd djd',
3. Frown.

Expected behaviour:
2. Read 'jjd fdfj d djd',
3. Type on.
Comment 1 Oliver Henshaw 2007-02-23 19:20:07 UTC
This may be a consequence of bug #59561, it doesn't look like the english.ktouch.xml files have been updated in svn since this was fixed.
Comment 2 Oliver Henshaw 2007-02-23 19:28:37 UTC
Created attachment 19792 [details]
Test for *ktouch.xml files that may be affected.

Here's a python script I used to find characters introduced in the lessons
before they turn up in the NewCharacter element (I used it to learn how to use
elementtree, so it may look stupid. And the elementtree import may need
changing on your system).

This also happens for other characters, but I've made no effort to seperate
wrongly generated *ktouch.xml files from files where the NewCharacter element
is not used as a list of characters.
Comment 3 Haavard Froeiland 2007-03-11 10:16:14 UTC
I regenerated the English training file using the Perl generator. It has been submitted to KDE4