On Sun, 16 Dec 2012 11:45:29 +0100, Tamas Nagy said: >I'm trying to display an NSOpenPanel on a dispatch, with half-luck. The >panel displays, but no files going to be displayed - the circle just >spinning on the bottom-left corner. Anyone have an idea what going wrong?
Others have explained what's going on here. There is a UI workaround... if you switch between icon and list view, it prods the thing into working. I'll just add that my bug on this is <radar://10614610>. I consider it unlikely to get fixed given the time that's elapsed. In my case I was showing an openpanel during document opening (to prompt the user to find a file if an alias failed to resolve). Between 10.6 and 10.7, with all the doc architecture changes, an override point in NSDocument starting using GCD and suddenly modal openpanels become unsafe to use there. :( Cheers, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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