Dave_Flynn

Q: Why won't preview open pdf files anymore?

Why won't preview open pdf files anymore?

Mac mini, OS X Yosemite (10.10.3)

Posted on May 18, 2015 11:43 AM

Close

Q: Why won't preview open pdf files anymore?

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by aatsi,

    aatsi aatsi May 18, 2015 11:47 AM in response to Dave_Flynn
    Level 1 (95 points)
    May 18, 2015 11:47 AM in response to Dave_Flynn

    Can you describe what happens when you try to open PDF files with Preview? Any visual indication something is happening, any error messages?

  • by Dave_Flynn,

    Dave_Flynn Dave_Flynn May 18, 2015 12:26 PM in response to aatsi
    Level 1 (1 points)
    May 18, 2015 12:26 PM in response to aatsi

    Selecting open from the file menu, all .pdf files are grayed out.  Double clicking a pdf causes Preview.app to open, but it doesn't open the file.  I have reinstalled the OS and restored from Time Machine, it stayed fixed for 2 days.  There is no Abode software installed.

  • by Eric Root,

    Eric Root Eric Root May 18, 2015 12:30 PM in response to Dave_Flynn
    Level 9 (69,813 points)
    iTunes
    May 18, 2015 12:30 PM in response to Dave_Flynn

    Do a backup.

     

    Quit Preview.

     

    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Remove the following. You may not find them all. Restart and test.

     

    Containers/com.apple.Preview

     

    Containers/com.apple.quicklook.ui.helper

     

    Preferences/com.apple.Preview.LSSharedFileList.plist

             

    Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist

     

    Saved Application State/com.apple.Preview.savedState

     

    Credit Linc Davis  for this solution.

  • by Dave_Flynn,

    Dave_Flynn Dave_Flynn May 18, 2015 1:15 PM in response to Eric Root
    Level 1 (1 points)
    May 18, 2015 1:15 PM in response to Eric Root

    Tried that twice w/ and w/o rebooting, didn't work.

  • by aatsi,

    aatsi aatsi May 18, 2015 3:45 PM in response to Dave_Flynn
    Level 1 (95 points)
    May 18, 2015 3:45 PM in response to Dave_Flynn

    If you create (temporarily) a new user account and log in as that user, does Preview open PDFs in that temporary user account?

  • by Dave_Flynn,

    Dave_Flynn Dave_Flynn May 19, 2015 8:06 AM in response to aatsi
    Level 1 (1 points)
    May 19, 2015 8:06 AM in response to aatsi

    The new user account works correctly.  So, it's something in my user library?  What?

  • by aatsi,

    aatsi aatsi May 19, 2015 9:22 AM in response to Dave_Flynn
    Level 1 (95 points)
    May 19, 2015 9:22 AM in response to Dave_Flynn

    Well the easiest way to fix it will also be the most involved and take the longest (create a new account, move all your files to the new account, delete the old account).

     

    But before we go to that extreme, have you tried just fixing permissions?

     

    In the Terminal.app, put in the command:


    sudo chown -R dave /Users/dave

     

    subbing in your actual username for dave.

     

    Then in Disk Utility, click on your drive, and then under First Aid, click Verify Disk Permissions and then Repair Disk Permissions.

  • by Dave_Flynn,

    Dave_Flynn Dave_Flynn May 19, 2015 10:18 AM in response to aatsi
    Level 1 (1 points)
    May 19, 2015 10:18 AM in response to aatsi

    No change, still won't open .pdf files.

  • by Eric Root,

    Eric Root Eric Root May 19, 2015 10:30 AM in response to Dave_Flynn
    Level 9 (69,813 points)
    iTunes
    May 19, 2015 10:30 AM in response to Dave_Flynn

    Try the Safe Mode to see if it works there and then restart normally.

     

    Safe Mode - About

     

     

    Safe Mode - Yosemite

  • by Dave_Flynn,

    Dave_Flynn Dave_Flynn May 19, 2015 11:55 AM in response to Eric Root
    Level 1 (1 points)
    May 19, 2015 11:55 AM in response to Eric Root

    Didn't work in Safe Mode or after reboot.

  • by aatsi,

    aatsi aatsi May 19, 2015 1:26 PM in response to Dave_Flynn
    Level 1 (95 points)
    May 19, 2015 1:26 PM in response to Dave_Flynn

    Then I would recommend moving your files over to the new account, and then deleting your old account, since the new account can use Preview just fine.

     

    It probably is just some corrupt or wrong-permissions issue in your user folder, but it would be difficult to track down what exactly the issue is.

  • by coxorange,

    coxorange coxorange Sep 19, 2015 1:44 PM in response to Dave_Flynn
    Level 1 (57 points)
    Mac OS X
    Sep 19, 2015 1:44 PM in response to Dave_Flynn

    Suddenly we have the SAME problem on all our THREE Macs!

     

    Do you know what caused this problem? (I'm afraid it was an update that cused it, but which one?)

     

    How did you fix it finally?

     

    -----

     

    I did the Verify/Repair and it showed the following:

     

    Verifying permissions for “Macintosh HD”


    Group differs on “Library/Printers/InstalledPrinters.plist”; should be 80; group is 0.

     

    Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- .

     

    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.

     

    User differs on “private/var/db/displaypolicyd”; should be 0; user is 244.

     

    Group differs on “private/var/db/displaypolicyd”; should be 0; group is 244.

     

    Permissions verification complete


    Repairing permissions for “Macintosh HD


    Group differs on “Library/Printers/InstalledPrinters.plist”; should be 80; group is 0.

     

    Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- .

     

    Repaired “Library/Printers/InstalledPrinters.plist”

     

    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.

     

    User differs on “private/var/db/displaypolicyd”; should be 0; user is 244.

     

    Group differs on “private/var/db/displaypolicyd”; should be 0; group is 244.

     

    Repaired “private/var/db/displaypolicyd”

     

    Permissions repair complete

     

    Many thanks for any help!

  • by coxorange,

    coxorange coxorange Sep 20, 2015 8:55 AM in response to coxorange
    Level 1 (57 points)
    Mac OS X
    Sep 20, 2015 8:55 AM in response to coxorange

    After reading some hundred threads I found the easy ( ! ) solution (though no explanation about what had caused the problem):

     

    Close all running apps, launch Terminal and enter the following (no modification required):

     

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

     

    (Or manually delete the LaunchServices preference file:

    Quit all open applications and navigate to ~/Library/Preferences. Locate com.apple.LaunchServices.plist, delete the file, then reboot your Mac. This should accomplish the same result.)

     

    For details see https://discussions.apple.com/message/28279823 which leads to http://www.tekrevue.com/tip/rebuild-launchservices-fix-duplicate-entries-os-xs-o pen-menu/.

     

    This solved my question!

    (... but why did it happen? And on all 3 Macs at the same time...?)

  • by chrissorius,

    chrissorius chrissorius Sep 20, 2015 5:43 PM in response to coxorange
    Level 1 (0 points)
    Sep 20, 2015 5:43 PM in response to coxorange

    Hi,

    I tried all of the things in this thread and none seemed to solve the problem.

     

    Also, the guest user has the same problem with preview not being able to open a pdf. If I open "Preview", I can see the pdf files but they are greyed out and I cannot select them.

     

    Sadly, the LaunchServices console command does not work for me.

     

    Strange thing is, this happened today on my 2 Macs! (Mac Pro and MacBook Pro)

    Adobe Reader is installed on my Mac Pro, so I first thought that this was the problem. On My MacBook Pro, Adobe isn't installed but I still experience the same thing.

     

    Preview is also not selectable as "open with" under File Info.

     

    Any help is welcome.

Page 1 of 4 last Next