chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
584 stars 166 forks source link

Black box crash when showing solution on solved state #651

Closed AndyPandy27 closed 3 months ago

AndyPandy27 commented 3 months ago

Describe the bug When selecting 'show solution'(not verify guesses) after solving a black box puzzle, the app returns to the puzzle select screen and resets the puzzle if it is selected again

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Black box
  2. Solve the puzzle as normal, or use show solution and undo to get the solved puzzle
  3. Select 'Show solution' in the menu
  4. Puzzle crashes, resets and returns to puzzle select

Expected behavior Shows 'Puzzle already solved' dialogue To mirror the original website: Shows 'CORRECT' dialogue

Version info (optional, but sometimes helpful)

mquevill commented 3 months ago

This seems like a duplicate of #650, which has been fixed, but may not have rolled out to you yet. I can confirm that it is fixed in v2024-03-10-2312-80aac310 through the Play Store.

chrisboyle commented 3 months ago

Yes, that'll be the same issue. The version with the fix is in beta, so there are three ways to get it, in increasing order of adventurousness: