Kenneth Tilton wrote: > Fun bug: > > I have a listener on a text field to determine when the user presses enter: > > If I drag-select text within the string and am a little careless and > overshoot the bounds of the text field such that the mouse moves over a > nearby button (eg, the "Search" button right next to a search field): > > (a) I notice the button highlights to reflect the hover. I think this > is a deviation from standard HIG. > > (b) The keypress listener stops getting called, even though typing is > still going into the text field. > > I know the listener is still there because it resumes getting events if > I click on certain other buttons (but not all!). Simply clicking on the > text field does not convince qx to resumed calling the listener. > > My guess is that the hover highlighting I am seeing also betokens a loss > of focus, although the mystery then is why typing continues to go into > the field. Of course bugs are like that, so it is not much of a mystery. :) > > I'll go search on "keypress", but ideas are welcome. Ah, the first thing I saw mentioned specific browsers and I realized I had forgotten the obvious:
Problem exists on Chrome and Safari (ie, Webkit related?) Problem does not exist in FireFox (nor do I get a hover if I stray over the neighboring button during the drag-select operation). kt ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel