Re: Window not becoming key window when it should after makeKeyAndOrderFront:
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