how to deal with the Finder bugs in El Capitan

finder bug

A number of 3rd party apps, including my own DetectX and FastTasks 2, offer a GUI way to hide/reveal invisible files in the Finder.

The standard method for doing this, either in Terminal or in code (via NSTask) has always been

defaults write AppleShowAllFiles -bool true; killall Finder.

In every version of OS X from 10.6 thru to 10.10 this works as expected. In 10.11 I see a reproducible though not always consistent bug when using any GUI-wrapped app to toggle this Finder setting. The bug basically ends up with Finder showing the opposite of both what the app shows and what ‘defaults read’ shows (see image above; the value should be ‘1’ when invisible files are visible).

We believe a related bug is that Finder sometimes fails to show the new version of an app in the Finder preview after the app has been updated.

In both cases, there’s a couple of ways to deal with it (albeit temporary until Apple applies a proper cure):

i. log out then log in
ii. issue a ‘killall Finder’ on the command line
iii. purge the RAM then toggle the setting again in whatever app you’re using to toggle invisible files.

If you’re running FastTasks 2, you can purge the RAM from the FT2 menu, avoiding a trip to the Terminal. For DetectX, use the ‘Reset Hidden Files’ function located in the Preferences.

Screen Shot 2015-11-13 at 20.02.55


About philastokes

Freelance Writer, Developer and Technical Communicator. Explaining the unexplainable with images, video and text. Scripting anything imaginable in Applescript, Bash, C, Objective C, Cocoa, Python and Xcode.

Posted on November 13, 2015, in 10.11 and tagged , , . Bookmark the permalink. Comments Off on how to deal with the Finder bugs in El Capitan.

Comments are closed.

%d bloggers like this: