On 17.03.2011 12:24, MacArthur, Ian (SELEX GALILEO, UK) wrote: > >>> Yup - the Albrecht patch sorts the nav order, but shifts the defualt >>> focus to "choice2" rather than "choice0". >> >> Really "choice2" ? In my test it's "choice1", and "choice1" ought to >> be the correct one (compared with fltk 1.1 and before the patch). > > What platform ar eyou on just now?
Win7 with MinGW. > I'm on WinXP at the moment, and the focus is definitely choice0 > pre-patch and choice2 post-patch. Yes, I see it now too, but fltk 1.1 is different (see below). > Maybe there's a more general issue with the focus cross-platform? I don't know, but we should check this. However, I can't do it right now; no more time. But one last for now. I see focus "preference" like this in my tests on Win7 and Linux: fltk 1.1: (1) text input, (2) button 1, (3) button 0. fltk 1.3 (pre-patch): (1) text input, (2) button 0 (as you wrote). fltk 1.3 (patch 2): as shown above for fltk 1.1. According to the existing code the fltk 1 behavior is the *intended* behavior. There must have been a *regression* in fltk 1.3 WRT focus handling and take_focus(), maybe the recent hotspot and label additions. (?) Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
