Windows won't open from Mac Dock 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?
These might help. Not known for sure.

Method 1 :


Go to ~/Library/Preferences.
Take a backup of the com.googlecode.iterm2.plist file.
Delete it from Preferences folder.
Restart iTerm.
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 :


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


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