• 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: Window not becoming key window when it should after makeKeyAndOrderFront:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window not becoming key window when it should after makeKeyAndOrderFront:


  • Subject: Re: Window not becoming key window when it should after makeKeyAndOrderFront:
  • From: Rosyna <email@hidden>
  • Date: Wed, 28 Nov 2001 08:58:45 -0700

This is a bug I reported multiple times to apple. It should come frontmost if you close the window, then bring it forward again

Ack, at 11/28/01, Steve Moon said:

one of my application install itself in the menu bar using NSStatusBar/NSStatusItem. The application itself is configured with the flag NSUIElement set to "1". When I click on the icon installed in the menu bar the app show up a menu, and one of this menu can bring up a window on screen (most of the time the user close this window : so it's often off screen).
I show this window by doing a regular : [window makeKeyAndOrderFront:self]; and this window has the regular attribute (resizable, miniaturize, ...).

BUT often the window do not show up as the key window (the title bar is semi transparent), and so make some of the widget in it really unusable !! Anything wrong I am doing here ?? Any ideas why it's happening ? I notice that if the app run without the NSUIElement setting the problem do not happen (apparently since I was not able to reproduce it).

--



Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insane People


  • Follow-Ups:
    • Re: Window not becoming key window when it should after makeKeyAndOrderFront:
      • From: Steve Moon <email@hidden>
References: 
 >Window not becoming key window when it should after makeKeyAndOrderFront: (From: Steve Moon <email@hidden>)

  • Prev by Date: Re: Equivalent to gethrtime()
  • Next by Date: Re: Standard OS X Compression format
  • Previous by thread: Window not becoming key window when it should after makeKeyAndOrderFront:
  • Next by thread: Re: Window not becoming key window when it should after makeKeyAndOrderFront:
  • Index(es):
    • Date
    • Thread