Bug 254900 - Ktouch allows untypeable characters in lectures and plain text files, making it impossible to finish the lesson
Summary: Ktouch allows untypeable characters in lectures and plain text files, making ...
Status: RESOLVED FIXED
Alias: None
Product: ktouch
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Haavard Froeiland
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 20:37 UTC by Erik Andersen
Modified: 2012-10-26 07:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.