DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1979
Version: 2.0-feature


1) if you place an assert(!layout_damage()) to the end of the function.
it fails even with test/pack
2) the current version of layout() at least to me seems to be too magical
to be working(why exactly 2 iterations?)
3) ATM I've solved it with adding
  if(layout_damage()){
      Group::layout();
      layout_damage(0);
  }
to the end of the function

offtopic: it came to me in a very hard reproducible bug in my app,
as lagging menus. after some 5-6 hours of playing with it, I've noticed
that PackedGroup::layout() was called ~1000 times more than when it
doesn't lag


Link: http://www.fltk.org/str.php?L1979
Version: 2.0-feature

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

Reply via email to