Is There a Solution for Focus-Hungry Apps?
V.Toulias asks: "Over the past few years, I have seen a rise in the percentage of applications installed in my Windows box that do not ask nicely for my attention but force themselves into view when they think they have something important to tell me. Mail clients that pop-up into view when a new email is sent or received, instant messengers that pop up when a new message arrives, browser pop-ups that... pop-up even though the page is loading in a 'background window', informational OS messages, It-seems-that-you're-writing-a-letter app helpers, security warnings and the list goes on. It doesn't take a science study to realize the adverse effects that this phenomenon is causing on your productivity and concentration. So, apart from the obvious suggestion of switching OS, is there any other solution to this disturbing trend?"
Most applications allow you to disable many of the pop-up stuff that you're talking about right in the options menu. Outlook has it for new email. MSN I believe has this feature (I use Trillian, but Windows Messenger has that option). I've never had Firefox pop up trying to steal attention...except for update I believe. Windows security warnings can all be disabled through the control panel. You can disable Clippy. Just look through the options menu. It's there, somewhere. If there isn't an option anywhere to disable it...google that specific app. There's probably a registry key you can mess with.
Go to the microsoft website and download the power toys, I believe the program is called Tweak UI. Here you can adjust focus settings and get rid of that stupid yellow balloon that keeps popping up.
If you have a Linux box either with X or without to connect to, then do it (install X on the Windows box first, if necessary). X programs tend to work much nicer.
Or, just don't use X at all. Install a program like screen to manage terminal applications, and then use them instead.
You can also install Cygwin and use it. There are replacements for nearly everything.
mutt/pine for email
lynx/w3m for web
emacs/vim for editing
etc.
Much nicer and faster, in my opinion.
The single most annoying thing to me as far as GUIs on any system is when I'm trying to type or click something and some self-important GUI app steals my focus and pops up on top of what I'm working on. I'd be happy with a GUI system that would let me replace SetFocus (or whatever they call the equivalent) with a big fat no-op.
The second thing I'd like to do is disable those stupid XP security warnings the poster talks about.
So far, I haven't been able to find a way to do either.
Use two monitors, and do your real work on the secondary screen.
I assume you're talking about Windows. This happens on the Mac to some extent, usually when launching apps - eg when I launch Mail then switch back to the app I was using, of course, new windows in Mail throw themselves on the top. This was not a problem in classic Mac OS which enforced application level window layers, which - to be perfectly honest - I prefer for this very reason.
But I've found two monitors do the trick.
must... stay... awake...
It's not just an annoyance, it's a bug. For example, when I'm executing a complex keyboard operation, and a dialog pops up and steals my focus, a bunch of work may have been destroyed. It's a security issue as well. When I'm filling in a password (or having one filled in for me by automation), and an instant messenger suddenly pops up, taking those keystrokes, its a sordid tale of woe. No alert should ever take focus unless it's of the "core meltdown, imminent mass casualties" variety.
One could write an app which monitors keystrokes and tracks focus, which calculates focus independently of the window manager, and detects any discrepancies, and corrects them as soon as possible, but it will still leak events sometimes, inevitably, unless it acts as a translation filter and checks at every event for correct focus.
-I like my women like I like my tea: green-
Best is in mid-password... Here I am clacking away, and hit enter, just in time to notice that no password has been entered, and some window just dissapeared on my enter stroke... what was that, a benevolent warning message or did I just IM some random guy from egypt my password? I'll never know.
Focus stealing is a royal pain in the arse. Not only in the O/S but on web pages such as dictionary.com which likes to select the whole word youve half typed in to the box so that as you continue to type you wipe out the first half.
Anyhow a couple of points.
1. TweakUI does _not_ stop focus stealing. It tries to help but there are many apps and messages that slip through.
2. Swapping application is _not_ always viable. Either the alternative will cost a lot of cash or there is no open source equivalent that doesnt have the problem just as bad.
and a couple of opinions.
1. Focus stealing has _no_ purpose accept possibly to stress how utterly arrogant the developer was in thinking that his program is more important than what I am doing.
2. It _is_ an O/S issue. Im not so sure how bad it is with Linux and Mac's but Windows is a pain for it and it can cause serious problems. If your firewall or virus scanner gets an incorrect selection made because it pops up while your typing, thats a serious issue. It is no different to malicious emails and popups which MS try to stamp out. It wouldnt be hard for them to stop focus stealing altogether or even better have an option like in TweakUI only one that actually works fully.
Despite a lot of people being a little on the self superior side about this, as if your an idiot for having the problem. I dont believe there is currently any satisfactory way to stop it. Even if the suggestions ive read did work changing apps, changing O/S, using TweakUI etc etc. Non of it should be necessary. A little tick box should suffice.
(Maybe I have selective memory but I am fairly sure this problem is getting increasingly prevelant. I dont remeber much about Win9x doing it, I remember 2k doing it very infrequently. People really shouldnt have to put up with it at all.)