Corrupt hints in Gnome Sudoku 2.24.1.1

Bug #309968 reported by Edmond Dantes
2
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Description: Ubuntu 8.10
Release: 8.10
gnome-games: 1:2.24.1.1-0ubuntu1
Gnome Sudoku 2.24.1.1

With "Always show hint", hints get corrupted after an undo of a "Fill All Squares" thet resulted in an infeasible assignment.

Try it:
1. Select "Always show hint"
2. Fill a squares with guesses
3. Execute "Fill All Squares" command until infeasibility is reached
4. Undo steps that led to infeasibility
5. Hints will not be updated to the original values, even after cleared and reset.

Revision history for this message
Adam Calafrancesco (godnessgracious) wrote :

Yeah, I guess your right. Left behind some x's and such.

Revision history for this message
Lupine (thelupine) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better, but unfortunately I've been unable to reproduce your issue on Ubuntu 8.10. Can you provide a screenshot of the exact error you are describing?

Changed in gnome-games:
status: New → Incomplete
Changed in gnome-games:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
Edmond Dantes (edantes) wrote :

0. New (very hard)
1. Select "Always show hint" (screenshot 1)
2. Fill a square (6,1) with guess "1" (screenshot 2)
3. Execute "Fill All Squares" command until infeasibility is reached (screenshot 3)
4. Undo steps that led to infeasibility (screen shot 4)

Hints were not updated. Compare screenshots 1 and 4

Revision history for this message
blackest_knight (blackest-knight) wrote :

Its not just me then I have had the same problem in fact I went so far as to duplicate a game in an online sudoku and confirmed the numbers used were valid and the puzzle solvable.

It's related to the undo routines you add a tracker and get stuck and when you tell it to clear the tracker it seems to get stuck with the impossible squares.
 Even telling it to ignore the impossible squares it still doesnt recognise the completed game with valid values in every square.

in the one case I recall there were two pairs opposite each other each in a unique region two in the top row two in the bottom
they should have had 89 in the top and 98 in the bottom indeed it didnt really matter which way round the two pairs should go either position would have been valid.

However as I went to retrieve a saved messed up game it was restored with two of the squares cleared rather than completed and entering the correct values completed the game.

maybe its the case where two nearly identical sudoku's are valid that this causes the problem. clearing a square , heck clearing the board would not get rids of the x in the bottom left hand corner of the effected squares.

so as a work around saving and restarting the game seems to clear the bug, presumably only completed squares are recorded on a saved game without the history.

this is with
GNOME Sudoku 2.24.1.1 on ubuntu intrepid

Changed in gnome-games (Ubuntu):
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this is working fine on lucid tried the same test case you provided and the hints are updated to the original values, could you try the same on Lucid or Maverick there? Thanks.

Changed in gnome-games (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-games (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.