Take the 2-minute tour ×

Is there a way to show the QLPreviewPanel in an agent app (LSUIElement == YES) on Mac OS X 10.6? It works on 10.7. The frame of the panel is correct and everything, it’s just not visible.

share|improve this question

1 Answer 1

I found the answer in an old thread on CocoaDev, where the issue was showing alert panels in agent apps in general:

Alert dialog in agent app

Solution: One must call [NSApp activateIgnoringOtherApps:YES] in order to make the panel appear.

share|improve this answer

Your Answer


