From: Ethan M. <merritt@u.washington.edu> - 2004-07-06 01:29:15
|
On Monday 05 July 2004 05:07 pm, Hans-Bernhard Broeker wrote: > > But now I've found a truly ghastly factor influencing one of the problems > I described: it depends on where the gnuplot text window pops up, relative > to the current position of the mouse. If the mouse pointer is at rest > while starting wgnuplot.exe (current version) via the keyboard, and it > happens to be sitting *inside* the newly popped-up wgnuplot text window, > the first keypress will be lost. This is insane. OK. So it takes one event (does Windows call them "events"?) before focus is given to the new text window. That sounds like a Windows bug, pure and simple. Why did it not strike before? I don't know. But the work-around would seem to be to have gnuplot itself generate a junk event of some sort on entry, so that the first event is something other than a keypress. Or maybe there is an explicit "gain focus" call? |