I have an old NPAPI plugin for OS X that I’m trying to refit for use with Snow Leopard’s version of Safari. My problem is that when I switch Safari to 64-bit mode, it changes the plugin environment to out of process mode (where plugins are hosted by a 32-bit WebKitPluginHost process). And now my toolbar palettes are not visible on screen, even though the NSPanels on which they are based think they are visible. The documentation says that bringing up windows is not recommended, but doesn’t say its prohibited; is there something I can do to bring up my Windows?
Share
The most reliable solution is to simply let another application, possibly connected to your plugin via some IPC mechanism, do thatApple:
Bringing up windows from a plugin might work in some circumstances and completely break in different ones. By recommending against doing so Apple is at liberty to break your previously working behaviour whenever it wishes to.