Showing posts with label spotlight. Show all posts
Showing posts with label spotlight. Show all posts

Monday, August 24, 2009

Clarification on the iPhone Spotlight email issue

Earlier today, I posted about the ability to find previously deleted emails using the Spotlight search on the iPhone, adding to the already intense swarm of news surrounding this issue. My findings were that, by ensuring your trash folder was emptied and refreshed, the problem appeared to be solved.

However, many of you responded indicating that this did not work for you, and that you were still seeing cached messages. Then Cult of Mac posted an update to their original piece, suggesting that the problem was more specific to POP accounts. Although I had tested both POP and IMAP accounts with similar results, I decided to investigate further.

First, to clarify: The problem here is *not* with Spotlight caching the contents of your email, as many have suggested. Spotlight simply indexes the available content on your phone, and logs a pointer to it. When you tap a search result, it opens the associated application and tells that app to view the content. In this case, it sees an email message and asks Mail.app to open it, which it does, because Mail.app still has the message content stored locally. Secondly, this appears to be specific to POP accounts. On IMAP or Exchange accounts, deleted email messages do appear in Spotlight results until the trash folder is emptied, as described in my earlier post.

I created a fresh account and configured it for POP access, then downloaded the mail. Searching spotlight, I could see the message I was looking for. I then went back to the message and deleted it, and that's where the fun starts. I conducted this same test multiple times, and found that sometimes, the message would now show up in Spotlight twice, one result opened the message, intact, with the Inbox listed as the folder to return to; the other displaying a message in the trash folder, but with an error displaying the body of the message. Other times, I would only see one result, pointed directly to the trash.



So I would then attempt to delete the message from the trash folder, which also yielded mixed results. In most cases, the message was still indeed visible from Spotlight. On the messages which had previously shown up twice, then tapping the search result would cause the message to display normally, but show that it was in the inbox. On other messages, it was more interesting, as the message would sometimes appear in the trash, and sometimes in a "Deleted Items" folder, and sometimes Mail.app would crash when trying to display the message. On one occasion, however, the message did disappear from the Spotlight results as expected, so it seems that the exact outcome varies from occasion to occasion.

Contrary to my previous opinion, this is definitely a bug, and some users have even reported that Spotlight is turning up a history of ALL of their deleted messages, not just those that were recently deleted. For those who are experiencing this problem, there is good news and bad news. The good news is that the problem appears to be completely fixed in iPhone OS 3.1. That means the bad news, of course, is we have no idea when exactly the fix will be available publicly or if Apple is considering releasing an interim 3.0.2 update to address the issue. Further complicating matters, aside from deleting and recreating the mail account on your phone, there doesn't appear to be any workaround to preventing old messages from the Spotlight results until a software update addressing the issue becomes available.

Thursday, September 11, 2008

Searchlight, remote Spotlight on your Mac or iPhone

Searchlight 2.0 was officially released last week. Searchlight offers remote Spotlight functionality, allowing you to search your computer's files via a web browser, and it includes an iPhone-optimized interface. I talked with Searchlight's authors, Gravity Applications, during WWDC and got a good look at the pre-release version which left me pretty impressed. I've personally been using the beta for a while now to access the Mac Mini at my house which serves as my central file repository. Read on for a Searchlight overview ... and an exclusive TUAW giveaway!
The foundation of Searchlight is a fairly simple concept: use Leopard's built-in technologies to navigate, preview and download remote files. This means that from your computer (or from your iPhone), you have access to anything you've allowed Spotlight to index, including emails, calendar events, images, documents, and so on.
Using Quick Look for previews means you can quickly get thumbnail views and previews of a broad range of filetypes. It even recognizes some Quick Look plugins, allowing me, for example, to search for and preview EPS files. I can also search for snippets in source code and see a code-highlighted version with the Quick Look preview or the entire source by choosing the Download option.
Searchlight is a search-only interface; browsing through your folders isn't an option. This could be a deciding factor based on the usage scenario. For me, there are two reasons a Spotlight search is ideal. First, I use a tagging system and a limited folder hierarchy, so even when I'm at my computer I find everything through Spotlight or Spotlight-based applications. Second, the primary reason I access my remote machine and its large external drives is to search for either images or code snippets. My image collection is a vast array of fairly meaningless filenames, and if I'm searching for code I rarely know which file contains the snippet I want ... a Spotlight-powered keyword or content search is my best hope.
Searchlight deals very well with almost every type of file, including emails, events, images and all manner of documents. Searchlight offers good poster frame previews of movies, but one failure of every application I've tried has been movie downloads. Even movies which are already iPhone-compatible fail to play on the iPhone. Searchlight's authors tell me they're looking into this and plan to have a solution soon.
Searchlight's interface is one of its strongest features. Rather than describe it, I've put together a gallery which you'll find at the end of the post.
You can try out a demo version of Searchlight for free. If you're digging it, TUAW has 10 Searchlight licenses to give away to randomly-selected haiku entries. Feeling poetic? Just drop some 3-line (5 syllables, 7 syllables, 5 syllables) verse about remote file access (or a creative abstraction thereof) in the comments for a chance at a free license for the $99 application.
Web LoginPreference Pane
Thumbnail Results
To enter the giveaway, please read and follow the rules below:
  • Open to legal residents of the 50 United States, the District of Columbia and Canada (excluding Quebec) who are 18 and older.
  • To enter, leave a haiku in the comments.
  • The comment must be left before August 17, 11:59PM Eastern Time.
  • You may enter once.
  • 10 winners will be selected in a random drawing.
  • Winners will receive a full license of Searchlight ($99): http://gravityapps.com/searchlight/overview/
  • Click Here for complete Official Rules.