Re: [Java-gnome-developer] TreeModels and warnings
Brought to you by:
afcowie
From: Igor F. <if...@re...> - 2005-06-21 16:55:53
|
Hi Andrew, Thanks for the mail. I've attached a tarball of the code in the state that it was at the time of my initial email. Since then I've changed my code and it now works. What I had is a TreeStore, with 2 TreeFilters on top of it, and another TreeFilter on top of one of the first ones. I've removed this stacking of filters and that resolves the problem. However, I don't know if stacking Filters is legal, but due to lack of any contrary evidence I assume it should be. In any case, what I found from my debugging is that it seems to be a problem with this stacking of filters. What would happen is that while the bottom filter (if you imagine them stacked up) is in its filter() method, the top filter would get called in the middle, this caused some problems, and hence the warnings I was getting. If anyone can make any sense of it, I think it would be probably useful. Thanks, Igor On Sun, 2005-06-19 at 14:02 +0930, Andrew Cowie wrote: > On Mon, 2005-13-06 at 14:03 -0400, Igor Foox wrote: > > I'm having problem tracing this problem down, it seems that in my sample > > program it doesn't happen, but happens in the real program. > > Gotta love it. > > > I must admit > > that the program has somewhat a spaghetti structure > > That's ok. Ordinarily there is a pretty high bar in the Open Source > world before releasing code, because we are afraid to be judged on our > pasta code. (I took over a month out from coding to write a configure > and Makefile scheme, just so others would be able to build my project). > > But in this case, tracking down bugs in obscure corner cases of > java-gnome that have not previously been exercised is more important. So > if you can tarball your code in some manner, then others can try and > replicate the problem. > > AfC > Adelaide > |