13 Replies Latest reply: Mar 15, 2011 6:15 AM by KOENIG Yvan
jbowry Level 1 Level 1 (0 points)
Hello guys,

I've been having this issue for months, and I'm tired of it. Hopefully, someone can help me out.

When I try to open my Numbers files by clicking on them directly, they open in Preview. When I look at the 'Show Info' section of the files I get this:

http://img146.imageshack.us/i/screenshot20110314at104.png/

Now it looks obvious, right? Change the startup program to Numbers and click 'Change All'? Doesn't work. Everytime I try to 'Change All' Numbers file to open with Numbers, it reverts right back to Preview, while keeping Numbers as the 'default'. The workaround right now is to just change the preferred app for each Numbers file I make back to Numbers.

So, even though all my Numbers files say 'Numbers (Default)' to begin with, they all open in Preview unless I change it to Numbers.

So far, I've done the following:

1) Reinstalled iWork '09 a few times
2) Using Onyx, rebuild the Launch Services
3) Repair permissions

Still, nothing. Also, this issue spans over two MBP 15s with completely different hardware, but using the same Time Machine backup. Any Ideas?

2011 MacBook Pro 15' 2GHz, Mac OS X (10.6)
  • 1. Re: Why do my Numbers '09 files open in Preview?
    Level 8 Level 8 (41,760 points)
    jbowry wrote:
    Hello guys,

    I've been having this issue for months, and I'm tired of it. Hopefully, someone can help me out.

    When I try to open my Numbers files by clicking on them directly, they open in Preview. When I look at the 'Show Info' section of the files I get this:

    http://img146.imageshack.us/i/screenshot20110314at104.png/


    This link isn't pointing to a Numbers document but to a png screenshot so, it's normal that it opens in Preview.

    Yvan KOENIG (VALLAURIS, France) lundi 14 mars 2011 16:26:53
  • 2. Re: Why do my Numbers '09 files open in Preview?
    jbowry Level 1 Level 1 (0 points)
    I know that. I uploaded the picture to show you what I see. The picture is a screenshot of what happens when I select 'Show Info' on a Numbers file.
  • 3. Re: Why do my Numbers '09 files open in Preview?
    Barry Level 7 Level 7 (29,180 points)
    Hi j,

    I'm unable to reproduce this behaviour. Even right clicking a Numbers file to get to "Open with..." does not show Preview as one of the choices. When I click Other..., the resulting "Recommended Applications" list has Preview greyed. Changing that "All Applications" makes Preview an available choice But selecting Preview, while it does illuminate the Open button, also shows a warning that "It is not known if this application can open Numbers Document files.

    Clicking Open launches Preview, but does not open the document.

    That would lead me to believe that Preview is, as the warning indicates, unable to open Numbers document files, and that, despite the .numbers extension, your file is not a Numbers file.

    Regards,
    Barry
  • 4. Re: Why do my Numbers '09 files open in Preview?
    jbowry Level 1 Level 1 (0 points)
    Hey Barry,

    I forgot to mention, they are all numbers files, created in past and present versions of iWork. Also, just as you said, the Numbers files don't actually open in Preview. They just try, and fail. Essentially, I double click on a Numbers file to open it, Preview opens up, and nothing happens.

    To recap, my Numbers files do open in Numbers once I go to each file and select to be opened in Numbers. My issue is that Preview is opening them by default, and Mac OS is not letting me switch back to Numbers as the default program for a Numbers file. It does 'say' its the default, but it always goes back to Preview when I select it...

    Anything else you can think of?
  • 5. Re: Why do my Numbers '09 files open in Preview?
    Jerrold Green1 Level 7 Level 7 (28,995 points)
    jb,

    Are you saying that you can't open any Numbers doc, new or old, by any method? Or, you can't open from the finder, but you can open them from the File menu of Numbers?

    Is this true in a new user account, one that didn't come from the TM backup?

    Jerry
  • 6. Re: Why do my Numbers '09 files open in Preview?
    Level 8 Level 8 (41,760 points)
    May you send a sample file to my mailbox ?

    No need to try to guess what may be wrong in your system if the problem sits in the documents themselves.

    Click my blue name to get my address.

    On the other hand, try to open the docs from an other user account.

    Yvan KOENIG (VALLAURIS, France) lundi 14 mars 2011 20:53:00
  • 7. Re: Why do my Numbers '09 files open in Preview?
    jbowry Level 1 Level 1 (0 points)
    Jerrold,

    I can open them anyway they should be able to be opened... Except double clicking on them directly. That takes me to Preview. Even though it isn't the default program set for Numbers files
  • 8. Re: Why do my Numbers '09 files open in Preview?
    jbowry Level 1 Level 1 (0 points)
    Hey Yvan,

    Sent. Thanks!
  • 9. Re: Why do my Numbers '09 files open in Preview?
    Badunit Level 6 Level 6 (10,815 points)
    Maybe the LaunchServices plist is messed up. You might try this:

    To reset all of your files to open with the original default application, you need to delete a certain file. Go to your user folder, and navigate into the Library folder then into the Preferences folder. Find the com.apple.LaunchServices.plist file, and drag it to the Trash. Alternatively, drag it to the Desktop if you think you might change your mind and want to put it back later.

    Over time, you may find that the Open With menu gets cluttered with duplicates, older versions or applications you thought you deleted long ago. To get rid of these, you need to use Terminal. Open up Terminal (from Applications/Utilities) and paste the following line:

    /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServic es.framework/Support/lsregister -kill -r -domain local -domain system -domain user

    Press return and your Open With menu should have been cleaned up to only include the most current applications.

    I found this tip at
    http://361degrees.wordpress.com/2007/11/13/mac-open-with-menu-tips/
  • 10. Re: Why do my Numbers '09 files open in Preview?
    Level 8 Level 8 (41,760 points)
    Hi badunit

    The OP tested the behavior in an other account.
    In this one the doc open flawlessly so the problem is in his original user account.

    deleting the three launch services database seems to be unneeded. I guess that

    /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServic es.framework/Support/lsregister -kill -r -domain user

    would be sufficient

    Yvan KOENIG (VALLAURIS, France) mardi 15 mars 2011 10:04:05
  • 11. Re: Why do my Numbers '09 files open in Preview?
    Level 8 Level 8 (41,760 points)
    Hello

    The command given by badunit which I shortened is dedicated to an old operating system (maybe Leopard).

    For Snow Leopard it must be edited as :

    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister -kill -r -domain local -domain system -domain user

    or to restrict it to the domain user :

    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister -kill -r -domain user

    Yvan KOENIG (VALLAURIS, France) mardi 15 mars 2011 10:24:05
  • 12. Re: Why do my Numbers '09 files open in Preview?
    jbowry Level 1 Level 1 (0 points)
    Got it! It was the launch services plist file. I deleted it and it worked! I had to re-do all my launch programs for my other file types, but that didn't take long at all.

    Thanks for all your help guys!
  • 13. Re: Why do my Numbers '09 files open in Preview?
    Level 8 Level 8 (41,760 points)
    Which one ?

    com.apple.LaunchServices.plist which badunit named and which I named in my mail yesterdays or the one which requires the terminal command ?

    Yvan KOENIG (VALLAURIS, France) mardi 15 mars 2011 14:15:07