I see more and more applications implemented as NSStatusItems in the upper right side of the menu bar. In this posting, Ill lay out why this is a worrying development, and why you should rarely implement NSStatusItems.
Screen real estate
The menu bar is very precious screen real estate, and the most expensive part of your computer. It takes up a permanent 22 points at the top of your screen (if you have several screens, it may even show up on every screen). The menu bar is fixed in position and size, different from other windows, and no other window can inhabit these sacred pixels. You cant switch it behind another window. It is always visible, always immediately clickable.
It is also used for an important part of the user interface of the current application. All of an applications menus have to fit into this area. There is no scrolling, no wrapping to a second line.
Perspective of importance
One of the fundamental rules of UI design is to arrange UI elements by their importance. Things that provide information the user constantly needs to be aware of, or that are constantly used should always be in view/at a single-click range, while things the user uses less can be relegated to less easily reachable spots that might require several clicks to get to.
The document window (or main window in the case of a shoebox application like iPhoto) is the top of this hierarchy. Thats what the user works with most of the time and where her attention is focused. Floating palettes are also near the top.
Things you cant put directly in front of the user like that go in a menu, where the user needs to click to discover them or trigger them. If something is even less important or needs to display information more complex than is desirable to put in a menu item, it can go in an auxiliary window shown by a menu item.
Popovers, while relatively new to the scene, are kind of halfway between these two. On one hand you need to click to open them, like a menu, on the other hand you cant have as many of them as you can have menus. They also occupy a half-way position between a menu and a modal window. They can contain more complex controls.
So, now that we know how limited room in the menu bar is, and how it is the second go-to location after youve run out of main window space, where does NSStatusItem fit in here?
Well, NSStatusItems can show information in their icon, and otherwise work like a menu. They can immediately react to a click (like the Notifications icon in the upper right of the screen) or show a menu, or a popover.
They are also visible across all applications. As such, they are a permanent, most reliable fixture in the user interface. Always visible, always clickable. It is prime real estate if there ever was one.
From this follows that it should only hold functions that inhabit exactly this place for the user: Something that is needed no matter what application is frontmost. Something that is constantly needed, not just occasionally when the user is working on one particular project. Or something that indicates some important piece of information, like how long the computers battery will last.
The reality of status items
Compare that to the reality were living with today: Every Twitter client Ive used so far had a status item by default. A status item and a dock icon. At the time of this writing Ive written well over 57000 tweets, but even I don't think that Twitter is that important. One dock icon is fine for seeing new tweets and posting a new one. Its one click away.
Im sure some users disagree, but really, is that the majority? Does it have to add that status item and take up dock space by default? Cant it just leave this as a feature that the user can activate if they think it is needed?
Similarly, there are applications that perform periodic clean-up tasks in the background. Maintenance. Do I really need to see those applications icons in my menu bar permanently? Couldnt they just show their icon when they are doing work, then remove it again? Couldnt they be a GUI front-end with a background helper application that magically does its work? How often do I manually need to trigger a re-scan of my movies folder to see if it contains new files if the application watches the folder for changes anyway? If this really is just a workaround for rare bugs, why not make me launch the GUI front-end to achieve that and stay out of my menu bar?
There are applications that let me run a server, for testing, locally, on my computer. Why cant they just be a regular GUI front-end with the server as an invisible background process? Why cant they just add a bookmark file somewhere that I can launch using Spotlight instead of making me use a different item in the precious status item area of the screen to open the URL for that server?
Why does everyone have such an inflated sense of the importance of their app that they need to have an icon in the menu bar?