SUMMARY During a long game with a human opponent we wanted to take a break and try our best against an engine. After we lost, I wanted to save the game (for later analysis) and just pressed save. Instead of a dialog popping up it just overwrote the file from the previous game. I believe a saner behaviour would to reset the save game file when a new game is started. STEPS TO REPRODUCE 1. Start a game, make some moves, and save the game. 2. Start a new game, make some moves. 3. Press Save. OBSERVED RESULT The save game file from the previous game is overwritten. EXPECTED RESULT Ask for saving to a new file if a new game has been started.
Git commit dbed8818f3a98f57f346438bf49d455ce9b767be by Alexander Semke. Committed on 01/11/2020 at 08:55. Pushed by asemke into branch 'master'. Reset the file name if a new game is started. FIXED-IN: 20.12 M +1 -0 src/knights.cpp https://invent.kde.org/games/knights/commit/dbed8818f3a98f57f346438bf49d455ce9b767be