开发者

NSWindow disappears and won't come back

开发者 https://www.devze.com 2023-03-18 23:22 出处:网络
I have a NSWindow and a View inside it. I close the window using window.close(also tried orderout). I then open the window by calling MakeKeyAndOrderFront on the window. When I do this, the window nev

I have a NSWindow and a View inside it. I close the window using window.close(also tried orderout). I then open the window by calling MakeKeyAndOrderFront on the window. When I do this, the window never shows up. Even if I go to menu and click on Window -> Bring all to front, I cannot see the window. But开发者_如何学JAVA in the dock the application is still running. In the controller associated with the View, I have added logging statements. All the statements are coming up indicating that the code is getting executed but the UI is not there.

EDIT -

The release when closed option is not checked. Also when I am closing the window, I am exiting full screen mode using ExitFullScreenModeWithOptions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号