Bug 502420

Summary: detections being late or missing in digital electricity game
Product: [Applications] gcompris Reporter: Peter Fok <peter>
Component: generalAssignee: Jazeix Johnny <jazeix>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video of it

Description Peter Fok 2025-04-04 19:20:07 UTC
Basically in the digital electricity game, if it gets too laggy then the ABD converter doesn't detect changes until a few seconds later or not at all I tried it on a fast and slow computer and it happens the same. I was messing around and making a counter that goes to 10000 and it had like 30 wires per digit and it was super laggy and when it counted to 100 it didn't sometimes and when I did a test it would change 10 seconds after it was supposed to even though nothing was changing and I'm pretty sure it's not my programming skills.
Comment 1 Peter Fok 2025-04-04 19:38:45 UTC
so I optimized my counter and it still misses it sometimes and its inconsistent so I know its not my coding skills
Comment 2 Peter Fok 2025-04-04 20:05:15 UTC
I got to 9999 like a few times and i think it can't count to 10000 even with the optimized method
Comment 3 Jazeix Johnny 2025-04-07 17:02:47 UTC
hi, thank you for the report.

The activity is not made to be this heavily targeted. We can try to optimise it a bit but for sure we won't plan to have the most optimized version.
Do you have a screenshot or a simple way to reproduce it so it is easier to see where we take time and see if there is a quick possibility to improve it?

Thanks!
Comment 4 Peter Fok 2025-04-07 20:04:07 UTC
Created attachment 180078 [details]
video of it