Help required to test with QtQuick Controls 2

Daniel Shahaf danielsh at apache.org
Wed Apr 27 19:31:33 BST 2022


Daniel Shahaf wrote on Wed, Apr 27, 2022 at 18:10:02 +0000:
> Johnny Jazeix wrote on Sat, Apr 23, 2022 at 17:25:37 +0200:
> > Due to deprecation of QtQuick.Controls 1 in previous versions of Qt and the
> > fact that it will be removed in Qt 6, I've started to update the code to
> > use QtQuick.Controls 2 (
> > https://invent.kde.org/education/gcompris/-/merge_requests/108).
> > Ideally, it should be transparent for the users.
> 
> Found a few bugs, but I don't know whether they're new in this version
> or not.
> 
> Environment is the Android 64b apk below (reports itself as v2.4) on
> Android 11.  It's a friend's device and I'm reporting this on their
> behalf.
> 
> 0. Bugs https://bugs.kde.org/show_bug.cgi?id=446848 "Gcompris say
> alphabet letter names instead of actual letter sound" and
> https://bugs.kde.org/show_bug.cgi?id=428863 "The letter sounds should be
> the phonemes, not the letter names" seem to be duplicates of each other.
> 
> 1. Hebrew translation of the help of one activity had some lines start
> with a solitary ק, as though it were a bullet point.  I can't find that
> in the po files though (in either trunk or branches/stable), and
> unfortunately I didn't make a note of what activity it was.  I think it
> might have been "Mirror the given image".

Aside: I tried to open that activity in a self-compiled 2.4 (the
release, not the packages from this thread) on Linux, and got a brief
screen flash (I think that was the screen greying out and showing the
"two arrows in a circle" graphic briefly) followed by colorful
7-pointed-stars on the activity's tile.  On subsequent tries I got only
the colorful stars without the screen flash.  On stderr I got this:

qrc:/gcompris/src/activities/path_encoding/PathEncoding.qml:12:1: Type GridPath unavailable
qrc:/gcompris/src/activities/path_encoding/GridPath.qml:99:9: Type MapView unavailable
qrc:/gcompris/src/activities/path_encoding/MapView.qml:9:1: module "QtQml.Models" is not installed

So, two issues:

1. The activity doesn't start.  (Probably missing dependency or
something?  Should I install /usr/lib/x86_64-linux-gnu/qt6/qml/QtQml/Models/libmodelsplugin.so
from my OS packages?)

2. There's no error message about that.  I'd have expected an on-screen
message.

----

Also, with the same self-compiled 2.4 on Linux, in the settings screen,
the "Localized voices" label looks like an unclickable checkbox, because
the "X" / "V" graphic is to its right.  That makes sense in LTR
languages, but for RTL languages, where the "X" / "V" graphic of
checkboxes is placed to the _right_ of the checkbox's text, the
placement is misleading.

Cheers,

Daniel


More information about the GCompris-devel mailing list