A Lack of Focus

I've had an ongoing beef with Leopard since it's inception. The problem is difficult to describe, but I've had a lot more experience with it since the last time I wrote about it, and I think I now have a better idea of what's going on. So I wanted to revisit the issue as we're near the eve of the release of Snow Leopard, and as I feel better equipped to talk about it. Also because it drives me fairly batty.

The problem can best be described like this: An action taken by an application that is in the background can, under certain conditions, cause that application's window(s) to come to the foreground, covering the application that is currently active. Perhaps an example is in order:

  1. I launch Safari.
  2. Before Safari loads completely, I immediately command-tab to the Finder which has a window open.
  3. When Safari finishes loading, the Safari window covers the Finder window.

Finder Obscured: This Shouldn't Be Possible

To rectify this rather odd state of affairs, a quick command-tab to Safari and then back to the Finder does the trick. Not a huge deal most of the time, sure. But let me cite some examples where it becomes a slightly bigger deal. Here's a similar scenario, but now I'm working in TextEdit:

  1. I'm typing in TextEdit.
  2. I launch Safari.
  3. Before it completely loads, I command-tab back to TextEdit and continue typing.
  4. Suddenly, Safari finishes loading and obscures my TextEdit document window; I can no longer see what I'm typing.
  5. To continue working in TextEdit I must command-tab twice as per the previous example.
  6. Moreover, by all appearances but the menubar, Safari is now the active application, which can trick me into thinking I can start typing in Safari. But when I do this I type something — the wrong thing — into my TextEdit document.
  7. And what if I type something like command-a (Select All) and then delete? Now I've just deleted the contents of my TextEdit file — a file I can't even see.

TextEdit Obscured but Active: Where Am I Typing?

That's a potentially destructive scenario I've just described, and I'd pretty much swear that something like that has happened to me in the past, though I admit I did not document it and the circumstances were probably somewhat different.

Beyond the slightly irksome and the potentially destructive, here's one more exceptionally annoying scenario that I encounter on a daily basis:

  1. I log in to my Mac.
  2. Login items begin to launch.
  3. I open a Finder window and begin to manage files.
  4. As login applications finish loading completely, they steal focus from the Finder.
  5. This makes me unable to work on my Mac until all login items have finished loading completely.

I originally thought this was only happening on my slower hardware, but it happens on every computer I use: My old Powerbook, my work G5 and my 8-core Intel home workstation.

As I've said in the past, this is something I would describe as a bug. Background applications should never obscure active applications unless explicitly requested to do so (like when you bring forward a window from another application, which both activates that application but also leaves all windows but the requested one in the distant background). This is my major complaint with Leopard with which I am otherwise very happy. But it's a big complaint. It's a problem that affects me every day, and all day long. It's a huge usability gaffe in my book, and I'm amazed Apple hasn't addressed it already.

For a quality-obsessed company like Apple and an incredibly usable OS like Mac OS X, this lack of focus seems like a huge oversight. And for Apple's detail-obsessed fans this seems like something that would bother a lot of people. But I've only found one lone short thread on the matter in Apple's discussion forums, and one other thread on a very similar (possibly the same) problem. But no answers.

The good news is that Snow Leopard is right around the corner, and Snow Leopard is all about making improvements to the existing system. Snow Leopard is a refinement release. It's all about the details. So I sincerely hope — and if anyone out there can speak to this, please do get in touch — that Leopard's lack of focus is addressed. That would be most excellent.

Snow Leopard Preview

I don't generally post rumors or speculation on upcoming software, but latest Snow Leopard action has me feeling all tingly with anticipation. For a release that was supposed to be mainly about size and performance enhancements and less about new features, Snow Leopard looks to have a bunch of new features that appeal quite a bit to me personally.

Snow Leopard

AppleInsider gives us a preview of what's expected. Among the features that I find particularly useful:

  • Date and Time Prefs now allow you to display the date and/or day of the week in the menubar along with the time without using a hack. (Finally! Jesus!)
  • AddressBook can sync with Google contacts. Actually, it can do this now. Looks like they just revamped the preferences pane a bit. Thanks to JT for catching the error.
  • Scanner Sharing. (Seriously, I'll probably use this.) Scanner sharing is available in Image Capture. They're just putting it in the System Preferences now and treating it like Printer Sharing, it appears. Thanks, P-M.
  • Quicktime Pro features are now a freebie and include some new graphical and editing hotness and a "HUDless" mode.
  • Screen recording.
  • New Language and Text Preferences allow for text substitution.
  • Split Terminal. I never used this before, but who knows, maybe now I will. I'm just always thrilled to see Apple constantly updating an app as proletarian — but important to us admins — as the Terminal.

That's a pretty long list with as many interesting new features as in any previous release. Sure it's low on the eye candy stuff, but you know? I can live with that.

I'm really looking forward to Snow Leopard. With the speed and size improvements and the handful of really useful new features, I think it's going to be great.