osx - Sandbox NSOpenPanel Error 1000 -


i'm pretty ready release first sandbox-enabled mac application. entitlement need user selected file. user clicks on toolbar button select 1 or more image files, doesn't cause trouble. user clicks on button select folder. when do, xcode output window indicates following error message. cgssetignorescycle: error 1000 setting or clearing window tags. if user cancels select-folder operation without selecting one, additional error message on top of first one. says pssetwindowlevel, error setting window level (1000). application not crash. these error messages things need worry? if ask google, don't many search results. anyway, following code used when user clicks on button select folder.

- (ibaction)system1selected:(id)sender {     nsopenpanel *panel = [nsopenpanel openpanel];     [panel setallowsmultipleselection:no];     [panel setcanchoosedirectories:yes];     [panel setcanchoosefiles:no];     nsstring *currentpath = systempath1.stringvalue;     if ([self fileexists:currentpath]) {         [panel setdirectoryurl:[nsurl fileurlwithpath:currentpath]];     } else {         [panel setdirectoryurl:[nsurl fileurlwithpath:[self filepatha]]];     }     if ([panel runmodal] != nsfilehandlingpanelokbutton) {         //return nil;     } else {         nsurl *url = [[panel urls] lastobject];         systempath1.stringvalue = [url path];     } } 

thank advice.

this error has been there while in applications. doesn't seem need worry about. disappears without changing and, probably, depends on bug of nsopenpanel (i didn't manage same error using nssavepanel).

in opinion, there's no need investigate further.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -