Skip to main content
21 votes

How to detect a background program (in Windows 7) which steals active focus automatically?

I used http://www.happydroid.com/focus and left the PC running over night to find the program that was stealing the focus.
limex's user avatar
  • 351
12 votes

Active window (program) unexpectedly loses focus in Windows 7

The focus is probably stolen by a buggy background task. It opens a window, which steals focus, and it is very quickly closed, but the focus does not return. Lately, Microsoft Office had such a bug. ...
Palec's user avatar
  • 486
5 votes

Active window (program) unexpectedly loses focus in Windows 7

In my case it was that wermgr.exe (Windows error reporting) started again and again. I followed the below solution to stop it from starting automatically, and that solved the problem. Start button -> ...
Pampam's user avatar
  • 51
5 votes

How can I make a tab in Firefox falsely believe that it still has the focus?

The Grease/Tamper-monkey answer doesn't work on Facebook watchparties, but manually removing the blur event handlers works in Chrome 75: In Firefox the same should be achievable using the Inspector ...
Cees Timmerman's user avatar
3 votes

how to prevent new windows from stealing focus in gnome

That didn't work for me in Ubuntu 16.04. Nor did adjusting Desktop>wm>preferences>auto-raise via the dconf Editor. What does work is making sure you have the compizconfig-settings-manager installed. ...
Luke Kendall's user avatar
3 votes

How can I make a tab in Firefox falsely believe that it still has the focus?

I don't know if this will work for anyone who might still come to this page, but I found a Firefox extension called, "Always active Window - Always Visible." This came about because I was ...
Guest's user avatar
  • 31
2 votes

Active window (program) unexpectedly loses focus in Windows 7

in my case, and probably all lenovo pc's/laptop cases, the issue was with lenovo svcguihlpr.exe which start working every few minutes and taking the focus without UI shown... this process is Lenovo ...
Oded Maimon's user avatar
2 votes

prevent any app from stealing focus in windows

From : windows-10-stop-any-application-from-stealing-focus-ever-is-it-possible Start the Registry Editor (Start button + R, then type regedit) Search for HKEY_CURRENT_USER\Control Panel\Desktop\...
Madhubala's user avatar
  • 1,862
2 votes

AutoHotkey - application loosing focus when enabling full screen mode

How about this? *$vk14:: ; Capslock { Send {vk11 Down} ; Ctrl Sleep 50 Send {vk27 Down} ; Right arrow Sleep 50 Send {vk11 Up} ; Ctrl Sleep 50 Send {vk27 Up} ; Right arrow }...
KulaGGin's user avatar
  • 299
2 votes

focus to newly opened terminal

I know this thread is 3 years old already but I've been suffering from the same problem lately as I moved from plasma to cinnamon. This is what I came up with Add this to your .zshrc(or any other ...
Gray K's user avatar
  • 21
2 votes

Active window (program) unexpectedly loses focus in Windows 7

I had this problem, I thought the timing was random but it was not, in my case it was as trivial as: wallpaper changes! I had a slideshow as wallpaper and every time it changes, the focus goes to the ...
Motassem Kassab's user avatar
1 vote

Thunderbird losing window focus during email composition

I've found out what it is - Thunderbird itself is causing the problem! If it auto-checks for new emails when I'm writing them, the email window loses focus to the main Thunderbird window. I found out ...
wittyfool's user avatar
1 vote

Give focus to file when clicking on it in the Explorer View

It's been more than one year that they broke this feature and it's still not fixed. The GitHub issue however mentions a possible fix, which will be good enough for some users: Launch VS Code From the ...
laurent's user avatar
  • 5,619
1 vote

How to Automatically change the focus of Windows Explorer to a highlighted file? - Windows 10

Pressing down-arrow then up-arrow, e.g. - requires 2 keys, but is fairly facile solution to the use-case, which I too encounter.
capr's user avatar
  • 11
1 vote

Active window (program) unexpectedly loses focus in Windows 7

I used task manager to look for background processes, and Synaptics Touchpad was the culprit. The 'driver' was on constantly, but another process by Synaptics was popping up every few seconds and ...
Cameron's user avatar
  • 11
1 vote

Active window (program) unexpectedly loses focus in Windows 7

In Regedit (Hold down Start Button+R, then type regedit), change the HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundLockTimeout value from 0 to 30d40 . Save and restart the computer.
Heikki Sonninen's user avatar
1 vote
Accepted

How can I prevent some hotkeys from being redirected to the remote PC with VMWare Horizon Client?

The mentioned document (also available as HTML) lists the default value for "Hotkey combination to release input focus": When this setting is disabled or not configured, the user can ...
mainzelM's user avatar
  • 154
1 vote
Accepted

Removing Windows 10 double focus rectangle

You can go in "Control Panel\All Control Panel Items\Ease of Access Center\Make the computer easier to see" and uncheck the "Make the focus rectangle thicker":
Simon Mourier's user avatar
1 vote
Accepted

How to redefine mouse click onto Firefox' address bar to work as Ctrl+L

Enter the Firefox internal configuration: about:config Find the following setting: browser.urlbar.clickSelectsAll Enable it, i.e. set it to: true That's it, your single-click now behaves like ...
Vlastimil Burián's user avatar
1 vote

How do I make the focus rectangle in Gtk3 more prominent?

The focus indicator in Gtk3, similar to HTML, is defined as a CSS outline style: […]:focus(visible) { // We use the outline properties to signal the focus properties // to the adwaita engine: ...
grawity_u1686's user avatar
1 vote
Accepted

xwindows / GTK Focus bug

The list of issues linked to is diverse, and seems to be about some different causes. There is, however, one issue within GTK+ which can cause symptoms like this, and is persistent as long as the ...
Michael Schumacher's user avatar
1 vote

Focus follows cursor but only in Win(7) Explorer

It was happening because I had 'Classic Shell' enabled. I thought to choose the opposite setting (single-click) in Windows Explorer, just to see what would happen, but when I opened the Folder ...
bobsnephew's user avatar
1 vote
Accepted

AutoHotkey - application loosing focus when enabling full screen mode

#If WinExist("ahk_class ArtRage 3") Capslock:: WinActivate, ahk_class ArtRage 3 WinWaitActive, ahk_class ArtRage 3 Send {Ctrl Down}{Right}{Ctrl Up} ; Ctrl Right is the key I set to ...
Relax's user avatar
  • 3,655
1 vote

Active window (program) unexpectedly loses focus in Windows 7

I was having the problem of the active window losing focus every few seconds. I would have to left-click to keep on typing. Maddening. I noticed that the color scheme for the areas around the edges ...
JBMenzies's user avatar
1 vote

On Windows 7, is there any way to make the scrollwheel's focus follow the mouse?

AltDrag, which is a tool to enable Linux-line moving and resizing of windows by clicking anywhere while holding the ALT key, also has this feature. In the configuration. under General, select "Scroll ...
Ropez's user avatar
  • 111
1 vote

How to update Preview.app from the command line without losing focus on Mac OS X?

The is a rather old thread. I don't know whether you can do this 10 years ago. But currently you only have to open -g xxx.pdf
Haodong Du's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible