Cannot restore topmost window from window menu (OSX)
<p>I create a window and set level to NSStatusWindowLevel. In Dock Preferences, I enable "Minimize windows into application". After I minimize the window into dock icon, the window disappears when I select it (to restore) from window menu.</p>

<p>My OS X version is 10.11. When I try on OS X 10.6, it works fine.</p>

<p>Is this a bug of Cocoa? How can I overcome this issue?</p>