|
|
On 6/17/22 01:36 Rob McDonald wrote:
On Thursday, June 16, 2022 at
3:00:55 PM UTC-7 Albrecht Schlosser wrote:
(5) Another attempt to fix all known issues is my a new
patch Fl_Counter_v2.patch (attached). It's likely not the
final solution (fixing symptoms only) but it's a start.
Rob, can you please:
(a) test and (hopefully) confirm that this patch fixes your
issue too?
I tried this patch (thanks for the prompt work). It helps,
but isn't a fix...
When I click the counter, it now increments two values
(usually) and then stops. It doesn't skip from 2 to 4, I see
the intermediate 3. It goes 2, 3, 4 and then stops -- for a
single click.
Occasionally (once out of 20+ attempts) it will only
increment by one (my sequence switched from even to odd).
In my demo I need to hold the mouse button for a "significant" time.
This time is presumably longer than 0.1 sec which is the repeat
timer of Fl_Counter. This can be seen clearly in the existing code:
if the FL_RELEASE event is delivered before the timer event the
internal variable `mouseobj` is reset and the timer repetition is
terminated.
Is it possible that your mouse button "click" lasts longer than 0.1
sec?
(b) open a GitHub Issue describing the issue in a short
form so the issue won't be forgotten. You can refer to this
discussion for further information [1]. I will investigate
further and (hopefully, again) find a proper solution later.
Thanks for finding the issue and your support in testing.
[1] Link: https://groups.google.com/g/fltkcoredev/c/daKlBxeOJVk/m/D-MPHPiCAAAJ
I'll create the issue. Thanks for your prompt attention to
this.
Thanks for opening the issue.
--
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/1706ae70-9625-8472-5942-cd7c20b06a46%40online.de.
[ Direct Link to Message ] | |
|
| |