1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00
JUCE/modules/juce_gui_basics/native
reuk 1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).

Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.

This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
2021-06-08 14:57:42 +01:00
..
accessibility macOS Accessibility: Send NSArray for NSAccessibilityLayoutChangedNotification 2021-06-07 19:38:29 +01:00
java/app/com/rmsl/juce Updated all license headers 2020-06-29 08:30:22 +01:00
javaopt/app/com/rmsl/juce Updated all license headers 2020-06-29 08:30:22 +01:00
x11 X11: Fix drag-n-drop bug in the XWindowSystem class 2021-04-14 12:36:48 +01:00
juce_android_ContentSharer.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_android_FileChooser.cpp FileChooser: Avoid throwing bad_weak_ptr 2021-03-03 19:21:43 +00:00
juce_android_Windowing.cpp Removed Displays const_casts from ComponentPeer implementations 2021-02-08 14:38:09 +00:00
juce_common_MimeTypes.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ios_ContentSharer.cpp Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
juce_ios_FileChooser.mm Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
juce_ios_UIViewComponentPeer.mm iOS: Check if text entry caused TextInputTarget deletion before calling updateHiddenTextContent() 2021-05-26 09:21:30 +01:00
juce_ios_Windowing.mm iOS: Avoid unnecessary numeric conversion 2021-03-15 19:23:01 +00:00
juce_linux_FileChooser.cpp FileChooser: Allow multiple directory selection on Linux/Zenity 2021-05-24 19:41:11 +01:00
juce_linux_Windowing.cpp VST3: Fix issue where Ardour would repeatedly try to resize editors 2021-03-11 16:51:35 +00:00
juce_mac_FileChooser.mm FileChooser: Avoid throwing bad_weak_ptr 2021-03-03 19:21:43 +00:00
juce_mac_MainMenu.mm MainMenu: Allow components to directly handle shortcut keys which trigger menu items 2021-04-20 17:21:08 +01:00
juce_mac_MouseCursor.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_mac_NSViewComponentPeer.mm macOS Accessibility: Use @available keyword where possible to check if accessibility support is available at runtime 2021-06-07 19:38:29 +01:00
juce_mac_Windowing.mm macOS Windowing: Revert unnecessary change which produced incorrect monitor bounds 2021-04-29 17:43:31 +01:00
juce_MultiTouchMapper.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_win32_DragAndDrop.cpp Windows: Fix and suppress some analysis warnings 2021-05-26 15:34:26 +01:00
juce_win32_FileChooser.cpp Windows: Fix and suppress some analysis warnings 2021-05-26 15:34:26 +01:00
juce_win32_ScopedThreadDPIAwarenessSetter.h Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds 2021-03-02 15:56:10 +00:00
juce_win32_Windowing.cpp PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors 2021-06-08 14:57:42 +01:00