Turn Counter still having issues

Hello,

I have updated to v3.7.22 and am creating a new module with a board. I add a Turn Counter, then add several sub-components (level 1) below (Start Game, Peace Turn, War Turn, End Game). The Peace Turn and War Turn have Counter sub-components (level 2) that loop (start 1, increment 1, max 14). The players may hide the Peace Turn. I save the module, quit, and edit it. I start a new game to test it.

I click the Turn button to show it. It shows ‘Start Game’. I right-click to configure, uncheck the Peace Turn (the only option listed), and save. I then hit the + expecting to go to War Turn. However, the Peace Turn still shows.

I have also tried restarting Vassal and running just the module (non-editor), and I get the same problem.

In version 3.7.18, you list bug fix #14013: Fix Turn Counter displaying hidden list items. However, this bug still exists.

Seems that the configure flag is not being set nor remembered correctly. Stepping backward from Peace Turn to Start Game and then going forward did skip the Peace Turn. But that’s not the only point at which hidden lists items should be skipped. Also looping around back to the start seems to lose the configure flag. I’ll take another look at this. Thanks for pointing it out.

A fix for this has been submitted. I don’t think it will make it into 3.7.23. If you can’t wait, for the time being there is a build available in the Vassal builds folder Vassal Development Builds
Search for VASSAL-3.7.23-SNAPSHOT-4c7d597-listturn-inactive and download the one appropriate for you operating system.