Re: Launching in fullscreen gives "Funk" sound sometimes
Re: Launching in fullscreen gives "Funk" sound sometimes
- Subject: Re: Launching in fullscreen gives "Funk" sound sometimes
- From: Saagar Jha via Cocoa-dev <email@hidden>
- Date: Thu, 25 Jun 2020 03:10:50 -0700
It’s possible that the “funk” sound is coming from the other app if it still
has keyboard focus. Try attaching to that instead and seeing if it hits NSBeep.
Saagar Jha
> On Jun 25, 2020, at 02:09, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
>
>>
>> Set a symbolic breakpoint on NSBeep and see whether it?s your code that?s
>> calling it.
>>
>>
>
> Thanks a lot for the hint!
>
> I think I managed to do that (it's a bit tricky, since my app gets launched
> in fullscreen mode by some other app).
> Alas, the debugger did not break at any time when I heard the "Funk" sound.
> So, I guess, we can conclude that my app does not call NSBeep().
>
> Maybe, the keyboard focus is still on some other app?
> and that's why I 'm hearing the "funk" sound, because I am typing a key that
> is meaningful for my app, but not for the other app.
>
> Or could it be that my app still has some other (hidden) windows open, behind
> the fullscreen window, which somehow produce the "funk" sound?
>
>
> Best regards, Gabriel
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden