Re: Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Sandor Szatmari via Cocoa-dev
G, > On Jun 24, 2020, at 12:57, Gabriel Zachmann via Cocoa-dev > wrote: > >  >> >> >> Set a symbolic breakpoint on NSBeep and see whether it’s your code that’s >> calling it. >> > > Thanks, but how would I do that? > I never use NSBeep in my code .. The system is calling NSBeep > >

Re: Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Alex Zavatone via Cocoa-dev
Symbolic breakpoints, my man! > On Jun 24, 2020, at 11:57 AM, Gabriel Zachmann via Cocoa-dev > wrote: > >> >> Set a symbolic breakpoint on NSBeep and see whether it’s your code that’s >> calling it. >> > > Thanks, but how would I do that? > I never use NSBeep in my code .. > > Best

Re: Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Richard Charles via Cocoa-dev
> On Jun 24, 2020, at 10:57 AM, Gabriel Zachmann via Cocoa-dev wrote: > >> >> Set a symbolic breakpoint on NSBeep and see whether it’s your code that’s >> calling it. >> > > Thanks, but how would I do that? > I never use NSBeep in my code .. > > Best regards, Gabriel Symbolic Breakpoints

Re: Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Gabriel Zachmann via Cocoa-dev
> > Set a symbolic breakpoint on NSBeep and see whether it’s your code that’s > calling it. > Thanks, but how would I do that? I never use NSBeep in my code .. Best regards, Gabriel smime.p7s Description: S/MIME cryptographic signature ___

Re: Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Graham Cox via Cocoa-dev
Set a symbolic breakpoint on NSBeep and see whether it’s your code that’s calling it. —Graham > On 24 Jun 2020, at 7:23 pm, Gabriel Zachmann via Cocoa-dev > wrote: > > I have an app that should switch to fullscreen automatically, > if it is launched with a specific flag. > > This is my

Launching in fullscreen gives "Funk" sound sometimes

2020-06-24 Thread Gabriel Zachmann via Cocoa-dev
I have an app that should switch to fullscreen automatically, if it is launched with a specific flag. This is my code to switch to fullscreen at startup (in AppDelegate.m): - (void) applicationWillFinishLaunching: (NSNotification *) notification { [self.window setFrameAutosaveName: