I appreciate your efforts, Albrecht. It was a nice try anyway. Looking forward to the other, less-effective-but-maybe-sufficient solution later. :-) I hope it won't be too much later though...
/Andreas > Albrecht Schlosser wrote: > > Andreas Ekstrand wrote: > > >> Unfortunately, I discovered a serious problem with the new solution. > [...] > >> Maybe we have to cheat somehow by setting children_ to 0 before the > >> loop in Fl_Group::clear? Or do we end up with the same bug as in > >> previous versions then? > > > > Yes, this can't be done. It was one of the reasons that the old version > > could crash. :-( > > > > I'll have another look at it, but I'll probably have to revert it, > > because it's too difficult to solve now. Sorry. > > I reverted the change in svn for now and I will perhaps not be able > to work on this in the next few days. It's a pity that it didn't > work, but I knew that there was an inconsistent state during the > delete loop. I didn't expect this fix_focus/send_event problem > though, but this is definitely a show stopper. > > I have a less effective modification (but faster than the current > code) in mind, but as I wrote before, I can't promise a fast > solution now. Sorry :-( > > Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
