Bug 464901 - Morse trainer: gap between letters not recognized (build-in keyboard)
Summary: Morse trainer: gap between letters not recognized (build-in keyboard)
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: 0.26 (android)
Platform: Other Android 10.x
: NOR normal
Target Milestone: ---
Assignee: Jazeix Johnny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-27 15:34 UTC by kdedk
Modified: 2023-02-14 07:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Not recognized whitespace (54.70 KB, image/png)
2023-01-27 15:34 UTC, kdedk
Details
Recognized whitespace (53.05 KB, image/png)
2023-01-27 15:34 UTC, kdedk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdedk 2023-01-27 15:34:07 UTC
Created attachment 155701 [details]
Not recognized whitespace

If you enter the whitespace between two letters, like in .-- .... .- - (WHAT), it is only recognized if it is typed through Androids keyboard. If build-in is used, it is shown as some kind of _ and not recognized. Correct words are rated as wrong.


STEPS TO REPRODUCE
1. Open GCompris
2. Open morse trainer
3. Select level 19
4. Try to enter a whitespace (gap) between two letters

OBSERVED RESULT
5. It is not recognized (Alphabet/Numeric value:  is empty)

EXPECTED RESULT
5. It is recognized (Alphabet/Numeric value: WHAT and you can press OK an carry on)

SOFTWARE/OS VERSIONS
Android 10
GCompris F-Droid Version 3.1

ADDITIONAL INFORMATION
Comment 1 kdedk 2023-01-27 15:34:49 UTC
Created attachment 155702 [details]
Recognized whitespace
Comment 2 Jazeix Johnny 2023-01-27 16:01:53 UTC
Git commit a62494909cbc720b31b8beb167affb6be518fe71 by Johnny Jazeix.
Committed on 27/01/2023 at 16:00.
Pushed by jjazeix into branch 'master'.

morse_code, fix space inputted by virtual keyboard

M  +5    -1    src/activities/morse_code/MorseCode.qml

https://invent.kde.org/education/gcompris/commit/a62494909cbc720b31b8beb167affb6be518fe71
Comment 3 Jazeix Johnny 2023-01-27 16:02:20 UTC
Git commit ba7711a2eeb7d77daf8d6053bf5ff409c677cec8 by Johnny Jazeix.
Committed on 27/01/2023 at 16:01.
Pushed by jjazeix into branch 'KDE/3.0'.

morse_code, fix space inputted by virtual keyboard

M  +5    -1    src/activities/morse_code/MorseCode.qml

https://invent.kde.org/education/gcompris/commit/ba7711a2eeb7d77daf8d6053bf5ff409c677cec8
Comment 4 Jazeix Johnny 2023-01-27 16:02:52 UTC
Thank you again for the report!

Do you want us to provide you an android release to test the fixes?
Comment 5 kdedk 2023-01-28 06:16:26 UTC
(In reply to Jazeix Johnny from comment #4)
> Thank you again for the report!
> 
> Do you want us to provide you an android release to test the fixes?


Only if you don't have an Android device or the time to test.
Then I could help out this time.
(I would need an .apk because of "Google-free" Android. Or an F-Droid release, but this could take some time because F-Droid compiles it themself.)
Comment 6 Jazeix Johnny 2023-01-29 08:29:01 UTC
I've reproduced and fixed on Desktop so I think it should be good :).
Comment 7 ReadAlongToLearnEnglish 2023-02-14 07:39:30 UTC
Ive had the same issue on v3.1 /desktop when using virtual keyboard. it correctly identifies the "B" (of BEE) in the hint box, but when i hit the space button ("]" rotated 90 degrees shown) then the hint value disappears.