esitarski / CrossMgr

Cyclo Cross Management Application
MIT License
40 stars 20 forks source link

Change lap number mid race not behaving as expected #136

Closed moth754 closed 2 months ago

moth754 commented 3 months ago

CrossMgr 3.1.55-20240510104656 Windows 11 10.0.22631 Build 22631 Dell Latitude 5420 Rugged

Mid race, clicking in the normal location in the categories tab to bring up the window to change the number of laps does not have any effect. Typing in a new number of laps in the category tab for the relevant category initially reverts back to previous number. With repetition new number sticks. Results screen still shows previous number of laps. Competitors starting final lap (if lap count increased) still have finish flag next to name but not an arrow. Extra lap times do record ok, and after the first one additional lap shown in results tabs.

ChainGangEvents commented 3 months ago

Want to add to the above that when the option "Lapped riders continue" is checked and one close and open the race the check is gone and it defaults to "unchecked". Maybe on purpose, but previous versions were not like that.

esitarski commented 3 months ago

Did this happen when using RFID? Let me know.

I think your issue is related to the number of laps doesn't seem to "take". Screen data "commits" when you leave the screen. In many cases this is what you want as it allows a number of changes to take place in one "transaction" which allows for multiple changes at once (for example, moving a bib number from one category to another) without being in a weird state between changes. However, it also causes confusion, especially during a race, when you want changes to be immediate. Unfortunately, there isn't a lot I can do about this as it is a "feature" (aka "limitation") of the toolkit.

So, I added a much easier way to change laps directly from the Record page.

To see how this works, fire up CrossMgr and click on Tools|Simulate Race...|Mass Start. After a few times have rolled in, on the Record page, click on the Status bar for a Start Wave (say Junior Men) (lower part of the screen). You can also click on the Category name.

This brings up the SetLaps dialog. This dialog allows you to play around with the number of laps by changing the Proposed Race Laps field. You get all the data about the current and proposed laps including the estimated winner time, last rider on course, etc. You can also set an Early Bell time using the Tap for NOW to set it immediately (you can also set the Early Bell time from the Chart page). When you are satisfied, lock it in by pressing OK. If you want to use CrossMgr's estimated laps, set Proposed Race Laps blank and press OK.

Changes made in the Dialog take effect immediately, and you don't have to fiddle in the Categories screen.

On Mon, May 20, 2024 at 4:02 AM ChainGangEvents @.***> wrote:

Want to add to the above that when the option "Lapped riders continue" is checked and one close and open the race the check is gone and it defaults to "unchecked". Maybe on purpose, but previous versions were not like that.

— Reply to this email directly, view it on GitHub https://github.com/esitarski/CrossMgr/issues/136#issuecomment-2119894565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGXKMJF4SR2BUD5NEELATZDGUZJAVCNFSM6AAAAABH6UZR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZHA4TINJWGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Edward Sitarski

moth754 commented 3 months ago

Ah thanks! That makes sense. Tested and working