Re: [fltk.bugs] Crashes on double click on browser

2011-07-17 Thread Stuart Galloway
Hi Jim, Thanks for responding. I am sure this is really programming problem rather than an fltk2 bug so I have put a post up on the general forum with my code and problem. On tracing the problem it occurs in next_visible() in relayout() when fltk tries to check visibility on a null widget.

Re: [fltk.bugs] Crashes on double click on browser

2011-07-17 Thread Stuart Galloway
Hi Jim, Thanks for responding. I am sure this is really programming problem rather than an fltk2 bug so I have put a post up on the general forum with my code and problem. On tracing the problem it occurs in next_visible() in relayout() when fltk tries to check visibility on a null widget.

Re: [fltk.bugs] 1.3.0 freezes in Fl_Menu_Item

2011-07-17 Thread Albrecht Schlosser
Hi Jim, On 13.07.2011 03:01, Jim Jozwiak wrote: The application is nut-16.13 from nut.sourceforge.net. To recreate the problem, go to the View Foods tab and find a food, such as baked russet. The food will come up, but at this point the application freezes. gdb usually tells me fltk is

[fltk.bugs] [MOD] STR #2680: Fl_Menu regression: potential endless loop with unusual menu flags

2011-07-17 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2680 Version: 1.3-current According to this thread in fltk.bugs: http://www.fltk.org/newsgroups.php?gfltk.bugs+Q%221.3.0+freezes+in+Fl_Menu_Item%22 there is a potential

Re: [fltk.bugs] [MOD] STR #2680: Fl_Menu regression: potential endless loop with unusual menu flags

2011-07-17 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2680 Version: 1.3-current FWIW, here is my *complete* patch, including the test case and lots of printf() statements I used to find this particular problem with the user's

[fltk.commit] [Library] r8863 - in branches/branch-1.3: FL src test

2011-07-17 Thread fltk-dev
Author: greg.ercolano Date: 2011-07-17 09:40:41 -0700 (Sun, 17 Jul 2011) New Revision: 8863 Log: Fixing STR #2679; Fl_Table makes use of FLTK's Fl::scrollbar_size() global. Modified: branches/branch-1.3/FL/Fl_Table.H branches/branch-1.3/src/Fl_Table.cxx

Re: [fltk.development] 1.3.0 ABI

2011-07-17 Thread Greg Ercolano
On 07/16/11 20:57, Michael Sweet wrote: Yes, no incompatible ABI changes in patch releases (you could have a method that refers to the global default, but not add something to the class that would change the size...) If someone can supply the new text, I can do the footwork

Re: [fltk.development] 1.3.0 ABI

2011-07-17 Thread Albrecht Schlosser
On 17.07.2011 08:24, Greg Ercolano wrote: On 07/16/11 20:57, Michael Sweet wrote: Yes, no incompatible ABI changes in patch releases (you could have a method that refers to the global default, but not add something to the class that would change the size...) If someone can supply the

Re: [fltk.development] [RFE] STR #2679: Fl_Table: this is patch is changeing size of scrollbar (for the size is takeing from scheme/theme, but do not from constant of source).

2011-07-17 Thread Greg Ercolano
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2679 Version: 1.3-feature Fix Version: 1.3.1 (r8863) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2679 Version: 1.3-feature Fix Version: 1.3.1 (r8863) ___ fltk-dev

[fltk.development] [RFE] STR #2681: Fl_Table::scrollbar_size() method needed

2011-07-17 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2681 Version: 1.4-feature Fl_Table needs a local scrollbar_size() method, similar to Fl_Tree, Fl_Browser, etc. Once added, adjust test/unittest_scrollbarsize.cxx to call

Re: [fltk.development] 1.3.0 ABI

2011-07-17 Thread Greg Ercolano
On 07/17/11 02:01, Albrecht Schlosser wrote: On 17.07.2011 08:24, Greg Ercolano wrote: On 07/16/11 20:57, Michael Sweet wrote: Yes, no incompatible ABI changes in patch releases (you could have a method that refers to the global default, but not add something to the class that would change

Re: [fltk.development] LGPL question

2011-07-17 Thread Greg Ercolano
On 07/16/11 20:37, Michael Sweet wrote: We should drop the reference to gnu.org and just refer to it as the FLTK License... If someone can supply the new license text that we should use, I can do the footwork of the mega-diff. ___

[fltk.general] Problem using user defined list for browser

2011-07-17 Thread Stuart Galloway
I initially posted this on bugs but it is really just a programming problem so I am moving to this forum. The problem is that I have defined my own class to hold data for an fltk2 browser. have assigned the list to the browser. I fill the list from a data base query which then shows in the

Re: [fltk.general] Problem using user defined list for browser

2011-07-17 Thread Ben Stott
Hi again Stuart, I really can't tell from such a small snippet of code, but I'm guessing children() returns more children than actually exist - it seems to return the size of the top-level vector (but if it's being called from a first child (or second child / etc, where there exist less

Re: [fltk.general] Problem using user defined list for browser

2011-07-17 Thread Albrecht Schlosser
On 17.07.2011 08:38, Stuart Galloway wrote: The problem is that I have defined my own class to hold data for an fltk2 browser. have assigned the list to the browser. I fill the list from a data base query which then shows in the list. I agree with Ben that it is almost impossible to see