Brent Simmons’ weblog. I write NetNewsWire, a free RSS/Atom reader for Mac OS X.

Sven-S. Porst: Source Lists: “It’s astonishing to see how differently source lists can behave. Basically they are just lists of items which usually have icons. But apart from the icons all other aspects of the lists can differ.”

(Via Michael Tsai.)
09:04 pm #

Other developers write about walking the user interface line—trying to be consistent but also having to create custom widgets to stay modern.

Michael Dupuis: “Sure there are ‘lesser’ elements available to us as developers, but they often don’t have the ‘bling’ that users come to expect.”

Dan Wood: “We have to walk the line in our user interface decisions all the time, trying to make an application look consistent with the Mac interface, and also ‘modern.’”
05:09 pm #

Apple Mail. There’s more.

The new toolbar does the icons-inside-buttons thing, which makes sense, and may be a usability gain.

However, here’s a weird thing I noticed:

When Mail is not the frontmost app, the buttons change their look: they look dimmed, disabled.

Mail New button in background

However, if you click, it’s actually enabled, it supports click-through. (This is true for non-destructive buttons, not all of the buttons.) Right before you click you see the mouse-over highlighting.

Mail New button in background

It turns out that the icon inside the button is used to indicate whether it’s enabled or not. Standard toolbars dim and un-dim the icon too—it’s just that they don’t also have a button being used to indicate status (sorta).

So the dimmed button look means “I’m in the background” rather than “I’m disabled.”

Safari’s icons are similar in that the icon rather than the button indicates status—but they don’t have a special dimmed in-the-background look, which I think confuses things in Mail.
04:33 pm #

Apple Mail.

I’m a little obsessed with it. I don’t even use it. But it’s the Apple app that’s most like our software, so Mail’s design informs our design.

I got a feature request that asked for NetNewsWire to adopt the following from Mail:

When the list of messages has focus, page-up and page-down should scroll the message view.

When I heard about this, I couldn’t believe it, so I checked it out, and it’s true. I can see how it’s a useful feature—but it’s also weird, isn’t it? If a scrolling view has focus, shouldn’t page-up and page-down work on the view with focus? Shouldn’t it work on the message list view?

Well, yes.

Nevertheless, having a keyboard method of scrolling the message view when the list view has focus is useful. (Space works, but it also goes to the next message when it reaches the bottom, so a scroll-only command would still be useful.)

Don’t try this

So then I wondered about the list of mailboxes. One of the things I didn’t like about earlier versions of Mail was that you couldn’t use the keyboard with the mailbox list.

Do not try the following:

1. Select a message in the message list view.

2. Click on a mailbox in the mailbox list.

3. Hit the Delete key.

What happens is that the currently selected message in the message list view gets sent to the Trash. This happens because the mailbox list does not get focus when you click on it. (You don’t necessarily realize that, though, since there aren’t any focus rings. Focus rings are passé these days.)

However... if you hit the Tab key (once or a few times) focus will move to the mailbox list. The selection color changes to blue when the mailbox list has focus.

Once the mailbox list has focus, you can navigate using arrow keys. Cool. And now if you hit Delete, nothing happens, which is probably best.

Focus gravity

You can probably figure out why it works this way—Mail has a sort-of “focus gravity” for the message list.

When you’re not writing an email, the message list has focus most of the time, unless you go out of your way to change the focus. (Even clicking in the mailbox list won’t change the focus.)

I understand it, it makes sense—because most of the time you want the message list to have focus. If you don’t have to check to see if it has focus, that’s cool.

But here’s the problem:

1. The message list doesn’t always have focus, it just usually has focus. So you do still need to click on it or hit Tab or whatever sometimes.

2. There is at least one situation where you can trash email without necessarily realizing it. (Described above.)

3. The concept of focus is a fundamental user interface concept. (Most users probably use the word “active” instead, as in, “The mailbox list does not become active when you click on it.”) But Mail does odd things, sometimes paying attention to focus, sometimes not, and not always doing what you’d expect.

Note that you can (obviously) learn Mail and all its exceptions, and even like them. However, I suspect a normal treatment of focus would be more usable.

A note about focus rings

Focus rings are those blue outlines you see sometimes. For instance, the below is from Safari’s bookmarks editor. The Collections and Bookmark lists get a focus ring when they have focus.

Safari focus ring

Mail doesn’t use focus rings around the mailbox, message list, or message views. If it did, it would be more obvious that a click on the mailbox list doesn’t move focus—you’d still see the focus ring around the message list.

Without the focus ring your main clue is the selection highlight color.

Here’s why I think we don’t see focus rings very often these days:

1. If you have a focus ring, you need a margin so that the focus ring has somewhere to draw. (Again, note Safari’s bookmarks editor, which has a margin.) Margins on non-metal apps are old-school: the modern look is no margins, which means no focus rings.

2. The blue outline itself looks rather old-school: it’s not sleek enough, just kind of thick and fuzzy. Seems busy.

Of course, focus rings are used, even in Mail, at least a little bit—search fields tend to get a focus ring.

Search focus ring

(Editing the name of a mailbox also gives you a focus ring. There are probably other cases too.)

The thing about focus rings, though, is that they serve a great function—they make it really super-easy to know where the focus is. A replacement for focus rings—either a new look or something different but just as effective—would be a good idea. It would have made the accidentally-trashing-email scenario much less likely.

(Of course, I also think that clicking in the mailbox list in Mail ought give focus to the mailbox list. If it’s good enough for iTunes, why not Mail? If you can Tab there, why not click there?)

There are super-smart user interface people at Apple. The folks who came up with Exposé, for instance, thought out-of-the-box and came up with an innovative solution. But OS X has been a step backwards for focus indication, which makes using your computer just a little bit harder than it should be. I’d love it if some of those super-smart UI folks took a look at the problem of focus indication. It feels like there’s a great solution begging to be invented—I just don’t know what it is.

P.S. A note about why I don’t use Mail

I mentioned at the top that I don’t use Mail. It’s not because of the user interface; it’s not because of the toolbar buttons or the focus issues or anything like that.

It’s the text editor. For the amount of writing I have to do, I need a great text editor—so I use Mailsmith.

The glossary feature alone is worth it for me. I also very much appreciate that it uses > characters instead of that quote bar thing that can be so hard to manipulate. Etc. I’m not trying to sell it to you—just saying that doing email without a strong text editor is out of the question for me personally.

(I also have used and quite like the combinations of mutt+vim and mutt+BBEdit.)

Mailsmith’s UI is not flashy at all (it even has margins and focus rings!)—and I often think about how I’d like to give it a make-over. But then again I think that about most apps, and it doesn’t stop me from using the apps that make me the most productive.
03:09 pm #

ridiculous_fish: Nil: “What does sending a message to nil do in Objective-C? What value does it return?”

The article is by an AppKit programmer at Apple who just started blogging. Very cool.
11:57 am #

News archive...

About me

I learned programming way back in 1980 on an Apple II Plus, and have been using Apple computers ever since.

I work for NewsGator Technologies on NetNewsWire. NetNewsWire has won two Macworld Eddy awards and an O’Reilly Innovators Award.

I like cats and spaghetti and swimming in the ocean.

© Copyright 1999-2008 Brent Simmons.
Email: brent at ranchero dot com (Brent Simmons)
Seattle, WA (Ballard)
All trademarks are property of their respective owners.


NetNewsWire: More news, less junk. Faster