| Summary: | Hotspot in ‘Find the details’ activity is wrong | ||
|---|---|---|---|
| Product: | [Applications] gcompris | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | Bruno Coudoin <bruno.coudoin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/gcompris/76237417e8ed067a3ae0493a186c6cca195b7b8a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Karl Ove Hufthammer
2015-11-24 16:52:51 UTC
A similar thing seems to be happening on the 5th level too. I confirm the bug. In the code we are looking at the first spot close enough instead of finding thte closest stop of all possible one. Need to fix the algorithm. Git commit 2fe6c469fa9ce1b9120c7523a1774f878f4cae5f by Bruno Coudoin. Committed on 14/12/2015 at 17:46. Pushed by bcoudoin into branch 'babymatch_shortest_dist'. babymatch, use the shortest dist to target instead of drop target M +30 -22 src/activities/babymatch/Babymatch.qml M +159 -144 src/activities/babymatch/DragListItem.qml M +42 -77 src/activities/babymatch/DropAnswerItem.qml M +22 -16 src/activities/babymatch/ListWidget.qml M +39 -7 src/activities/babymatch/babymatch.js http://commits.kde.org/gcompris/2fe6c469fa9ce1b9120c7523a1774f878f4cae5f Git commit 49374323c65c976f18c5fcb679a51e14971c8c59 by Bruno Coudoin. Committed on 16/12/2015 at 20:27. Pushed by bcoudoin into branch 'master'. babymatch, use the shortest dist to target instead of drop target M +30 -22 src/activities/babymatch/Babymatch.qml M +159 -144 src/activities/babymatch/DragListItem.qml M +42 -77 src/activities/babymatch/DropAnswerItem.qml M +22 -16 src/activities/babymatch/ListWidget.qml M +39 -7 src/activities/babymatch/babymatch.js http://commits.kde.org/gcompris/49374323c65c976f18c5fcb679a51e14971c8c59 Git commit 76237417e8ed067a3ae0493a186c6cca195b7b8a by Bruno Coudoin. Committed on 19/12/2015 at 09:12. Pushed by bcoudoin into branch 'KDE/0.50'. babymatch, use the shortest dist to target instead of drop target M +30 -22 src/activities/babymatch/Babymatch.qml M +159 -144 src/activities/babymatch/DragListItem.qml M +42 -77 src/activities/babymatch/DropAnswerItem.qml M +22 -16 src/activities/babymatch/ListWidget.qml M +39 -7 src/activities/babymatch/babymatch.js http://commits.kde.org/gcompris/76237417e8ed067a3ae0493a186c6cca195b7b8a |