First I wanted to add that it's indeed something quite annoying when I copy-paste from or just look at another source (Web page, Word, etc.) frequently during the editing.
It seems that the problem is that when you quickly hit an Alt + Tab, sometimes you release the Alt too early compared to the pressing of the Tab key. In that case XXE will perceive a regular hitting of the Alt key before Windows grabs the control with its task switched popup. So you are already in the menu when you leave XXE, and when you switch back to it, you will be still there. But why you don't perceive the same problem in other applications? I'm not sure, but if not for other reason, then simply because when an application loses focus, it always leaves the menu, so it doesn't mater that you have accidentally entered the menu a moment ago. For whatever reasons XXE menu doesn't lose focus when and only when you have entered the menu with the Alt + Tab bug. To fix the bug, it would be enough to hook up the application-lost-focus or even the application-has-focus-again event (if it exists in Swing), and there ensure that if the menu has focus it loses it. (BTW, another peculiarity of XXE menus compared to a native Windows application is that when you enter the menu bar with Alt, you can't move between the menu items with Tab.) -- Best regards, Daniel Dekany Thursday, August 2, 2007, 8:36:24 PM, "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 > > -- > XMLmind XML Editor Support List > xmleditor-support at xmlmind.com > http://www.xmlmind.com/mailman/listinfo/xmleditor-support

