On Tue, Sep 23, 2008 at 03:12:46PM +0000, corvid wrote:
Johannes wrote:
On Tue, Sep 23, 2008 at 02:51:42PM +0000, corvid wrote:
Johannes wrote:
Yes, I can reproduce it with the tabs example from the fltk2 tarball (after adding an w->clear_double_buffer() to see the redraws). It seems to be related to the MenuTabPager that is used by default. Switching to ShrinkTabPager solves the problem for me (see patch). And I like the new look :-)
If I hold down ^N until it fills up completely with shrunken tabs, fltk segfaults.
Here it busy loops :-(
I begin to wonder how long it'll be before we end up on fltk 1.3.
Looking at TabGroup.cxx it has a hard limit of 128 tabs :-( For the release, we could simply limit the number of tabs too. There is also a disturbing static array static int p[128]; that makes me wonder if we will run into trouble with multiple TabGroup widgets (one per window) but I might be wrong. Cheers, Johannes