Bug 409628

Summary: BarChart for errors on the score screen is broken
Product: [Applications] ktouch Reporter: Yuri Chornoivan <yurchor>
Component: generalAssignee: Sebastian Gottfried <sebastian.gottfried>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 19.04.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 19.08.0
Sentry Crash Report:

Description Yuri Chornoivan 2019-07-08 17:24:41 UTC
SUMMARY

Errors tab on the score screen (at least in my self-compile git/master and in Mageia 7 RPM packages) show no meaningful info. Example:

https://cgit.kde.org/ktouch.git/plain/doc/score_screen_errors.png

STEPS TO REPRODUCE
1. Try to pass some lesson.
2. Choose "Show -> Errors" when finished.

OBSERVED RESULT
Scrambled numbers at the top left of the chart.

EXPECTED RESULT
The valid error chart.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Mageia 7/5.15.4
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Many thanks in advance for fixing this bug.
Comment 1 Sebastian Gottfried 2019-07-08 19:02:51 UTC
Git commit 45abc5feef1e903582d19d5d8fbe1fb5164454a3 by Sebastian Gottfried.
Committed on 08/07/2019 at 18:57.
Pushed by gottfried into branch 'master'.

Score Screen: Fix Display of Error Chart

Now the error chart fills its designated content area.
FIXED-IN: 19.08.0

M  +21   -23   src/qml/scorescreen/ScoreScreen.qml

https://commits.kde.org/ktouch/45abc5feef1e903582d19d5d8fbe1fb5164454a3