|
|
Clicking a Fl_Choice will kick off an infinite loop with the choice repeatedly incrementing and firing off repeated events. Instead of incrementing from 0 to 1, it goes to 1, 2, 3, 4, 5, 6, etc.
This behavior depends on how long my program takes to respond to the event. If my program is fast, the bug does not appear. However, if my program takes 'too long', then the Fl_Choice sends another event and it slips into the infinite loop.
I manually bisected this behavior down to this commit:
29d9e31c51e6c Consolidate timeout handling across platforms (#379) Albrecht Schlosser
The current tip of master (d8eb1f9ca46) still has this problem.
I am on MacOS.
I have not tried to duplicate this in any of the test programs - or to create a MWE. I'm hopeful that this will start a conversation and perhaps someone will see the problem with the new timeout handling code.
Best,
Rob
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/26615c69-ba20-4fdf-b19d-4da4c1fecdabn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |