• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host


  • Subject: Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Wed, 18 Dec 2013 17:42:17 +0100

Well, Apple recommends lots of things, it also gives a damn about pro audio software developers, forces programmers to use different programming languages, horrible technologies such as audiounits etc... but none of this is the issue here.

I need the popups, that's why I'm asking. The trouble is, the hosts are working correctly - the events are delivered to the target window. But since I'm assuming the host will be an app with a main window, I assume the events would be processed there. So my question is simply how to forward the events to that window. Any ideas?

Vojtech


2013/12/18 Paul Davis <email@hidden>



On Wed, Dec 18, 2013 at 10:43 AM, Vojtěch Meluzín <email@hidden> wrote:
Hi,

my plugins often display popups. Everything is just fine, except the message chain goes from the popup's view just to the window itself, so the host doesn't key keyboard events even if the window doesn't use it. That's pretty normal, but is a little bit annoying with things like spacebar. What is the best way to forward unused keyboard events to the main window from the popup's NSView?

Apple technotes fairly strongly advise against popping up extra windows. Are you doing this, or is this the "builtin" / "autogenerated" cocoa GUI ?

It is the responsibility of the host to manage events, not the plugin.

--p


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >AudioUnit Cocoa gui displays popup which steals spacebar from the host (From: Vojtěch Meluzín <email@hidden>)
 >Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host
  • Next by Date: Weird Logic behaviour when sending parameter changes for automation
  • Previous by thread: Re: AudioUnit Cocoa gui displays popup which steals spacebar from the host
  • Next by thread: Weird Logic behaviour when sending parameter changes for automation
  • Index(es):
    • Date
    • Thread