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: window focus issues (windows 7 pro x64)

08 Mar 2011   #21
Kieg

Windows 7 all versions
 
 
New Windows do not get focus

Hello NoN, yes that is the value I see as well. Just change it to 0 and reboot, then see if that is suitable to your needs.
Basically, Windows 7 is trying to make each application work more nicely together. If the new windows was opened by the active program then it will appear on top and have focus, but if the new window was opened by another process then it will place it below the active window and not have focus. I can understand this logic and have actually always wanted it, eg: if you are typing in Word and the Internet Explorer download just finished, then you type a space. IE download window has just taken focus and your space selects the default behaviour or cancelling the download. With this new behaviour the IE window has appeared below the Word window and is waiting on the Start Bar for attention.
In reality it would appear that many programs spawn other processes that then open windows. In one example I have, the new window appears below the active window, but the active window knows it opened a dialog box and will not do anything until the dialog is answered, but the dialog is not in Start Bar and it is below the active window, so it is a catch-22 situation, can't answer the dialog because you can't get to it.
Once I verify this fix then the next step is to see if I can make it so the new window appears on top but the original active window remains active in the background. That should show the dialog and let you click to select, but still allow something like Word to continue typing without being interrupted.
The logic seems pretty straight forward, it makes you wonder what sort of people are programming at MS to not have this sorted from day one (Windows 3).


My System SpecsSystem Spec
.
08 Mar 2011   #22
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

Thanks Kieg, I'll try that but i will decrease the value first and see how the open windows will focus. I have actually some optimized settings in HKCU\Control Panel\Desktop and i do not want to mess too much the desktop preview. I'm afraid that setting to 0 straight forward might make the system unstable on my laptop.

Thanks again!
My System SpecsSystem Spec
08 Mar 2011   #23
Kieg

Windows 7 all versions
 
 

It should be easy enough to change back if anything does not work as you expect it to.
My System SpecsSystem Spec
.

08 Mar 2011   #24
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

Quote   Quote: Originally Posted by Kieg View Post
It should be easy enough to change back if anything does not work as you expect it to.
Yes, i guess i'll backup the registry key in that case...


EDIT:
Is this was the "Prevent From Stealing Focus" back in TweakXP v2, so so...?
My System SpecsSystem Spec
14 Mar 2011   #25
NoN

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
 
 

Just to let know some people around that this Tip:

([HKEY_CURRENT_USER\Control Panel\Desktop]
3. Modify the existing value named ‘ForegroundLockTimeout’, modify the value to 0. (this value will cause the application to take the focus instantly.)

is not Compatible with the one here:

Mouse Hover Makes Window Active - Enable

I found it more worst of windows focusing when decreasing the value in registry. One or the other!
My System SpecsSystem Spec
25 Jun 2014   #26
rrtx2000

Windows 7 32 bit and Windows 8.1 64 bit
 
 

This sounds like the same issue I had on my Windows 8.1 system. I fixed it by using the Advanced settings in the Folder Options (The same place as the options for "Display the full path in the title bar" and "Don't show hidden files, folders or drives"... etc are).

Instructions for Windows 8.1: This PC (Or My Computer) - View tab - Options - View tab - and check the "Launch folder windows in a separate process" check box.
My System SpecsSystem Spec
Reply

 window focus issues (windows 7 pro x64)




Thread Tools




Similar help and support threads
Thread Forum
Window focus is stolen but doesn't go anywhere
Hi I'm having a problem with my windows randomly unfocusing. It's extremely annoying while typing because every few seconds I have to re-click on the window to continue typing. It's like an application is stealing the windows focus but no new window pops up and no window has focus. The problem...
General Discussion
how do I get the top-most window to always grab focus?
I just got a new computer and it has Windows 7. Windows 7 is driving me nuts because the top-most window will not automatically get focus. For example, say I have Windows-Explorer and Notepad open. I have Notepad focused and am working in it. I then close Notepad, which leaves Windows-Explorer...
General Discussion
Windows 7 JavaScript issue window.focus()
Hi I am using Windows 7 and IE8 in my application. I am opening a new pop window using window.open(). After submit, my request will reload the same opup. While reloading the page is hiding behind the parent window. I have tried using window.focus() to bring the popup front, its not working. This...
Browsers & Mail
window loses focus
For some reason the "focus" goes away from the page I'm on and my cursor disappears Whether it's in Word on the Internet etc. I can click back on the page and it reappears. The "title" bar lightens up so the focus must be going to another program. It happens no matter what I'm looking at. Hide...
General Discussion
Focus is being lost on current window and goes nowhere
I've begun losing focus about every 10-20 seconds when I'm in an active window. It happens no matter what I'm using, including explorer, outlook, windows, excel, etc. My windows maintenance is up to date and it seems to have begun for no reason at all. My usual 80 wpm on word is down to under 40...
General Discussion
Window focus getting lost every few seconds
Since past 2-3 weeks I have noticed an issue that bugs me too much. The focus on a window keeps getting lost automatically. Lets say I am reading a page or writing in a textbox (like this one), the current focus would automatically get lost and again need to click somewhere in the program. I...
General Discussion


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 18:44.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App