Version: 0.5 (using 4.1.4 (KDE 4.1.4), Kubuntu packages) Compiler: cc OS: Linux (x86_64) release 2.6.27-11-generic Regular 9x9 game, extra hard :-) When saving a game, tentative entries (right-clicked) in the diagram are saved, but when loading the same game, they are not displayed. They only appear in some field after a (dummy) right-click in that same field. This means that they are saved and restored alright, but an operation show_all_tentatives() is missing in the Game/Load procedure. Cheers, Joost.
*** Bug 211223 has been marked as a duplicate of this bug. ***
Created attachment 66632 [details] This patch fixes the bug for me
Thanks very much for this one-liner, H.H. It works for me too and solves a problem that has been puzzling me for a month or two, since I got the Load action to work again. I will incorporate your fix into KDE 4.8 trunk. I think I see how your patch works. View2DScene::init() is called every time a game starts and a view is created. It sets up cells, but not markers, but that does not matter when a puzzle is generated or entered in, because there are no markers. The Load action is different: the loaded puzzle can have markers. By adding update() to View2DScene::init(), we do the cell changes again, but also the markers this time around. Is that your understanding?
SVN commit 1268367 by ianw: BUG: 188162 FIXED IN: KDE SC 4.8 Ensure that markers are displayed after a Load action. M +3 -0 view2d.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1268367
this was a quick and dirty fix by trying and testing and it worked as expected :) maybe there is a better solution. btw in kde-4.7.3 I think the difficulty-slider does not work - I have the feeling, the difficulty is always easy there. But that works in trunk.
There must be some redundant code in there somewhere. The fix does some things twice, but only on infrequent occasions, so it does not really matter. Yes. The old generator/solver created mostly easy puzzles in KDE 4.7, so I wrote a new generator/solver for KDE 4.8. I hope you are enjoying the challenge ...
*** Bug 296515 has been marked as a duplicate of this bug. ***