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

Ian Wadham <iandw...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|NOR                         |VHI
           Severity|normal                      |major

--- Comment #3 from Ian Wadham <iandw...@gmail.com> ---
Thank you very much for helping narrow this down, Duncan.

The problem is that the KSudoku code is not able to create the data-structures
used by ANY of the "Custom" puzzles (those that are not vanilla Sudoku squares
or Roxdoku cubes). Consequently it is unable to go on and fill the structures
with data for a puzzle to be solved and then display the puzzle. So it remains
in the Welcome screen code (src/gui/welcomescreen.*), where the user can choose
another type of puzzle.

The failure is detected in Game CustomGame::createGame(...) and bool
CustomGame::createSKGraphObject() (both in src/gui/gamevariants.cpp). I
strongly suspect that the error occurs somewhere in the serializer code
(src/gui/serializer.*), as called by the line:
    m_graph = ksudoku::Serializer::loadCustomShape(m_url, 0, errorMsg);
in CustomGame::createSKGraphObject().

In other words, any puzzle type that is constructed by one of the XML files in
src/shapes fails to be created. These puzzle types are a majority of those
available in KSudoku, so the problem is catastrophic.

The relevant KSudoku code has not changed recently, so it looks as though some
recent change (in the last month or two) in XML handling, in Qt5 or in the KF5
environment has brought on this problem.

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

Reply via email to