Hi,

I noticed that the sequence:

  setReleasedWhenClosed(false)
  miniaturize
  close
  makeKeyAndOrderFront

results in a visible window for which _hovering_ on the standard
titlebar butons doesn't work (clicking on the buttons and
moving/resizing the window does work).

The problem is the miniaturize call, without it the window restores
correctly. But I need to be able to hide a miniaturized window and
later restore it.

Any known workarounds?


Background story:

I want to implement the `hide` functionality on my windows. `orderOut`
doesn't cut it because it doesn't work on a miniaturized window (known
bug from 2008), so `close` is the next thing. But I can't seem to
restore a closed window that was closed while miniaturized, without
this weird bug.


Thanks,
Cosmin.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to