Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread David
Le 04/01/2012 21:44, Greg Ercolano a écrit : Ya, looks like it's spending a lot of time calling find_child(). Apparently I never bothered to implement pointers to keep track of 'next' and 'last' to speed up walking the tree. Will follow up with a fix for that too

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread Greg Ercolano
On 01/04/12 11:36, Greg Ercolano wrote: > On 01/04/12 11:19, David Lopez wrote: >> Greg: >> I downloaded the entire release: >> http://www.fltk.org/software.php?VERSION=1.3.0&FILE=fltk/snapshots/fltk-1.3.x-r9217.tar.bz2 > > OK, I'll check. Ya, looks like it's spending a lot of time

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread David FLEURY
Le 04/01/2012 20:36, Greg Ercolano a écrit : > On 01/04/12 11:19, David Lopez wrote: >> Greg: >> I downloaded the entire release: >> http://www.fltk.org/software.php?VERSION=1.3.0&FILE=fltk/snapshots/fltk-1.3.x-r9217.tar.bz2 > > OK, I'll check. I think the issue is when handling the click ev

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread Greg Ercolano
On 01/04/12 11:19, David Lopez wrote: > Greg: > I downloaded the entire release: > http://www.fltk.org/software.php?VERSION=1.3.0&FILE=fltk/snapshots/fltk-1.3.x-r9217.tar.bz2 OK, I'll check. ___ fltk mailing list fltk@easysw.com http://lists.easy

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread David Lopez
Greg: I downloaded the entire release: http://www.fltk.org/software.php?VERSION=1.3.0&FILE=fltk/snapshots/fltk-1.3.x-r9217.tar.bz2 > On 01/04/12 09:06, David FLEURY wrote: > >> Sorry about disturbing you, but I just tested the code attached in > > STR #2795 with r9217 under WinXP 32 and its per

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread Greg Ercolano
On 01/04/12 09:06, David FLEURY wrote: >> Sorry about disturbing you, but I just tested the code attached in > STR #2795 with r9217 under WinXP 32 and its performance is unusable. There shouldn't be anything platform specific about the optimizations. >> Is it possible that I am ma

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread David FLEURY
> Sorry about disturbing you, but I just tested the code attached in STR #2795 > with r9217 under WinXP 32 and its performance is unusable. > With my PC (Intel Core 2 Duo with 2GB RAM) it takes always more than 30 > seconds to a clicked item to get selected. > The scrolling (using scrollbar) howe

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree-performance and scrollbehaviorissue]

2012-01-04 Thread David Lopez
Sorry about disturbing you, but I just tested the code attached in STR #2795 with r9217 under WinXP 32 and its performance is unusable. With my PC (Intel Core 2 Duo with 2GB RAM) it takes always more than 30 seconds to a clicked item to get selected. The scrolling (using scrollbar) however is fas

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree -performance and scrollbehaviorissue]

2011-12-28 Thread Christophe Geuzaine
On 27 Dec 2011, at 17:16, Greg Ercolano wrote: > On 12/26/11 18:43, Christophe Geuzaine wrote: >> Hi Greg - Just tested the new version, it works great! There's one little >> bug though: the "connections" between the items are sometimes missing. To >> reproduce [..] > > Yes, replied to yo

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree -performance and scrollbehaviorissue]

2011-12-27 Thread Greg Ercolano
On 12/26/11 18:43, Christophe Geuzaine wrote: > Hi Greg - Just tested the new version, it works great! There's one little > bug though: the "connections" between the items are sometimes missing. To > reproduce [..] Yes, replied to your email on 12/25, but for some reason your orig

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree - performance and scrollbehaviorissue]

2011-12-26 Thread Christophe Geuzaine
On 25 Dec 2011, at 02:24, Greg Ercolano wrote: > On 12/23/11 11:06, Greg Ercolano wrote: >> On 12/22/11 12:27, David FLEURY wrote: >>> You are right, I will see for a Tree Item solution, to avoid regression >>> somewhere else. >>> I do not know well enough fltk to have any opinion on this subjec

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree - performance and scrollbehaviorissue]

2011-12-25 Thread Greg Ercolano
On 12/25/11 07:05, David FLEURY wrote: > Your patch runs my test well. > Well done. Great -- note small follow up fix in r9217 that fixes a 'connector' problem that Christophe noticed: http://fltk.org/newsgroups.php?gfltk.general+v:34131 So definitely apply that if

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree -performance and scrollbehaviorissue]

2011-12-25 Thread Greg Ercolano
On 12/25/11 09:50, Greg Ercolano wrote: > On 12/25/11 01:41, Christophe Geuzaine wrote: >>OK, just checked in r9216 which should optimize Fl_Tree > >> There's one little bug though: the "connections" between >> the items are sometimes missing. To reproduce: >> >> launch test/tree >> set "Line

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree - performance and scrollbehaviorissue]

2011-12-25 Thread Greg Ercolano
On 12/25/11 01:41, Christophe Geuzaine wrote: >OK, just checked in r9216 which should optimize Fl_Tree >>quite a bit. David, please give it a try: >> > There's one little bug though: the "connections" between > the items are sometimes missing. To reproduce: > > launch test/tree > set "Lin

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree - performance and scrollbehaviorissue]

2011-12-25 Thread David FLEURY
> On 12/23/11 11:06, Greg Ercolano wrote: > > On 12/22/11 12:27, David FLEURY wrote: > >> You are right, I will see for a Tree Item solution, to avoid regression > >> somewhere else. > >> I do not know well enough fltk to have any opinion on this subject. > >> Just try to make my tests work for my

Re: [fltk.general] X11 coordinate clipping [was: Re: Fl_Tree - performance and scrollbehaviorissue]

2011-12-24 Thread Greg Ercolano
On 12/23/11 11:06, Greg Ercolano wrote: > On 12/22/11 12:27, David FLEURY wrote: >> You are right, I will see for a Tree Item solution, to avoid regression >> somewhere else. >> I do not know well enough fltk to have any opinion on this subject. >> Just try to make my tests work for my own configu