Bug 501692 - No correct solution with exercises "decimal numbers" and "quantities" accepted
Summary: No correct solution with exercises "decimal numbers" and "quantities" accepted
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jazeix Johnny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-18 13:17 UTC by ulrich.lintl
Modified: 2025-03-30 10:03 UTC (History)
1 user (show)

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


Attachments
No correct solution with decimal numbers accepted (139.99 KB, image/jpeg)
2025-03-18 13:17 UTC, ulrich.lintl
Details
No correct solution with quantities accepted (143.86 KB, image/jpeg)
2025-03-18 13:41 UTC, ulrich.lintl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulrich.lintl 2025-03-18 13:17:26 UTC
Created attachment 179537 [details]
No correct solution with decimal numbers accepted

SUMMARY
The exercises "Decimal Numbers" and "Quantities" are unsolveable by the software. Even with the input of the correct solution, it is not accepted by the software

STEPS TO REPRODUCE
1.  Start exercise "Decimal Numbers" or "Quantities"
2.  Select the correct solution with the swith.
3.  Klick on the bulb to verify the input
4.  Klick on "OK" to confirm

OBSERVED RESULT
Though the input ist correct, it is considered wrong by the program. Even when trying all availlable values as input, all of them are considered wrong.

EXPECTED RESULT
When giving the correct input, the program has to accept this and move on to the next level

SOFTWARE/OS VERSIONS
Gcompris 3.3, 64 bit
Ubuntu 24.04 Gnome 

ADDITIONAL INFORMATION
Comment 1 ulrich.lintl 2025-03-18 13:41:56 UTC
Created attachment 179539 [details]
No correct solution with quantities accepted
Comment 2 Jazeix Johnny 2025-03-18 13:59:42 UTC
Hi,
Thanks for the report.
After selecting the quantities on the bottom, you have to drag the quantities on the top panel.
Comment 3 ulrich.lintl 2025-03-18 15:29:43 UTC
Thank you for your proper reply.
I have to state, that you are right. I have tried dragging the selected number into the area above and it has worked.
The exercise however was very opaque to me, really didn't get, what to do, until you had told me.
Comment 4 Jazeix Johnny 2025-03-18 15:38:17 UTC
Great to see it works fine :).
We have the help button that describes what is expected in the activity. Have you checked it and if yes, do you think we should reword better to ensure people understand what is expected?

I mark the bug as resolved, but we can of course continue the discussion
Comment 5 ulrich.lintl 2025-03-24 13:17:23 UTC
Yes, absolutely, great so far it's no bug :-)

It's also described absolutely correct. However this UI is to me and also to some colleagues very un-intuitive.
When selecting and confirming the correct solution, the expecation is, that the program accepts this input. None of us has come to the idea of looking up in the exercises description.

When keeping the this UI, there should appear a hint, what to do.
And arrow UP were good, maybe combined with a short text "drag and drop" selection upwards or something similar.

I hope something like this is applicable for you. If a sketch were helpful, I'll try to make one.
Comment 6 animtim 2025-03-24 14:20:18 UTC
Git commit 3eeb5cc21d0480cba0b5d7bca96166a41a259f24 by Timothée Giet.
Committed on 24/03/2025 at 14:15.
Pushed by timotheegiet into branch 'master'.

learn_decimals, better error feedback when the drop area is empty

If the drop area is empty, instead of the red cross error feedback,
display a red arrow to indicate that the bar needs to be dragged/dropped there.

M  +49   -2    src/activities/learn_decimals/Learn_decimals.qml

https://invent.kde.org/education/gcompris/-/commit/3eeb5cc21d0480cba0b5d7bca96166a41a259f24
Comment 7 animtim 2025-03-24 14:20:48 UTC
Git commit 512db71fbceb4cee07cf88be188c0037d9924667 by Timothée Giet.
Committed on 24/03/2025 at 14:20.
Pushed by timotheegiet into branch 'KDE/25.0'.

learn_decimals, better error feedback when the drop area is empty

If the drop area is empty, instead of the red cross error feedback,
display a red arrow to indicate that the bar needs to be dragged/dropped there.

M  +49   -2    src/activities/learn_decimals/Learn_decimals.qml

https://invent.kde.org/education/gcompris/-/commit/512db71fbceb4cee07cf88be188c0037d9924667
Comment 8 animtim 2025-03-24 14:30:41 UTC
I've added a red arrow feedback for when the drop area is empty, that should already be better. I didn't add another text indication as the strings are frozen in the stable version, and it would be redundant as we already explain how the activity works in the tutorial before the activity starts, in the manual page, and in the intro voice...
Comment 9 ulrich.lintl 2025-03-24 16:23:16 UTC
Excellent, men, thank you!

And everythings fine, it's really not that immediate.
Establishing the mechanism in one of the next versions is fine.

Great, working with you :-)
Comment 10 Jazeix Johnny 2025-03-30 10:03:29 UTC
Git commit ab9a7523cf5d55bf7d0c083e6b6ca3cae8ab7b06 by Johnny Jazeix, on behalf of Timothée Giet.
Committed on 30/03/2025 at 10:02.
Pushed by jjazeix into branch 'KDE/4.0'.

learn_decimals, better error feedback when the drop area is empty

If the drop area is empty, instead of the red cross error feedback,
display a red arrow to indicate that the bar needs to be dragged/dropped there.

M  +51   -1    src/activities/learn_decimals/Learn_decimals.qml

https://invent.kde.org/education/gcompris/-/commit/ab9a7523cf5d55bf7d0c083e6b6ca3cae8ab7b06