Bug 415102 - missing-letter, voices broken on Android
Summary: missing-letter, voices broken on Android
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Android All
: NOR major
Target Milestone: ---
Assignee: Jazeix Johnny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 16:43 UTC by animtim
Modified: 2020-01-23 07:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description animtim 2019-12-12 16:43:54 UTC
SUMMARY

Playing of voices is quite broken for missing-letter activity on Android:

-it does play first word and first letter
-voices for next words and letters are not played

-Seems to happen only on Android (tested on Linux it works fine)
Comment 1 animtim 2019-12-12 17:00:31 UTC
Note: bug was there already in GCompris 0.96 (I didn't check older versions), so at least it's not a new bug in 0.97.
Comment 2 Andreas 2020-01-12 15:12:13 UTC
Downloading background music files, images for some of the activities, and language audio files for German language fail to download reproducibly; F-Droid apk of version 0.97 on Android 5.11.
Comment 3 animtim 2020-01-12 16:46:55 UTC
@Andreas: what you describe is a different issue, please report it in a separate bug entry. Also, as it is specific to the F-Droid package, it might be worth reporting it in F-Droid bugtracker directly. (wild guess: it can be caused by a bad combination of openSSL version/Qt version in their package).
Comment 4 Jazeix Johnny 2020-01-12 17:15:22 UTC
@animtim, different issue but I just tested the fdroid apk and download works fine for me.

@Andreas, do you have logs or any error displayed that could help us?
Comment 5 animtim 2020-01-12 18:11:01 UTC
@Johnny: Ok, which version of Android are you testing on?

Sounds like a clash with system openssl then; as far as I can see, android moved to boringSSL only in android 6.0 (api 23), so there are still system openssl libs in android 5.1.1, though I'm not sure which version... do you know which versions of openssl/Qt are used in the F-Droid package?
Comment 6 Jazeix Johnny 2020-01-12 18:15:17 UTC
Android 8.0
Comment 7 Jazeix Johnny 2020-01-12 18:17:21 UTC
(In reply to animtim from comment #5)
> @Johnny: Ok, which version of Android are you testing on?
> 
> Sounds like a clash with system openssl then; as far as I can see, android
> moved to boringSSL only in android 6.0 (api 23), so there are still system
> openssl libs in android 5.1.1, though I'm not sure which version... do you
> know which versions of openssl/Qt are used in the F-Droid package?

For fdroid, I package with Qt 5.12.5 and openssl 1.1.1c
Comment 8 Andreas 2020-01-13 22:42:42 UTC
Sorry Jazeix,

I have no logs nor an error message: nothing happens inside the GUI.
How am I to get error logs on Android (system not rooted)?


Am 12.01.20 um 18:15 schrieb Jazeix Johnny:
> https://bugs.kde.org/show_bug.cgi?id=415102
>
> Jazeix Johnny <jazeix@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |jazeix@gmail.com
>
> --- Comment #4 from Jazeix Johnny <jazeix@gmail.com> ---
> @animtim, different issue but I just tested the fdroid apk and download works
> fine for me.
>
> @Andreas, do you have logs or any error displayed that could help us?
>
Comment 9 Jazeix Johnny 2020-01-14 19:27:02 UTC
Original issue fixed in https://cgit.kde.org/gcompris.git/commit/?id=20344d4c55f970cfe3040dedfe56df5935fc81b8
Comment 10 Jazeix Johnny 2020-01-14 19:35:55 UTC
(In reply to Andreas from comment #8)
> Sorry Jazeix,
> 
> I have no logs nor an error message: nothing happens inside the GUI.
> How am I to get error logs on Android (system not rooted)?
> 

@Andreas, which version of android do you use?
On my side, to get traces, I use `adb logcat` from android sdk (https://developer.android.com/studio#downloads).
Some help to use it and get the logs can be found in https://stackoverflow.com/questions/3707880/using-adb-logcat-with-a-real-phone-and-not-the-emulator
Comment 11 Andreas 2020-01-19 08:42:09 UTC
My smartphone is running Android 5.1
I have no Android SDK, though.
Comment 12 Jazeix Johnny 2020-01-23 07:32:09 UTC
Ok, i'm almost sure that the problem is due to the openssl version shipped within android 5.1 which is incompatible with the one we use for downloading.

I'm not really sure what is the best way to fix it. I've opened a task in our phabricator: https://phabricator.kde.org/T12576
I'm closing this bug as the initial report is fixed.