MacOS – Why does finder report the applications are in the trash when I use Open With

applicationsfindermacos

When I attempt to open a a file with Preview (and some other applications) via the Open With open I get the following error:

You can't open the application "Preview" because it's in the Trash.

You can't open the application "Preview" because it's in the Trash. To
open this application, move it from the Trash.

If I open Preview from the applications menu or Spotlight it opens fine.

This may be related, but there are some duplicate applications in my Open With menu, and some that I have deleted. How do I manage these?

Best Answer

As Lri suggested in a comment, rebuilding my Launch Services seems to have fixed the issue.

To rebuild launch services run the following from a Terminal:

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

Took just a second and cleaned up the duplicates too.