https://bugs.kde.org/show_bug.cgi?id=504917
cwo <cwo....@posteo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kdeplasma-addons/-/commi |ma/kdeplasma-addons/-/commi |t/1ed2c7ff69154e06cc890bf94 |t/de00ace4af9f708401069f6bd |c59bbcf40b34fa6 |2721fdfbbf1549c --- Comment #5 from cwo <cwo....@posteo.net> --- Git commit de00ace4af9f708401069f6bd2721fdfbbf1549c by Christoph Wolk. Committed on 29/05/2025 at 19:17. Pushed by cwo into branch 'Plasma/6.4'. applets/fifteenpuzzle: don't shuffle into a solved puzzle When reshuffling the board, it's possible to immediately get an already solved puzzle. It's very unlikely for realistic board sizes, but can be triggered somewhat if you refresh a 2×2 board often for some reason. We might as well make sure it never happens. To do this easily, we convert the existing solution checker into a function with return value, rather than always immediately marking the board as solved if it is, and use that to reshuffle if needed. (cherry picked from commit 1ed2c7ff69154e06cc890bf94c59bbcf40b34fa6) Co-authored-by: Christoph Wolk <cwo....@posteo.net> M +9 -4 applets/fifteenPuzzle/package/contents/ui/FifteenPuzzle.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/de00ace4af9f708401069f6bd2721fdfbbf1549c -- You are receiving this mail because: You are watching all bug changes.