SUMMARY KBlocks does not display last move before game over. STEPS TO REPRODUCE 1. See screenshot. I probably moved the "I" piece to the right by accident which caused game end and triggered the rankings table. OBSERVED RESULT It appears like the "I" piece did not move to the right and thus should not be reason for game end. EXPECTED RESULT The "I" piece should have been moved to the right so that it lands on top of the blue "J" piece to indicate why I lost this game. SOFTWARE/OS VERSIONS kblocks 0.4 (kblocks-18.12.2-1.fc29.x86_64) Операционная система: Fedora 29 Версия KDE Plasma: 5.14.5 Версия Qt: 5.11.3 Версия KDE Frameworks: 5.55.0 Версия ядра: 5.0.8-200.fc29.x86_64 Архитектура: 64-битная Процессоры: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Память: 15,4 ГиБ ОЗУ
Created attachment 119853 [details] screenshot
*** Bug 380462 has been marked as a duplicate of this bug. ***
I can reproduce the bug and will attempt to fix it. I have created an issue on invent.kde.org to track the progress: https://invent.kde.org/helfferich/kblocks/-/issues/1
A possibly relevant merge request was started @ https://invent.kde.org/games/kblocks/-/merge_requests/5
Git commit fc3fd5cd6ea37896e307d8072fadc8609a68ac43 by Julian Helfferich. Committed on 24/01/2021 at 20:05. Pushed by aacid into branch 'master'. Call updateLayout() also in stopGame() Calling updateLayout() means that all remaining game actions are processed when the game is intended to be stopped. This has the effect that the play area is updated before the highscore window is shown, not at a later time. M +27 -4 autotests/test_KBlocksItemGroup.cpp M +12 -10 src/KBlocksItemGroup.cpp https://invent.kde.org/games/kblocks/commit/fc3fd5cd6ea37896e307d8072fadc8609a68ac43