- Joined
- Sep 30, 2007
- Messages
- 9,962
- Reaction score
- 1,236
- Points
- 113
- Location
- The Republic of Neptune
- Your Mac's Specs
- 2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
I recently realized I was having a problem with my Application Switcher that was driving me nuts. Normally, when I have apps open in different spaces, I can CMD-TAB to an app and it will automatically switch to that app and the space it is in. A few days ago, I realized that this was no longer happening. The menubar would change to reflect the newly selected app, but I had to manually switch to the space it was in to actually see the app's window. This was driving me utterly bonkers and I finally sat down to figure this out. Running the usual Onyx tools didn't fix it. Deleting the preference files for finder and dock didn't fix it. I finally focused on a hidden pref file that I had narrowed down as the problem for a couple other varied issues in the past: .GlobalPreferences.plist
Deleting that sucker and logging out/in fixed this problem. I've had issues before that proved to be this file, in particular a widget that was a companion to another application wouldn't work right. Why that was so was rather baffling. This has gotten me to thinking that maybe some of the more baffling issues some members come here about could be traced back to that file. Being hidden and not an "obvious" thing to tie problems to, it's very easily overlooked. In the past, I was only able to narrow it down to this file by some very aggressive trial and error testing.
At any rate, I wanted to share this tip as food for thought and something to consider trying when all else fails. The simplest way to delete it would be via this Terminal command (EDIT: first copy it to a backup location like the Desktop, then delete in the order below):
If you want to restore the backup copy:
Once done, log out and back in. This may reset some preferences that have been set in the past, but I've never found it to be particularly disruptive.

Deleting that sucker and logging out/in fixed this problem. I've had issues before that proved to be this file, in particular a widget that was a companion to another application wouldn't work right. Why that was so was rather baffling. This has gotten me to thinking that maybe some of the more baffling issues some members come here about could be traced back to that file. Being hidden and not an "obvious" thing to tie problems to, it's very easily overlooked. In the past, I was only able to narrow it down to this file by some very aggressive trial and error testing.
At any rate, I wanted to share this tip as food for thought and something to consider trying when all else fails. The simplest way to delete it would be via this Terminal command (EDIT: first copy it to a backup location like the Desktop, then delete in the order below):
Code:
cp -f ~/Library/Preferences/.GlobalPreferences.plist ~/Desktop
(this will copy the file as a backup to the Desktop)
rm -f ~/Library/Preferences/.GlobalPreferences.plist
(this will delete the original file)
If you want to restore the backup copy:
Code:
mv -f ~/Desktop/.GlobalPreferences.plist ~/Library/Preferences
Once done, log out and back in. This may reset some preferences that have been set in the past, but I've never found it to be particularly disruptive.