Dyeing to hear the upcoming @atpfm episode.
What if it's for a projection device.
Mac OS Dock:
Command+tab to, say Mail.app. If the Mail window had been previously closed, then the app will become frontmost, with no window.
'Correct behaviour' yada yada but it confuses me every time, and I'm an eternal Mac user.