On Mar 30, 2015, at 11:14:17, Uli Kusterer <witness.of.teacht...@gmx.net> wrote: > > Makes sense considering that sandboxed apps don't run their own open panel. > Instead the accessory view appears to be hosted in a borderless window that > gets attached (at the Window Server level, I'd presume) to the actual open > panel that runs in the PowerBox process. So it'd probably just let through > any clicks in transparent areas to PowerBox in the underlying window.
Jeez, what a horrible hack. But then, it is sandboxing we're talking about, which is by design an ugly hack. :) > A workaround would probably be to use a plain NSBox as your accessory view > and fill it with a solid color (e.g. an opaque version of the color that a > standard-appearance NSBox uses to fill itself). of course that'd run the risk > of looking a bit ugly if Apple changes the color used for that. I don't see > an obvious color for NSBox contents in NSColor.h. That seems to work, but I'm not going to fix Apple's ugly hack by adding an uglier hack. -- Steve Mills Drummer, Mac geek _______________________________________________ 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