https://bugs.kde.org/show_bug.cgi?id=405422

--- Comment #2 from Duncan <1i5t5.dun...@cox.net> ---
(In reply to Ian Wadham from comment #1)
> I used to be maintainer/developer for KSudoku, but am out of touch with it
> now. However I will try to help narrow this problem down.

Thanks.

> The message you are getting seems to be from the "welcome" screen (where you
> choose a puzzle type). It was added to the code in April 2017, see
> https://phabricator.kde.org/D5671.

I did grep the error in the source, trying to see if I as a non-coder but
reasonably experienced gentoo user/admin who routinely runs live-git of
selected packages, reading git logs and sometimes generating patches on my own
(I had some basic and pascal classes back in the day and back before I left MS
behind did intermediate visual basic, but only really know bash on Linux),
could figure out what was triggering it, but no real luck beyond finding out it
was in the welcome-screen code, as you mention.  I'm not familiar with the
(from memory) color-coding generation as mentioned in the comments, so saw the
numbers lists associated with some of the games but don't understand the
generation mechanism and was too tired to reason it further, so left it at
that.

> Do you stay on the welcome screen after you see the message?  Please confirm.

Yes.  I stay on the welcome (aka game chooser) screen.  The message is a popup
asking me to choose another game, so staying on the chooser screen is to be
expected.

> Please can you give me a precise list of the names of the puzzle types for
> which you get the message. For example, which "6x6" are you using, the one
> with rectangular blocks or the Mathdoku - Settable Size with size set to
> 6x6? Or maybe both?
> 
> You say that games smaller than 9x9 seem to fail, but what about variant
> (non-Classic) games of size 9x9, such as Killer Sudoku, Aztec, Jigsaw or
> even Samurai?

Looks like it's not just size; almost everything fails.  These are the only
ones that don't generate the error:

Standard-9x9, Roxdoku-9-3x3x3, Sudoku-16x16, Sudoku-25x25, Roxdoku-16-4x4x4,
Roxdoku-25-5x5x5.

I don't believe I had tried Mathdoku-settable-size so didn't know how the size
was set, but it appears to be an option in the ksudoku config.  Neither the
existing size of 6, nor the maximum 9 nor minimum 3, would give me a game, only
the now familiar error.

> Your comments about compiler and Qt changes may also be a clue. There is
> some very old code in KSudoku (2007-08 vintage) that I have never dared
> touch. Perhaps some of that has been rendered invalid or works differently
> now.

Before investigation I suspected it might be something like an xml-parser
update breaking parsing of whatever generator rules files were used, but the
files don't seem to be XML-based so that's out.  But whatever it was that
changed, is obviously now treating perfectly valid "rules files" (for lack of a
better term at this point) as invalid.  I checked for file corruption, etc,
too, and came up empty.

> I regret that I cannot actually build and test the latest KSudoku code,
> because I now work on an Apple Macbook and am unable to build KF5 and Qt5.
> 
> BTW, it does not surprise me that the clock wraps around, but I think you
> might find Samurai (five 9x9 grids) more fun than a 25x25... :-)

The 25x25 was an accidental click (touchpad...), that I decided to actually try
once it was generated and displayed.  Fine to do once to say I did it but I
doubt I'll do it again, especially now that it's getting the negative
association of this bug, tho it most likely had nothing to do with it and
that's only chance.  But it's a negative association, none-the-less, and those
don't have to be logical to be powerful...

Anyway, For that sort of longer puzzle I'd prefer a larger size
Palapeli/jigsaw, and have done ~900 pieces on it before, as my family used to
do jigsaws and it takes me back.  My main 65-inch 4K TV-as-monitor is about the
size of the boards we'd put the puzzles on, too. =:^)

I do I believe it's ksudoku windmill (unfortunately can't confirm ATM...)
occasionally tho and like it.  Samurai looks to be similar.  I'll check it (and
Sohei) out when I get things working again.  Thanks.  =:^)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to