|
|
On Thursday, June 16, 2022 at 7:54:21 AM UTC-7 Albrecht Schlosser wrote:
FWIW: I can replicate the issue with Fl_Counter (sic!) and calling
fl_message() in the callback.
Minimal test case (counter.cxx) attached.
Note that this test program exhibits the issue on Linux (git
current) and even before commit 29d9e31c51e6c. In fact, it's also
"broken" in FLTK 1.3 (git branch-1.3 latest). I didn't bother to
test on macOS (yet).
The fact that your program worked on macOS before changing the
timeout handling was supposedly only luck (not your "fault" ;-) ). I
didn't test my demo program on macOS yet, awaiting your response
with more info (see questions above).
FYI: My demo program can be "fixed" with both changes given in the
attached Fl_Counter.patch independently but this is only a first
proof of concept, not a real solution. However, if your issue is
similar to what I *guessed* then you might want to
test the patch and report if any one of the changes (each one,
separately) fixes the issue for you.
Looking forward to your reply. TIA.
On my Mac, neither of the proposed fixes help the situation.
I tried it with both fixes -- and it _maybe_ made a slight improvement. The first time I pressed the button, I had success, but the second time, it initiated the infinite loop.
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/852887a0-f162-4366-856d-0edbc0522696n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |