# ComboBox / Popup menu appearing on 2nd monitor

**URL:** <https://forum.juce.com/t/combobox-popup-menu-appearing-on-2nd-monitor/64965>\
**Category:** MacOSX and iOS\
**Created:** [January 21, 2025, 8:28am UTC](https://forum.juce.com/t/combobox-popup-menu-appearing-on-2nd-monitor/64965 "2025-01-21T08:28:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamwilson](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamwilson/32/1387_2.png) [@adamwilson](https://forum.juce.com/u/adamwilson)\
**Post date:** [January 21, 2025, 8:28am UTC](https://forum.juce.com/t/combobox-popup-menu-appearing-on-2nd-monitor/64965/1 "2025-01-21T08:28:10Z")

</div>

We’ve had an issue reported with a plugin based on JUCE 7.0.12 where the ComboBox popup menu appears on a second monitor, when the plugin window is on the primary monitor. It occurs when the second monitor is an Apple Cinema Display which connects to an iMac via a USB-C to Mini DisplayPort adapter, observed in both Logic and Ableton Live on macOS Sonoma.

Is this a known issue?

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [January 21, 2025, 11:15am UTC](https://forum.juce.com/t/combobox-popup-menu-appearing-on-2nd-monitor/64965/2 "2025-01-21T11:15:36Z")

</div>

> [@adamwilson](#):
>
> Is this a known issue?

I don’t think so, although opening additional top-level windows is known to cause problems in Logic for plugins hosted out-of-process. Which plugin formats exhibit the issue? Is the machine Arm or Intel-based? Are you able to reproduce the issue yourself?

The [official Apple guidance](https://developer.apple.com/documentation/audiotoolbox/debugging-out-of-process-audio-units-on-apple-silicon?language=objc#Troubleshoot-Common-Issues-for-Audio-Units) is to avoid opening new top-level windows from an AudioUnit plugin.

Depending on the size of the popup menu, one workaround might be to set the menu’s parent component to the main plugin editor (`LookAndFeel::getParentComponentForMenuOptions`). This will cause the menu to open within the editor, rather than creating a new top-level window.
