LaunchAgent, fullscreen openGL and NSWindows
Hello list, I have a kiosk-style application that has run on OSX10.5 via a LaunchAgent with KeepAlive property set. Now in 10.6, I am seeing a very odd thing that I have isolated to launch via launchd plist. The app loads successfully, capturing the screen and rendering to a fullscreen openGL context. However, it also can create NSWindows and show these fullscreen instead. This functionality is just not working. I suspect this is a connection to the window server issue, but I have failed to find any similar issues reported on the net, or find the answer in TN2083 (not to say it isn't in there). Here is the plist. I've tried adding LimitToSessionType Aqua and no difference. It lives in ~/Library/LaunchAgents. Any insight, solutions, debugging suggestions most welcome. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.mpc.MPCScreen</string> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/> <key>Program</key> <string>/Users/mpcscreen/Library/Applications/MPSCREEN.app/Contents/MacOS/MPSCREEN</string> </dict> </plist> Thanks, Toby
On 6 Jan 2011, at 14:32, Toby Harris wrote:
I have a kiosk-style application that has run on OSX10.5 via a LaunchAgent with KeepAlive property set. Now in 10.6, I am seeing a very odd thing that I have isolated to launch via launchd plist. The app loads successfully, capturing the screen and rendering to a fullscreen openGL context. However, it also can create NSWindows and show these fullscreen instead. This functionality is just not working. I suspect this is a connection to the window server issue, but I have failed to find any similar issues reported on the net, or find the answer in TN2083 (not to say it isn't in there).
That's weird. I haven't seen any reports of this and I can't think of any reason this would fail. I'd recommend you open up a DTS tech support incident so that someone (perhaps me) can investigate this in depth. <http://developer.apple.com/support/resources/technical-support.html> S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Quinn, Thanks for replying. And, urgh! Had a feeling it was a weird one. I am not full time on this project so can't say when the incident may be created, but certainly attempting to reproduce in a stripped down application is the next step regardless. Toby -----Original Message----- From: Quinn "The Eskimo!" [mailto:eskimo1@apple.com] Sent: Fri 1/7/2011 10:12 AM To: launchd-dev@lists.macosforge.org Subject: Re: [launchd-dev] LaunchAgent, fullscreen openGL and NSWindows On 6 Jan 2011, at 14:32, Toby Harris wrote:
I have a kiosk-style application that has run on OSX10.5 via a LaunchAgent with KeepAlive property set. Now in 10.6, I am seeing a very odd thing that I have isolated to launch via launchd plist. The app loads successfully, capturing the screen and rendering to a fullscreen openGL context. However, it also can create NSWindows and show these fullscreen instead. This functionality is just not working. I suspect this is a connection to the window server issue, but I have failed to find any similar issues reported on the net, or find the answer in TN2083 (not to say it isn't in there).
That's weird. I haven't seen any reports of this and I can't think of any reason this would fail. I'd recommend you open up a DTS tech support incident so that someone (perhaps me) can investigate this in depth. <http://developer.apple.com/support/resources/technical-support.html> S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
participants (2)
-
Quinn "The Eskimo!"
-
Toby Harris