Created attachment 174376 [details] Screen Recording SUMMARY During fast mine hunting empty fields can show up, that aren't actually empty leading to possible mine explosion. See attached video for a demonstration. STEPS TO REPRODUCE 1. Open KMines 2. In the menu select: Settings -> Configure KMines 3. Enable "Explore with left click on number cells' 4. Start new game 5. Reveal a cell with a number higher than the adjacent covered fields 6. Press and hold the left mouse button inside the cell 7. Move mouse to a different cell 8. Release mouse button OBSERVED RESULT All neighboring cells show as empty. EXPECTED RESULT Neighboring cells show as hidden again. SOFTWARE/OS VERSIONS (available in the Info Center app, or by running `kinfo` in a terminal window) Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-45-generic (64-bit) Graphics Platform: offscreen Processors: 2 Memory: 1.9 GiB of RAM Graphics Processor: virgl ADDITIONAL INFORMATION Inside a Parallels Desktop virtual machine.
The bug likely happens somewhere after https://github.com/KDE/kmines/blob/13ad464a1b39399c06ee84c5370813ceae4d6bb2/src/minefielditem.cpp#L347C6-L347C36
A possibly relevant merge request was started @ https://invent.kde.org/games/kmines/-/merge_requests/38
Git commit 341f9a78c5b11b5b08551d5f8cc2634a903691a0 by Albert Astals Cid. Committed on 08/03/2025 at 16:43. Pushed by aacid into branch 'master'. Fix showing cells when using 'Explore with left click on number cells' M +1 -2 src/minefielditem.cpp https://invent.kde.org/games/kmines/-/commit/341f9a78c5b11b5b08551d5f8cc2634a903691a0
Git commit 8aa00372f394f8b7a67b247e672d1694c00537db by Albert Astals Cid. Committed on 08/03/2025 at 17:23. Pushed by aacid into branch 'release/25.04'. Fix showing cells when using 'Explore with left click on number cells' (cherry picked from commit 341f9a78c5b11b5b08551d5f8cc2634a903691a0) M +1 -2 src/minefielditem.cpp https://invent.kde.org/games/kmines/-/commit/8aa00372f394f8b7a67b247e672d1694c00537db