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?