This problem is easy to reproduce. Here's how we understand this problem: * Application A has the keyboard focus. * User switches to Application B using Alt-Tab. * After a while, User switches back to Application A using Alt-Tab.
As the developer of Application A, I would expect to see the keyboard focus automatically restored in Application A, without having anything special to do for that. However this is not the case. Not being part of the Alt-Tab machinery, we assume that this is a Java[tm] bug. The problem is that upgrading to Java 1.6 has not solved it. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6458497 See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6526971 (THIS SUGGESTS THAT DOWNGRADING TO JAVA 1.5 MAY FIX THE PROBLEM) All in all, we don't see what we can do to help. "John L. Clark" wrote: > It is time to resurrect an ancient (well, three-year-old) thread[0] > and poke once again at a bug that, as far as I can tell, remains > unsolved[1]. Some Windows users (including myself and some of my > users) experience a productivity inhibitor when we Alt+Tab from XXE to > another application and back again. *Some of the time*, switching > applications this way causes the focus to move to XXE's menu bar, and > so if the user just tries to enter content normally, she may actually > be triggering XXE commands, instead. > > I wanted to report that I am still seeing this bug and to provide some > additional information. Here is my platform: > > - XXE Professional Edition 3.6.1 > - Java(TM) SE Runtime Environment 1.6.0_01 > - Java HotSpot(TM) Client VM 1.6.0_01-b06 > - Windows XP 5.1 x86 (2002 Professional, Service Pack 2) > > As far as I can tell, this bug exhibits when switching between XXE and > any other application, and it also exhibits regardless of whether XXE > is maximized or not. After observing the problem for a while, I have > a hypothesis for the kind of user behaviour that triggers this bug. > In particular, it happens whenever you finish your Alt+Tab sequence > (switching away from XXE) by releasing the Alt and Tab keys at nearly > the same time. To be even more precise, I believe it is most > reproducible when you start to release the Alt key immediately before > you start to release the Tab key. Obviously, it happens fast, and it > takes some practice to trigger the bug consistently. I will certainly > admit that this is very subjective evidence, but I hope it helps, > nonetheless. > > Take care, > > John L. Clark > > [0] http://www.xmlmind.com/pipermail/xmleditor-support/2004-August/002180.html > > [1] > http://www.xmlmind.com/pipermail/xmleditor-support/2004-January/001717.html >

