If I have a NSStatusItem which brings up a popover when tapped, it works 
normally and it works in Full Screen mode if our app is the one being shown. 
But if you are in full screen mode with another app, it doesn’t show up.

I’d like to get some ideas on what to do here. 

-(void) statusItemSelected:(NSButton*)sender
{
        if (informantStatusPopover.isShown)
        {
                [informantStatusPopover close];
                informantStatusPopover = nil;
        }
        else
        {
                PIMenuItemTodayViewController* focusViewSidebar = 
[[PIMenuItemTodayViewController alloc] 
initWithNibName:@"PIMenuItemTodayViewController" bundle: [NSBundle mainBundle]];
                
                informantStatusPopover = [[NSPopover alloc] init];
                informantStatusPopover.contentViewController = focusViewSidebar;
                informantStatusPopover.contentSize = NSMakeSize(320, 480);
                informantStatusPopover.behavior = NSPopoverBehaviorTransient;
                informantStatusPopover.delegate = self;
                
                [informantStatusPopover showRelativeToRect:[sender frame] 
ofView:sender preferredEdge:NSMinYEdge];
        }
}


Alex Kac - President and Founder
Web Information Solutions, Inc.

"Forgiveness is not an occasional act: it is a permanent attitude." 
-- Dr. Martin Luther King




_______________________________________________

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