MacOS – Windows won’t open from Mac Dock

itermmacosmail.app

I use iTerm a lot and keep the app in the dock. When I first start iTerm, it brings up a terminal window.

If I minimize its window I expect to be able to click on iTerm in dock to bring the iTerm window back into view. But this doesn't always happen. Often it doesn't reopen the window. I'll try clicking on the icon several times but it never opens the window. If I right-click on the dock icon it'll list the open windows. I can select one but it still won't open.

This happen with other apps too. In Messages or Mail, when this happens, I'm forced to select a new message window to get a new window. I'm running High Sierra, 10.13.5 on my iMac. I've tried restarting normal and restarting in safe mod but nothing works. Does anyone have a clue of why this is happening?

Best Answer

These might help. Not known for sure.

Method 1 :

  1. Go to ~/Library/Preferences.
  2. Take a backup of the com.googlecode.iterm2.plist file.
  3. Delete it from Preferences folder.
  4. Restart iTerm.
  5. Maybe it gets fixed. Else put back the backup file in the same folder.

Note: You may not need backup if you wish you may not need the user settings.

Method 2 :

  1. Close the windows.
  2. Right click and unselect Options -> Keep in Dock.
  3. Restart iTerm from Applications folder.
  4. Select Options -> Keep in Dock.

My References : Mail not opening issue in Apple Discussions, Details regarding .plist files, Similar issue in SuperUser