Bug 254900

Summary: Ktouch allows untypeable characters in lectures and plain text files, making it impossible to finish the lesson
Product: [Applications] ktouch Reporter: Erik Andersen <erik.b.andersen>
Component: generalAssignee: Haavard Froeiland <haavard>
Status: RESOLVED FIXED    
Severity: normal CC: sebastian.gottfried
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0
Sentry Crash Report:

Description Erik Andersen 2010-10-21 20:37:26 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Both when I open a plain text file or a lecture I made with ktouch, it allows characters that I can't type with the current layout into the lesson. This means that I can't finish the lesson because it is impossible to type the character.
Some of the characters that I have run across that caused problems:Mdash, smart quotes, copyright symbols, etc.

Reproducible: Always

Steps to Reproduce:
Make a plain text file with one of the following characters:Mdash, smart quotes, copyright symbols.
Open the plain text file (File > Open Plain Text File)
Try to finish the lesson, but notice that you can't since you get the special characters wrong and there is no way to correct them.

Make a lecture file with one of the following characters:Mdash, smart quotes, copyright symbols. (File > Edit Lecture. "Create a new lecture", etc). 
Open the plain text file (File > Open Lecture)
Try to finish the lesson, but notice that you can't since you get the special characters wrong and there is no way to correct them.

Actual Results:  
You cannot finish the lesson because it is impossible to type the characters.

Expected Results:  
Not 100% which one of these:
+ When opening lecture/plain text files, characters not on the keyboard should be removed.
+ Show how to enter the code for the character with the alt key (or whatever key is used).
+ Make lecture editor remove characters not on the keyboard layout.
Comment 1 Sebastian Gottfried 2012-10-26 07:05:44 UTC
The lesson editor in version 2.0.0 highlights characters not available in the current lesson so there is now an effective QA instrument for this issue for the build-in courses.

Version 2.0.0 has currently no feature to train on plain text files (partly due to this issue), so no problem there.