cutpoint count incorrect

Started by LociOiling

LociOiling Lv 1

The cutpoint count in the objectives area is not correct in some cases.

For example, open puzzle 2202. From the starting position, open three cutpoints in the extended chain. The cutpoint message still reads "1 cutpoints need closing".

In one case, clearing the last cutpoint left the cutpoint condition unsatisfied, and the score remained invalid. It's not be possible to reproduce that condition.

Puzzle 2202 did show more cutpoints on one design. In that case, closing cutpoints didn't change the message in the objectives area. Closing the last cutpoint cleared the message and made the score valid again, however.

20220922-c1d8d9cd80-win_x64-devprev

LociOiling Lv 1

If a solution with cutpoints is saved and shared, the cutpoint count is correct when the solution is opened on another client.

On the original client, opening a different puzzle from the puzzle menu, then opening 2202 again also corrected the cutpoint count.

Adding a cutpoint, then opening puzzle 2202 again from the cutpoint menu (on top of itself) removes the cutpoint message from the objectives area, but the score remains invalid. Opening a different puzzle, then opening 2202 again, restored the cutpoint message and corrected the cutpoint count.