Re: [fltk.bugs] [MOD] STR #2796: Fl_Tree: scrollbar position not recomputed when items are collapsed
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current Fix Version: 1.3-current (r9400) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current Fix Version: 1.3-current (r9400) ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [MOD] STR #2796: Fl_Tree: scrollbar position not recomputed when items are collapsed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current I don't think the demo 'tree' has "collapse all" / "open all" buttons, but it probably should. I'm about to make a large commit to Fl_Tree, so I'll add buttons for 'open all' and 'collapse all' so this can be exercised. I'll also see if I can "fix" this while I'm at it, as I've added a 'marginbottom()' method that lets one control how far beyond the bottom of the tree a person can scroll. I'll see if I can use that as a 'minimum position'. To replicate what I think the OP was getting at: 1) Run test/tree 2) Open the "500 items" node 3) Select the '%00 items' node 4) Scroll to the bottom 5) Hit 'Remove Selected' (removes '500 items' node and its children) You now find yourself scrolled to a position far beyond the bottom of the tree, and have to scroll all the way through 'nothingness' to find the bottom of the tree. Arguably the tree should prevent one from being able to be scrolled 'beyond the bottom' of the tree. I've seen this issue with other FLTK widgets as well; Fl_Browser has always had it I think, and I think others (Fl_Scroll?) Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [MOD] STR #2796: Fl_Tree: scrollbar position not recomputed when items are collapsed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current Could you elaborate how to reproduce that bug with the demo tree app ? Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #2796: Fl_Tree: scrollbar position not recomputed when items are collapsed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current David Fleur writes on fltk.general: "When positioned at the end of the tree item list (scroll to the max down position) and click "collapse all", the scroll bar is not recomputed and stays at the end, so the tree seems empty. We had to scroll it manually up to resize the valuator and see the items." Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs