• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront


  • Subject: Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront
  • From: Ken Thomases <email@hidden>
  • Date: Fri, 22 Aug 2014 21:33:01 -0500

On Aug 22, 2014, at 10:01 AM, Cosmin Apreutesei <email@hidden> wrote:

> 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?

I encountered this same issue.  Making the window a one-shot window (window.oneShot = YES) works around it.

Cheers,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront
      • From: Cosmin Apreutesei <email@hidden>
References: 
 >buggy sequence: miniaturize/close/makeKeyAndOrderFront (From: Cosmin Apreutesei <email@hidden>)

  • Prev by Date: Re: iOS database within sandbox
  • Next by Date: Re: <null> value in KVO change dictionary ?
  • Previous by thread: buggy sequence: miniaturize/close/makeKeyAndOrderFront
  • Next by thread: Re: buggy sequence: miniaturize/close/makeKeyAndOrderFront
  • Index(es):
    • Date
    • Thread