# Current status of Juce plugin support on Mac with cocoa

**URL:** <https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606>\
**Category:** Audio Plugins\
**Created:** [January 29, 2009, 11:44am UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606 "2009-01-29T11:44:31Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [March 18, 2009, 12:16pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/21 "2009-03-18T12:16:13Z")

</div>

> [@jules](#):
>
> Maybe I should just do one now - the tip seems very stable at the moment…

I for one vote for a new release at current point…

---

<div class="post-metadata">

**Author:** ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)\
**Post date:** [March 18, 2009, 1:46pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/22 "2009-03-18T13:46:42Z")

</div>

Hi Jules,

Is it possible to build a carbon version with the current tip using some ifdef ?

Thanks,

---

<div class="post-metadata">

**Author:** ![\_a1](https://avatars.discourse-cdn.com/v4/letter/_/ecb155/32.png) [@\_a1](https://forum.juce.com/u/_a1)\
**Post date:** [March 18, 2009, 2:10pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/23 "2009-03-18T14:10:10Z")

</div>

I have some issue with the tip where the (RTAS plugin) editor is drawn behind the host’s plugin window instead of on top of it.  
This happens on Pro Tools (Mac) when Apple’s Spaces are used and the plugin is shown in front. It does not seem to happen if the plugin has keyboard focus.

Has anyone an idea why this may happen or even better, how to solve this?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [March 18, 2009, 6:07pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/24 "2009-03-18T18:07:27Z")

</div>

[quote=“otristan”]Hi Jules,

Is it possible to build a carbon version with the current tip using some ifdef ?

Thanks,[/quote]

No, the carbon code is gone forever. (And good riddance!)

---

<div class="post-metadata">

**Author:** ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)\
**Post date:** [March 18, 2009, 10:40pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/25 "2009-03-18T22:40:20Z")

</div>

[quote=“jules”]  
No, the carbon code is gone forever. (And good riddance!)[/quote]

oki doki.

Thanks,

---

<div class="post-metadata">

**Author:** ![\_Nkey](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/_nkey/32/399_2.png) [@\_Nkey](https://forum.juce.com/u/_Nkey)\
**Post date:** [March 21, 2009, 4:27pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/26 "2009-03-21T16:27:44Z")

</div>

I have two problems with UI:

1. There is no GUI in AU in ILive(VST - ok, XCode demo wih Cocoa - ok).
2. AlertWindow work incorrectly. After enterModalLoop() window openes, enteres modal state, but it undo then plugin window. And it can’t receive keybords messages(can’t write to edit box). Mouse works fine.

---

<div class="post-metadata">

**Author:** ![\_Nkey](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/_nkey/32/399_2.png) [@\_Nkey](https://forum.juce.com/u/_Nkey)\
**Post date:** [March 22, 2009, 1:23pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/27 "2009-03-22T13:23:50Z")

</div>

> [@](#):
>
> AlertWindow work incorrectly. After enterModalLoop() window openes, enteres modal state, but it undo then plugin window. And it can’t receive keybords messages(can’t write to edit box)

AlertWindow can be fixed via setAlwaysOnTop(true) before enterModalLoop().  
Edit box on AlertWindow can be fixed via alertWindow-\>setWantKeyboardFocus(true). But edit box is not active after opening.

And new problem:  
Window can not receive mouseMove(…), but mouseDrag(…) works fine.

Thanks.

---

<div class="post-metadata">

**Author:** ![zamrate](https://avatars.discourse-cdn.com/v4/letter/z/f4b2a3/32.png) [@zamrate](https://forum.juce.com/u/zamrate)\
**Post date:** [May 5, 2009, 9:04pm UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/28 "2009-05-05T21:04:13Z")

</div>

[quote=“jules”][quote=“otristan”]Hi Jules,

Is it possible to build a carbon version with the current tip using some ifdef ?

Thanks,[/quote]

No, the carbon code is gone forever. (And good riddance!)[/quote]

Considering that the carbon code worked (almost) well in all hosts, I wonder how many people actually share this opinion.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 6, 2009, 10:09am UTC](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606/29 "2009-05-06T10:09:03Z")

</div>

Well, I think Apple share that opinion, and that’s quite significant!

But when I finally find time to add some legacy carbon support for the AU build, it should be compatible with more hosts than it was before…

[Previous page](https://forum.juce.com/t/current-status-of-juce-plugin-support-on-mac-with-cocoa/3606.md?page=1)
