Linked by Thom Holwerda on Wed 20th Feb 2013 10:52 UTC
Mac OS X "This is the problem: You want to open a file using something other than the default application. You right-click its icon in the Finder, choose Open With, and a submenu pops up with an absurd number of duplicate entries." This is so annoying. Dr. Dang made a little addition to .bashrc so you can fix it with a single command. Now it's up to Apple to actually fix the problem (via Daring Fireball).
Permalink for comment 553106
To read all comments associated with this story, please click here.
Technically it's not corruption
by darknexus on Wed 20th Feb 2013 11:50 UTC
darknexus
Member since:
2008-07-15

The problem occurs not because the database is corrupted, but because application developers don't check for existing entries when installing updates. For example, most applications on OS X use the Sparkle framework (or an in-house equivalent) to check for application updates at launch if the user has enabled this. Upon finding an update, you have the option to install it. However, at the install phase, the proper thing for the update to do is to query the LaunchServices database and, if an entry already exists there, to skip creating one. Sadly, particularly in apps that use their own updaters, this is forgotten and the result is duplicates. That being said, I do think that either OS X should do this automatically or else have an easily accessible option to do this (perhaps at the bottom of the open with submenu).
I haven't seen this on my current install of OS X which I've had for about a year, but I used to see this much more several years back. Maybe some application developers are starting to clean up their messes.

Reply Score: 3