I have a NSWindow that I display at the Login Window using a non-privileged mech with an auth plug-in.
This window can be displayed at the Login Window without any issues by placing an entry in the system.login.console portion of the authdb.
I want to do the same for the Screen Saver unlock screen. When I put the entry in the authenticate portion of the authdb, the Window does load but is not shown. I have an audio clip play inside of awakeFromNib so I know the window is launching. The runModalForWindow will block the login until I press enter. Once I press enter the modal is stopped and things continue as normal.
How do I get the window to display at the Screen Saver unlock screen?
Also, something similar happens with my window at the Fast User Switching prompt (system.login.console). Except I can see the window behind the gradient background, but can not interact with it.
I have tried many combinations of NSScreenSaverWindowLevel (-1 +1 etc):
[[self window] setCanBecomeVisibleWithoutLogin:TRUE];
[[self window] setLevel:NSScreenSaverWindowLevel + 1];
[[self window] orderFrontRegardless];
Here is a simple example of a window: