The steps here were simple, but unexpected:
- download a file
- in finder, rename the file using Keyboard:
- Press
Enter
to start rename - Start typing a new name (but not pressing
Enter
again)
- Press
- Try to open the file by pressing
Command
–O
Now this dialog appears and won't go away (it only reacts on moving with the mouse, but clicking on it fails, just as pressing Spacebar
, Enter
or Esc
).
Both Finder and Spotlight now refuse to open any other file.
I tried:
killall -KILL Dock
killall -KILL Finder
killall -KILL NotificationCenter
killall -KILL SystemUIServer
Help (:
Note the file is not damaged, just renamed.
Best Answer
Search for OS X identify process by window I found What process owns a certain window (Mac OS X) which told me this after moving the Window:
Since
CoreServicesUIAgent
is the owner, I performed this:That worked. Now I can open the PDF again.