Has this ever happened to you? You're merrily typing away in some application, minding your own business, when-- suddenly-- a dialog pops up and steals the focus from you.
Hereās the interesting part. Itās not that itās just bad behavior, itās bad behavior that must also annoy a lot of people at Microsoft. I could probably come up with a list of at least ten windows quirks that must utterly annoy Microsofties - and yet they persist in the software for years.
This is really baffling to me. If it bugs you, then why wouldnāt you fix it? Your customers probably hate it as well. Youāre knowingly making sub standard software if you donāt.
Some Linux desktop managers (Gnome and KDE, IIRC) have this annoying property:
Go to workspace 2.
Launch a slow, bloaty program that takes a long time to come up
Go back to workspace 1.
Do some other work.
Slow, bloaty program elbows its way into workspace 1 instead of 2.
The inferior Comcast version of TiVo, once a program has completed recording, will throw up the equivalent of a system modal dialog the size of a mattress informing you that recording is complete (and blocking whatever youāre trying to watch). But thatās one defect among many, many for this hateful piece of software.
Groove is also annoying; unless you select āsuppress alertsā, the task tray icon interprets any mouse move within 200 pixels (ok, exaggerated) as a request to list every workspace that has updated files.
That leads to another problem where programs have no settings other than ādonāt tell me about anything, even fatal errorsā, and ālevel 7 OMG STFU all possible debug messagesā. Iām looking at you, InstallShield. And Ant, to a lesser degree.
I call bullshit on your anecdotal story: why wasnāt the local copy of the source code on the developerās machine still good? And if it was half checked in, then those files just wonāt be updated on the next checkin.
Oh, and Peggle, which takes an inordinately long time to load for a 2-D non-scrolling game, stops loading if you alt-tab away from it. Loading will only complete if itās in the foreground.
We donāt need no pop-up windows,
We donāt need no modal box,
No focus-stealing bad behaviour,
Coders leave my apps alone,
Hey! Coders! Leave my apps alone.
Better question - where did all the work go towards allowing updates to install without requiring a reboot? There was an initiative on the server side to minimize that back in the early part of the decade during my days at MSFT. It seems like every other Vista update requies me to update. Iām left wondering if itās really about replacing files in use, or could they have given me the option to close applications while something restarts on the PC.
I second the issue with Gmail stealing focus multiple times while itās loading. This is extremely annoying and goes to show this isnāt just about desktop apps, Web 2.0 is just as guilty.
Right, I was wondering about whatās going on with this focus issue, too. It works like you said - OS mostly prevents stealing focus but sometimes it doesnāt and when it doesnāt and one is typing a disaster might occur.
I hope someday this is fixed for good because the problem is really annoying.
This will keep happening on Windows, because Windows apps are in direct control of their⦠well⦠windows. Linux apps are just as obnoxious (Thunderbird is killing meā¦), but I can always override them from the window manager. Focus stealing is still allowed by default, though. Talk about misguided programmers.
MacOS X tends to pop to front much the way windows does. No change there.
I seem to remember that MacOS classic didnāt do this. If a backgrounded app wanted attention it would flash itās icon in the application menu. For example, it would do this if it popped up a dialog box.
The only time an app would pop to front was when it launched. I donāt even think that putting up a new window would pop the app to front.
Yet another reason why MacOS X is worse than MacOS classic.
Perhaps someone who uses a Mac (I donāt) can confirm this, but itās my understanding that apps canāt steal the focus on OSX. If this is true, surely itās been fixed at an OS level - which leads me to the next question: why does Windows allow apps to steal the focus? Why not just force apps to flash the taskbar instead? Iāve been burned by this many a timeā¦
Visual Studio help suffers from similar problems. At times it decides the best course of action is to steal my focus while Iām typing in my search query - because it is loading online help!?. Clicking back on the input field clears your query so you have to type it again. While typing my query for the second time āhelpā decides to refresh the online help pane and steals my focus againā¦
Iāve learned to open the help window at the start of my day - and close it at reboot
If you start some application and then try to edit a word document or an email while you wait, the other application invariably pops up without warning in the middle of a keystroke.