On 03/06/2011 08:26 AM, Albrecht Schlosser wrote: > > DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. > > [STR New] > > Link: http://www.fltk.org/str.php?L2584 > Version: 1.3-feature > > > I tried Firefox and Tunderbird on Win7, and for me it looks like this: > > - tooltip stays forever, if the mouse is not moved > - tooltip closes, if the mouse moves more than a few pixels from the > origin, where the tooltip was triggered for the first time > (you can move the mouse in a small circle as long as you like) > - if it was closed, it doesn't reappear until the current widget is > left and entered again > - there are exceptions to the previous rule (sometimes it *does* come > back again) > > I think these rules are generally reasonable. If you want to read a > tooltip for a longer time, keep the mouse where it is. If you want to > dismiss the tooltip, move the mouse again, but stay within the widget or > area that is responsible for this particular tooltip. > > FLTK seems to close the tooltip only if the mouse moves at/over the > tooltip window, but then it is opened again at another spot. I agree that > this is not very useful. > > I believe that a simple timeout is not very user friendly. Either it's too > long or too short, and changing it globally wouldn't help because there are > longer and shorter tooltips, or you know them already after a while... > > Maybe we could implement something like the rules described above? I > didn't look at the code, it's just my observation... > > > Link: http://www.fltk.org/str.php?L2584 > Version: 1.3-feature
FLTK 2 works the same way. I agree it is broken in that you cannot get rid of the tooltip. However I have also been annoyed with the timeout tooltips in other programs that disappear before I get a chance to read them. The above idea of having the tooltip vanish if you move the mouse more than a small amount sounds right to me. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
