https://bugs.kde.org/show_bug.cgi?id=464508

            Bug ID: 464508
           Summary: Wrong correction when comparing integers with
                    different numbers of digits in the "Compare numbers"
                    activity
    Classification: Applications
           Product: gcompris
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: jaz...@gmail.com
          Reporter: lc...@april.org
  Target Milestone: ---

Created attachment 155426
  --> https://bugs.kde.org/attachment.cgi?id=155426&action=edit
Second comparison is actually incorrect and the fourth one is actually correct

SUMMARY
In the "Compare numbers" activity, GCompris marks as "wrong answers" answers
that are actually correct.  This apparently only happens when the two compared
numbers are integers with different numbers of digits.  The attached screenshot
shows examples: the second comparison is actually incorrect (but the correction
affirms it is correct) and the fourth one is actually correct (but the
correction affirms it is incorrect).


STEPS TO REPRODUCE
1. Launch the "Compare numbers" activity.
2. "Find" a comparison between two integers with different numbers of digits.
3. Answer, clicking on "<" or ">".
4. Correct, clicking on "OK".


OBSERVED RESULT
Wrong correction.  Maybe GCompris compares the first different digits, from
left to right, what is only correct if both numbers have the same number of
digits.


EXPECTED RESULT
Correct correction.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Trisquel GNU/Linux 10 (based on Ubuntu 20.04)


ADDITIONAL INFORMATION
Running bin/gcompris-qt.sh installed from
https://download.kde.org/stable/gcompris/qt/linux/gcompris-qt-3.0-Linux64.sh

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to