Greg wrote: > On 11/29/12 23:42, corvid wrote: > > I can't click on a deactivated item to select it, but I can select > > it with the space bar. (And then I remembered seeing ctrl-A in the > > source to select all, and that worked as well.) > > Hmm, I can't replicate that. > > If I run the test/tree demo compiled against the last > patch, and change Selection Mode: to "Single", > I can select deactivated items with either spacebar > or left-click, with and without the Ctrl- modifier.
If I click on item 222, then Deactivate, then click 333, I see that 222 is grey. If I click on 222 again, it gets the focus box, but 333 remains selected. > > I do notice that if you hold down ctrl and the button, and move the mouse > > a little, the item becomes selected again, which doesn't happen with > > FL_TREE_SELECT_MULTI, but I'm not sure whether that matters. > > Thanks: I can replicate and it should be fixed. > > Can replicate using the test/tree demo with "Selection Mode:" > set to "single"; if I Ctrl-Left on an item that is selected, > it deselects. But if I drag the mouse it re-selects (BAD), > and then remains selected as I continue the drag. > > Looks like there's a path through the "case FL_DRAG:" logic > causing that which the following should address. > > New patch against svn current (9733) which includes last patch: Seems to work! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

