Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [window-focus]

The tag has no usage guidance.

0
votes
0answers
22 views

Bring launched processes to foreground in OSX?

I recently installed the suite of qemu utilities (using brew if that matters) on OSX Mojave. QEMU is working as expected, though it does not have focus when launched from the terminal (iTerm, ...
0
votes
0answers
50 views

Severe Linux Mouse Click and Window Focus Issues

I have recently been trying to get a working Linux install on my main PC. My PC runs on a GTX 1060. I've been having this issue where my mouse won't click properly in what looks to be a properly ...
1
vote
1answer
151 views

How to prevent programs stealing focus in Mint Linux 19?

I would like to prevent programs from stealing window focus in Mint Linux 19. I have tried changing the "Prevent focus stealing" option in the Windows preferences dialog (see screenshot below), but it ...
0
votes
0answers
27 views

How to make a browser HTTP Auth window non-modal?

Many scam websites use HTTP Basic Auth windows or JS alert windows to prevent the user from navigating away from the page. Here's an example of a fake Windows technical support webpage: Since the ...
0
votes
1answer
114 views

bring an application into a fullscreen mode using bat or vbs file

I tried this method, where i put application name between "" and it doesn't worked even on notepad... Than i tried bat file start /f "applicationname.exe" exit/b And it said that /f is invalid ...
2
votes
1answer
167 views

Alt+Tab Prevents Return to Microsoft Office / Office Hangs

This is a weird one. I've searched and haven't found symptoms quite like this. I'm using Windows 10 Pro (version 1803, OS Build 17134.254) with the latest updates, along with Office Professional Plus ...
2
votes
0answers
47 views

xmonad: mouse hover hook

I'm trying to make xmonad focus the window underneath the pointer when the mouse is moved, regardless of which window is focused. This was addressed in this question; however, the provided solution ...
1
vote
0answers
47 views

Can AutoHotKey be able to focus a panel?

Some programs have floating panels within the main window. Since the ability to focus them with keyboard only depends on the framework they are using, is there a way to use AutoHotKey to do this ...
1
vote
0answers
114 views

Foreground application stops receiving keyboard and mouse events from time to time

I've bought new Macbook 12 recently and have this annoying issue when foreground application suddenly stops being foreground. It didn't happen all the time and I cannot reproduce this issue at any ...
3
votes
1answer
434 views

Prevent gnome from changing the workspace on focus when using two or multiple monitors

Currently I'm using two monitors, one for exclusively viewing and editing code, another for doing everything else. I have hotkeys set up to focus on either sublime, or firefox or the terminal like ...
0
votes
0answers
493 views

Focus-follows-mouse for Google Chrome on macOS?

I am seeking focus-follows-mouse behavior for Google Chrome windows on macOS. The desired behavior is that if there are two browser windows, occupying the left and right halves of the screen, then ...
0
votes
1answer
82 views

How can I detect currently active window in Apple MacOS?

Recently, this started happening. I need very fast switch sorting my notes between "Date Edit" and "Title" so I lot pressing key "cmd+," then "arrow down", choose with "enter", and "escape". Now ...
2
votes
0answers
168 views

Chrome App shortcut Always opens New Window instead of Focus on existing

I've looked everywhere still didn't find an answer to this. In Chrome we can create a shortcut to desktop from a url, and open it like an App in a new window (like Google Calendar). If I click on ...
1
vote
0answers
59 views

Preventing applications from stealing focus in Windows 10 [duplicate]

There is a dated question asking for a solution for windows 7. I have recently grew tired of newly launched applications to steal focus from my currently opened window. Is there a way how to prevent ...
0
votes
0answers
118 views

is it possible to make Windows highlight the active window/app?

I've been working with Windows for a long time. A few years ago my work environment got us a second monitor to use. It was fantastic, my productivity went up. Love it! However, there's one thing that ...
1
vote
0answers
102 views

Allow process to steal focus

I see a lot of information about preventing a process from stealing focus. My question is quite the opposite: how do I ALLOW a process to always steal the focus when it so desires. Context: On a ...
2
votes
0answers
324 views

How to stop Windows 7 program from always being on top?

I upgraded Foxit reader to a new version, and now its window always has the focus. Alt + Tab will not switch now to another window. The only way to switch away from Foxit reader is to minimise it. ...
18
votes
6answers
11k views

Window in focus doesn't minimize when I click on its icon in the taskbar (Windows 10)

After applying the anniversary update, Windows 10 decided it was okay to change various settings for me. I've reversed some of the changes but one persists and I can't seem to find where to fix it. ...
2
votes
0answers
712 views

How can I force Chrome to open new tabs via middle-click/command+click/ctrl+click without focusing on them?

On most webpages in Chrome, I can middle-click/command-click to force a link to open in another tab, and it opens in a new tab while keeping focus on the tab I opened it from. On some sites/links, ...
5
votes
2answers
902 views

Why does the active Firefox window occasionally lose focus?

Occasionally, when I transition from one tab to another, the Firefox window loses focus. This is especially notable when I switch or close tabs via keyboard shortcuts. For example, I can be closing a ...
2
votes
0answers
741 views

windows: how to prevent background programs from stealing focus?

please don't misunderstand me, i do not want a tool to make a selected window always stay on top - there's already plenty of answers on SU for that question (such, as, these). what i want is that the ...
0
votes
1answer
225 views

Applications frequently losing mouse focus

I am programming in Windows 7 and the applications I am using are increasingly losing mouse focus; the system, at times, is unusable as a result. A restart does not solve the problem, Microsoft ...
2
votes
1answer
396 views

How to prevent mouse events being captured by an unfocused window?

Mouse events are being captured by unfocused windows when the mouse is over them in Windows 10. This is wreaking havoc on my ability to watch videos on my secondary monitor while playing a game on the ...
1
vote
1answer
1k views

How can I keep focus on a window after the mouse left said window

Here is a common example: I open some mp3 file on VLC. The VLC window appears and I realize the volume is too low/high. Thinking I automatically have the focus on this window I just opened, I use the ...
34
votes
8answers
45k views

How do you enable focus follows mouse in Windows 10

I'd like raise-on-click and sloppy focus-follows-mouse on Windows 10 because this is the setup I've been using on Windows and Linux for years. Under Windows 10, I tried the regedit Xmouse changes ...
0
votes
1answer
6k views

Keep multiple windows focused at once in Win7? [duplicate]

At the risk of this becoming XY, I'll state my purpose. A few games (such as Kingdom Rush) have this annoying habit of automatically pausing when you click in another window (so that the game window ...
2
votes
1answer
99 views

Windows 7 Unable to Focus

I've been trying to dig around to see if I can find this issue to no avail. Doing anything in windows 7 to get the focus of a window besides clicking on the window or using Windows+Tab has no effect. ...
2
votes
1answer
1k views

Windows 7 - Constantly switching focus to nothing

I have this strange problem where Windows (7) is just changing focus all the time. I tried using the Focus.exe (http://www.happydroid.com/focus) it shows every time this happens the line: No ...
1
vote
1answer
3k views

How to track a program that changes the window focus [duplicate]

I have a newly reformatted PC and I just finished installing all the programs, drivers and hardware applications (like samsung magician, Logitech gaming software, etc) that I needed. I work with 2 ...
2
votes
0answers
110 views

Start program without focus

How can I start a program from a python script without its window becoming focused? Specifically, I'm using ImageMagick's display. Environment: Linux Mint 17, Cinnamon 2.2.16
3
votes
1answer
2k views

Background application windows will not overlay foreground app windows when they recieve focus

The symptoms are, that some (not all) desktop app windows will stay in the background, behind other windows, even though I have click on them, which would normally make that window receive focus and ...
4
votes
0answers
34 views

is there a way to disable Windows from switching window focus when I am typing? [duplicate]

Sometimes when I am typing in a notepad, command prompt, webpage, or the file explorer address bar, or even any other place where typing is allowed, it happens that the currently active window loses ...
1
vote
0answers
727 views

Programs won't have focus when opened

Whenever I open any program on my laptop, the program opens up without focus. I have to click the program window in order to gain focus. If I have another window open already, the new window will ...
3
votes
1answer
6k views

Is there a way to automatically move focus to whatever monitor the mouse cursor is on?

Let's say I have two monitors A and B. I have a program x open on A and another program y open on B. Currently, program x has focus. I would like the OS to maintain a stack of focused applications on ...
0
votes
2answers
7k views

Find active window with VBS script

I need to auto-refresh the desktop every 10 minutes. The only full-working way I found is using this VBS code. Sh.AppActivate "Program Manager" Sh.SendKeys("{F5}") But in this way the active ...
2
votes
1answer
881 views

Mouse focus stuck (Linux)

Sorry for crappy post layout, posting from my phone. Problem: mouse focus gets stuck. Not sure how to explain it, I can sometimes get it to switch to a window, but once there it's locked until that ...
1
vote
0answers
415 views

Windows 7 Update Dialog Steals Focus

Windows Update runs occasionally on my machine, but it steals focus when it pops up to remind me to reboot. Trouble is, this can mean that while writing something, you could force an immediate reboot....
1
vote
1answer
2k views

Using Alt-Tab moves mouse to centre of newly focused window

I'm getting used to Linux way of giving focus to a window just by hovering over it with the mouse. I've found it's possible to get the same effect in Windows by changing a byte in HKEY_CURRENT_USER\...
2
votes
1answer
640 views

Can I stop an OS X application getting focus after it has loaded?

If a program takes some time to load, I like to continue working on something else. But then when that program finishes loading, it gets focus. Specifically, I am working in Eclipse, and then also ...
1
vote
1answer
115 views

How to diagnose regular focus losses

I'm having some strange effects on my computer which I am having trouble diagnosing. 1) When in Netflix (or other web-based video app) in full screen mode, full screen is exited every 50 minutes (...
1
vote
0answers
225 views

Execute command when urxvt gains/loses focus

I would like to notify programs running in urxvt whenever they (meaning the urxvt window they are running in) gained or lost focus. Is this possible? If there is a standard solution for this, I'm ...
4
votes
5answers
15k views

Windows 8 keeps losing focus [duplicate]

All of the windows on my Windows 8 computer have started to lose focus every minute or so and get focus back quickly. Any ideas what this could be? I have tried to see which application is using ...
1
vote
2answers
61 views

Switching to the File-In-Use dialog with the keyboard?

In Windows Vista and up, when you try to move, delete, or rename a file that is locked, Explorer will display a File In Use dialog that lets you Retry or Cancel. The problem is that this dialog is ...
1
vote
3answers
949 views

How to stop a website from automatically taking me out of fullscreen mode

I was wondering if there was a way to prevent a website from taking me out of fullscreen mode? I use TubePlus.me and they serve ads on their pages - revenue - I get that. However, when I watch a ...
19
votes
2answers
7k views

How do I tell which app stole my focus in OS X?

The active window on my machine occasionally loses focus. The active app remains the same -- if I was in Chrome before, I'm still in Chrome now -- but the active window is no longer active. No window ...
14
votes
4answers
4k views

How can I make my active window more obvious on Windows 7 without disabing transparency?

Since I started using Windows 7 I have noticed that I am accidentally typing in the wrong window more often than I used to. Using the Aero theme, the visual difference between the window with active ...
18
votes
17answers
68k views

Active window (program) unexpectedly loses focus in Windows 7

Something is shifting (stealing) focus from my active window (active program) in my Windows, as I'm currently using it. I have the same problem as described in this question, with a few exceptions: ...
1
vote
0answers
598 views

Is there a way to handle separate input devices for different windowed programs, without losing/switching window focus?

I am trying to work out a solution for a faux-splitscreen setup where there are 4 windowed programs (4 separate instances of a game); each with their own input devices and window focus. In essence, I ...
2
votes
1answer
455 views

Bluetooth “Receiving” window stealing focus on Windows 8.1

I am new to Windows as a daily OS at home, having been an OSX user for the past 8 years. The current most irritating thing at the moment is the Bluetooth "Receiving" window/dialog stealing focus and ...
2
votes
0answers
774 views

Windows 7 Window focus issue

This problem has been making me crazy - I can't seem to figure out the cause of it. When I have overlapping windows, if I click on the window "behind" the one that currently has focus, it doesn't ...