额外的Poofery

Thanks to the numerous readers who sent in additional observations on Mac OS X poofery, I offer the following addendum to last week’s bit onpoof consistency

Safari的书签栏

Safari doesn’t have a poofable Cocoa-style toolbar, but it does offer poofing from its Bookmarks BarYou can drag URLs to the Bookmarks Bar to add bookmarks, and you can drag them off to poof them.

This, however, is perhaps the most inconsistent use of poofing in any application — because when you poof a Safari bookmark, you are deleting the actual bookmark itselfIn every other instance of poofing, you’re only removing a reference to something, not deleting actual dataE.g., when you poof from the Dock, the original app isn’t deleted; when you poof from the Finder Sidebar, the original file/folder isn’t deleted; when you poof from a Cocoa-style toolbar, you can always add the button back using the Customize Toolbar dialogBut when you poof a Safari bookmark, it’s gone.

The only good thing about this is that Safari makes poofing undoable. Otherwise, it’s a bad idea because it breaks the unwritten rule that poofing is non-destructive, removing only a参考to a thing, not the thing itself.

另一方面,OmniWeb 5也是如此If you attempt to poof a bookmark from OmniWeb’s Favorites Bar, it just snaps back into place in the barTo delete a bookmark from the Favorites Bar, you drag it to the Trash (or you can use the contextual menu.)

[更新#1:Lots of email from readers making the argument that bookmarks aren’t data, but rather references to web sites, and thus that Safari’s poofing is appropriateThat’s reasonable, but doesn’t take into consideration bookmarklets/favelets— which are little bits of JavaScript code, not references to web sites.]

菜单附加功能

Menu extras are the little iconic menus at the right side of the menu bar — e.giChat的状态菜单,或者系统范围的脚本菜单. To remove one of these menus from the menu bar, you can poof it by Command-dragging it anywhere off the menu(You can Command-drag within the menu bar to rearrange them.)

One difference between menu extras and other poofables is that you can’t use drag-and-drop to get them there in the first placeThe way to turn a menu extra on varies widely from extra to extraiChat’s is controlled by a checkbox in iChat’s preferences windowThe AirPort status menu can be turned on in two places: the Network panel of System Prefs, or the AirPort panel in the Internet Connect appThe Script menu extra is turned on by launching the Install Script Menu applet in the ‘/Applications/AppleScript/’ folderThis isn’t a complaint, per se, just an observation.

[更新#2:A few readers emailed to point out that you can install Apple’s menu extras using the .menu bundles located at ‘/System/Library/CoreServices/Menu Extras’But using the Finder, you can’t install them by drag-and-drop — you need to double-click them. Oddly enough, however, is that you能够install them by drag-and-drop using CocoaTech’s路径查找器]

磁盘工具侧栏

Apple’s Disk Utility app has a sidebar listing all of your currently mounted disksThe sidebar can also contain recently-used disk image files, and you can drag a disk image file into the sidebar to keep it there但是如何从“磁盘工具”的侧边栏中删除图像?

没有用于删除所选图像的菜单命令Nor is there a contextual menu commandDragging an image from Disk Utility’s sidebar to the Trash seems like a good guess — and the Trash even highlights to indicate it will accept the drop — but when you let go, the image simply snaps back to the Disk Utility sidebar.

Poofing is the only way to remove a disk image file from the Disk Utility sidebarJudging from my email, this is utterly non-intuitive. Worse, the only way to poof an image in Disk Utility is to drag it out of the sidebar, and then drop it anywhere elsewithin the main Disk Utility windowIn all other poof implementations, you can drop anywhere on screen, like, say, the desktop.

Curious side note: Disk Utility’s poof animation is huge — perhaps double the diameter of the normal Dock and toolbar poof animation.

Finder的查找对话框

Last but not least, here’s a spot where poofing ought to work, but doesn’t — with potentially disastrous results.

Finder的Find对话框(在10.3中)有几个搜索面板The most flexible is the “Specific places” panel, which allows you maintain a list of frequently-searched folders and/or volumes.

Finder的“查找”对话框的“特定位置”面板。

The “Add” and “Remove” buttons do just what you think — adding and removing places to the listYou can also add items to the list by drag-and-dropDrop a folder in the list, and it stays there for future searches.

但是,奇怪的是,拖放确实如此work for removing items from the list而是将文件夹拖出列表moves the original folder to wherever you drop itThis includes dropping items on the Trash — a gesture one might reasonably assume would simply remove the folder reference from the list.

记住,这不是结果window of a search — it’s the Find dialog itselfThis list of specific search places is exactly the sort of list-of-references where Apple typically uses poofing to remove itemsThat you’re instead dragging a reference to the original folder is both unexpected and dangerous.

Drag-and-drop works to add items to the list, but the only way to remove an item from the list is to use the Remove button.