Elbimio
Elbimio

Reputation: 1041

Cocoa: NSPopover in statusbar unresponsive

An application has an NSPopover with some user inputs in the status bar and some windows. The windows work fine but when I open the popover in the status bar it opens inactive. I can see everything but it's all greyed out, like it's a background window. I've been trying everything I can find on activate, activateignoringotherapps, makekeyandorderfront, etc but none of these is having an effect. How can I shift the focus to the statusbar popover?

I also made a button in the window that showed the same popup to make sure it is working, when called from the window button it works perfectly from there. Then I click on the status bar, and it opens from there instead, but inactive.

Thanks for the help.

Upvotes: 1

Views: 846

Answers (2)

allad
allad

Reputation: 11

There's a framework called SFBPopovers which provides similar functionality and works fine with the menu bar.

It might help with your issue.

Upvotes: 1

gjl
gjl

Reputation: 11

I've run into the same problem and haven't found a solution. Unfortunately, I believe this is a bug: http://www.openradar.me/radar?id=1226415

Upvotes: 1

Related Questions