It doesn't seem trivial to test with FL_RELEASE, the release event doesn't 
reach my button's handle method for some reason. Anyway, I want it to be 
FL_PUSH, so if it's not crucial, I'll skip that test.

The seriously bad performance (about 1 minute) that I got before when 
triggering the clear with the middle mouse button push seems to have improved 
anyway, I realize I wasn't clear on that before. Now, triggering the clear both 
from outside or from an FL_PUSH event on the button in the Fl_Scroll takes 
about 1000ms.

/Andreas


> Am 23.02.2010 22:35, Andreas Ekstrand wrote:
> > Albrecht,
> >
> > After a complete rebuild of my application, the mysterious error with 
> > Fl_Browser disappeared - must have linked with some old stuff.
>
> Okay. That's good.
>
> > Anyway, the results with your recent code is that clear takes about 1000ms 
> > for me, somewhat better compared to the "original" 1500ms, but far from the 
> > 60ms that your previous solution gave.
>
> Does it change, if you change from FL_PUSH to FL_RELEASE event?
>
> I still have to find out, why the fl_fix_focus stuff sends all
> these events.
>
> Albrecht

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to