Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: XP Mode keeps focus when app launched from host taskbar

09 Feb 2010   #1

Windows 7 Ultimate (64-bit)
XP Mode keeps focus when app launched from host taskbar

Hi everyone,

Sorry for the convoluted title, I couldn't think of a simpler way to describe it in one sentence. Here's what's happening...

I'm running Windows 7 Ultimate (64-bit) and I use Windows XP Mode every day for my work. (long story, not relevant!) I've found a very strange behaviour, and wondered if anyone else has noticed this. It's tripped me up a few times.

Try the following steps to reproduce the phenomenon:
  1. Open Windows XP Mode from within Windows 7.
  2. Position the Windows XP Mode window to ensure the Windows 7 taskbar is still visible.
  3. Open Notepad within Windows XP Mode.
  4. Write some random text in the Notepad window.
  5. Click on an icon on the Windows 7 taskbar to open a pinned program such as Firefox.
    IMPORTANT: This should be one click, don't use ALT+TAB, just click once on an icon that's already visible.
    ALSO IMPORTANT: It must be a program that's NOT already open. The problem is only evident when Windows 7 launches the program as opposed to switching to it. If you're reading this article in Firefox, using Firefox will only re-focus this window!
  6. At this point the application will open in Windows 7. (Firefox in my example)
  7. Now, use your keyboard to attempt to interact with the program. This will depend on the app you're using of course, but any keyboard shortcut or keyboard input other than ALT+TAB would be valid here. If you've got the same problem as I have, you will see that the keypresses are received by Notepad within XP Mode, NOT the application you just launched.
This has caught me out so many times. I have two monitors and I usually have Windows XP Mode maximised in my 2nd monitor. I've frequently tried to open Firefox in Windows 7 and then used a keyboard shortcut like CTRL+E to focus the search box or ALT+D to focus the address box, only to find that the keypress has been received by Windows XP Mode rather than Firefox. I then have to delete the text from the other program and click on Firefox with the mouse before repeating the process with the focus in the right place.

Is anyone else seeing the same thing? Is this a bug with Windows XP Mode or Windows 7?

My System SpecsSystem Spec
09 Feb 2010   #2

Microsoft Community Contributor Award Recipient


Interesting. I have no idea why this happens, although only when XP Mode is maximized. When in windowed mode the application opened from host's taskbar gets the focus.

My System SpecsSystem Spec
09 Feb 2010   #3

Windows 7 Ultimate (64-bit)

Quote   Quote: Originally Posted by Kari View Post
Interesting. I have no idea why this happens, although only when XP Mode is maximized. When in windowed mode the application opened from host's taskbar gets the focus.
Ah, that's an interesting observation. You're right. I just tried my usual test and it only happens when XP Mode is maximised. In some ways that makes more sense - it's much less likely to happen in that case because if you have it maximised on the primary monitor, the taskbar is hidden behind it. In my case, however, with XP Mode maximised on the 2nd monitor, the taskbar is still visible on the 1st.

Does anyone know how I should go about reporting this bug to Microsoft? I've reported a few things in Microsoft Connect before but they were in .NET and Visual Studio. I don't see a channel for Windows 7 or Virtual PC.
My System SpecsSystem Spec


 XP Mode keeps focus when app launched from host taskbar

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
single click taskbar icon to restore/lose app focus
i have a "window/app focus" challenge that's driving me nuts! :cry: previously, if i had 2 apps open, i could single click app 1's respective Taskbar icon to restore (minimize)/lose (set) focus. the aforementioned method would also minimize or maximize the app 1's window as the focus changed. ...
Backup and Restore
How to make Windows ALWAYS give focus to taskbar applic that I click?
Hi How can I get Windows to always take me to what I click on? e.g. Suppose I have 3 applications open - Firefox, MSIE and Excel and suppose I click once on each one on the Taskbar. With each single click I get taken to that application. BUT if I click on Excel TWICE I get taken back to...
General Discussion
Can one get VBA help on host when Access on XP mode guest?
I'm building an application for a client who only has ACC2003. So I'm running ACC2000 in XP Mode on my Win7 Pro box using the integration features to run the application. My brain, however, has developed leaks and I frequently need to cruise VBA help for syntax reminders and such. If I click...
closing windows with Alt + F4 puts focus on Taskbar -- how do I fix?
a big frustration I'm having with Win7 is my inability to close a lot of open windows using a keyboard shortcut. In Mac and Ubuntu, I can just repeatedly tap Ctrl + Q (Command + Q in Mac) to close one window after another quickly (eg, before shutting down). But in Win7 I'm often presented with the...
General Discussion
XP Mode Application to use Host IE8/Outlook
I have a client that I just installed 2 new PCs with Windows 7 Pro and enabled XP mode for both of them so they could run a legacy application. The legacy application runs perfectly in this setup, but one function inside of it opens up a webpage to show a generated PDF file. When it launches the...
XP Mode VM faster than host
Hi, We are testing a specific software in Windows 7 XP Mode, but for our surprise, the results are incredible. We run a specific query to the database and it took 11 minutes to finish the task when using XP Mode Virtual Machine. But when we execute that same query to a clone installation of...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:45.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App