Bug 240947

Summary: Red background problem
Product: [Applications] ksudoku Reporter: NitroGL <roberto>
Component: generalAssignee: Johannes.Bergmeier
Status: RESOLVED DUPLICATE    
Severity: normal CC: codestruct, cybermonktitan, iandw.au, kde-games-bugs
Priority: NOR    
Version: 0.5   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Left-middle 1 is not red. Why?

Description NitroGL 2010-06-06 22:11:13 UTC
Version:           0.5 (using KDE 4.4.3) 
OS:                Linux

In every game (actually I've tryed only "Sudoku 9x9" and "4x4" before making a generalization), if you start typing all the number in sequence, only the right number of the final solution has not a red background: solving the puzzles is reduced to a lazy typing of all numbers and choosing the right one.

Reproducible: Always

Steps to Reproduce:
1. open the program
2. choose a Sudoku 9x9
3. place the cursor in any cell (either mouse or keyboard)
4. begin typing any number
5. BUG: only the right number of the final solution is not in a red background!


Expected Results:  
I expected that very BASILAR checks would have been performed, while playing not-clearly-wrong numbers.

OS: Linux (x86_64) release 2.6.33
Compiler: gcc
Slackware64: 13.1
Comment 1 Gregor Mi 2018-05-16 01:17:56 UTC
Created attachment 112679 [details]
Left-middle 1 is not red. Why?
Comment 2 Gregor Mi 2018-05-16 01:18:34 UTC
I am not sure if I understood the report correctly. I have created screenshot where I wonder why the left-most "1" in the middle line is not marked red.
Comment 3 Ian Wadham 2018-05-16 03:15:55 UTC
I think NitroGL is saying that you can cheat if you have the red highlight on for errors. Just try every possible number in a cell until one comes up correct. So what?

I would mark this as a WONTFIX.
Comment 4 Gregor Mi 2018-05-16 08:02:38 UTC
Hmm, in Configure KSudoku > Game, the "Show Errors" option is described as "Highlight in red any cells whose values break the Sudoku rules.".

I suggest to
- rename "Show Errors" to "Highlight Rule Errors" and
- add another option "Highlight wrongly placed numbers" with the description "If you place a number which is not correct for the final solution, it will be highlighted. Beware that this mode is an easy way to cheat."
Comment 5 Gregor Mi 2018-05-16 08:08:00 UTC
Revise last comment:

I suggest to

- Rename "Show Errors" to "Highlight wrongly placed numbers" with the description "If you place a number which is not correct for the final solution, it will be highlighted. Beware that this mode is an easy way to cheat.". Easy fix. [bug fix]

- Add a new option "Highlight Rule Errors" with the current Show-Errors description "Highlight in red any cells whose values break the Sudoku rules.". This implies implementing new logic. [wishlist]
Comment 6 Gregor Mi 2018-05-16 09:09:14 UTC

*** This bug has been marked as a duplicate of bug 164939 ***