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: closing windows with Alt + F4 puts focus on Taskbar -- how do I fix?

16 May 2011   #1
jtodd929

windows 32bit
 
 
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 situation where tapping Alt + F4 the first time will close the window but tapping it a second time will prompt to shutdown the system (ie, after closing the first window the focus went onto the taskbar). It prevents me from being able to repeatedly tap Alt + F4 to close multiple windows. Instead i have to stop and put focus back onto one of the remaining windows i still want to close before being able to use Alt + F4 again -- a major PITA!

Any way to fix this? to get focus to land on the next open window (and NOT the taskbar) after closing a window with Alt + F4?


My System SpecsSystem Spec
.
16 May 2011   #2
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

This happens because other windows are minimized.
At the same time there is no combination to unminimize all. There is Shift+Win+M, but that is only undo for Win+M (which is minimize all).

As a solution You can use Alt+Tab to switch between minimized windows and close each with Alt+F4.
I do not see other natural (without 3rd party) fix here.
My System SpecsSystem Spec
16 May 2011   #3
jtodd929

windows 32bit
 
 

often when this happens to me an expanded window is viewable on the desktop. its "greyed out" cuase the focus has gone to the taskbar, but the window is not minimized.
My System SpecsSystem Spec
.

16 May 2011   #4
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Can you please give more info? Is that a window of a specific program? or like dialog window?
Because I can not recreate the same situation, when I click Alt+F4 focus returns to the next window.

(But in your case you still can access that grey out windows via Alt+Tab.)
My System SpecsSystem Spec
17 May 2011   #5
JDobbsy1987

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by Neutron16 View Post
Can you please give more info? Is that a window of a specific program? or like dialog window?
Because I can not recreate the same situation, when I click Alt+F4 focus returns to the next window.

(But in your case you still can access that grey out windows via Alt+Tab.)
I can replicate this issue, if I open 2 separate windows - lets say documents and pictures

I click to focus documents but then without minimising documents I click to focus pictures
In theory now when I close pictures it should take me to documents but using alt+F4 this does not happen

press it once and it closes pictures pressing it again gives me the shut down option.
My System SpecsSystem Spec
17 May 2011   #6
JDobbsy1987

Windows 8.1 Pro x64
 
 

After some playing around

If i open multiple folders without touching the task bar or start menu then i can close the windows down one after another using alt+F4.

I *think* the issue is when you click the start menu between windows as when you close the first screen windows moves it's focus to the "next in line" which was the start menu.

That's what it seems to be for me anyway, however i don't know how or if you can change this.

@Neutron16
Try replicating by doing the following...

Quote:
Click the Start Orb >> Click Documents >> Wait until its open >>
Click the start Orb >> Click Pictures >> Wait until its open >>
Now press alt+F4 and 'Pictures' close.
Now press alt+F4 again and you get the shutdown option.
I hope this can help someone to help jtodd929

Regards,
JDobbsy1987
My System SpecsSystem Spec
17 May 2011   #7
debugged

Windows 7
 
 

Here's an autohotkey file - not my invention, but it's easily found, I just packaged it up for you or whoever wants to give it a go - works for me, but YMMV of course. It just tells Windows to loop around everything on the desktop and close it, which is what you want.
close-all.rar


My System SpecsSystem Spec
Reply

 closing windows with Alt + F4 puts focus on Taskbar -- how do I fix?




Thread Tools




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
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,...
Virtualization
Hotkey for closing taskbar items?
Hey, Quick question: Does anyone know if there is a hotkey to close an item on the taskbar? I know you can open them with Windows key+ 1,2,3,etc But for example if I am watching a video in firefox (current window) and want to exit my music player(songbird, minimized in the background) So i...
General Discussion
Windows getting stuck on taskbar after closing
Occassionally the window of an ended process will get stuck on the taskbar. That is, it will appear in the taskbar with the original icon, but no title, and the original process is not running anymore according to the task manager. They seem to be stuck down there until I log off and on again -...
Performance & Maintenance
Windows 7 Feature Focus Windows Taskbar
Paul Thurrott's take on the new Superbar Windows 7 Feature Focus Windows Taskbar | winsupersite.com
News


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 04:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App