Re: [fltk.coredev] Fl_Choice initiates infinite loop

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fl_Choice initiates infinite loop Albrecht Schlosser 03:44 Jun 17 top right image
 
On 6/17/22 01:58 Bill Spitzak wrote:
I think what is happening is the RELEASE event is getting lost, so the counter thinks the button is pressed and keeps incrementing.

Yes, that was my first thought too and my first demo program opened a modal window in the callback which directs the FL_RELEASE event to the modal window and thus it is lost for the Fl_Counter widget. But this is only one of the issues.

It is probably worth while to figure out why the event is not getting delivered,

See above for one possible reason. But unfortunately that's not all that can happen. I'm currently investigating another issue...

... but it would be possible for the counter to check if the mouse is currently held down before repeating the timeout.

That's something I'm definitely going to look at.

--
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/f51fd5e3-0ad0-9e22-74ad-d4aca9d32a1d%40online.de.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.