1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00
JUCE/modules/juce_gui_basics/native
reuk 408f6030e6
NSViewComponentPeer: Attempt to avoid reentrant calls to makeKeyWindow
AUv2 plugins on Arm that are hosted out-of-process (e.g. in Logic 10.7)
can sometimes crash due to endlessly recursing through becomeKeyWindow.
This tends to happen when displaying a secondary window in a plugin,
e.g. an AlertWindow, then clicking on a secondary app, then clicking
back on the AlertWindow.

To avoid this case, we check that the peer isn't already key before
calling makeKeyWindow.

Unfortunately, we can't use isKeyWindow to avoid the recursion because
this may not return true until after becomeKeyWindow has returned.
2023-02-06 19:42:09 +00:00
..
accessibility TextInputTarget: Improve IME support on Android 2022-12-07 13:12:02 +00:00
java/app/com/rmsl/juce TextInputTarget: Improve IME support on Android 2022-12-07 13:12:02 +00:00
javaopt/app/com/rmsl/juce InAppPurchases: Add support for Android BillingClient 5.0.0 2022-06-09 16:55:17 +01:00
x11 Linux: Avoid logging BadShmSeg error when SHM capability is not detected 2023-02-03 16:11:11 +01:00
juce_android_ContentSharer.cpp TextInputTarget: Improve IME support on Android 2022-12-07 13:12:02 +00:00
juce_android_FileChooser.cpp Android: Added the ability to associate a particular file-extension to a mime-type at runtime 2022-11-02 20:27:20 +01:00
juce_android_Windowing.cpp Android: Add simulated mouse exit event to the mouse up callback 2023-02-03 16:11:11 +01:00
juce_ios_ContentSharer.cpp Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
juce_ios_FileChooser.mm FileChooser: Allow directory selection on iOS 2023-01-25 17:07:24 +00:00
juce_ios_UIViewComponentPeer.mm iOS: Fix build issues with Xcode 10.1 2023-01-12 19:13:57 +00:00
juce_ios_Windowing.mm iOS Windowing: Avoid private selector warnings 2023-02-06 10:22:41 +00:00
juce_linux_FileChooser.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_linux_Windowing.cpp Windowing: Start repaint timer immediately on Linux 2022-12-14 11:12:59 +00:00
juce_mac_CGMetalLayerRenderer.h macOS: Handle unavailable Metal device 2022-11-30 11:19:15 +00:00
juce_mac_FileChooser.mm FileChooser: Fix opening native dialogs in sandboxed macOS apps 2023-01-25 17:07:23 +00:00
juce_mac_MainMenu.mm TextInputTarget: Improve input handling on macOS and iOS 2022-12-07 13:12:02 +00:00
juce_mac_MouseCursor.mm Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_mac_NSViewComponentPeer.mm NSViewComponentPeer: Attempt to avoid reentrant calls to makeKeyWindow 2023-02-06 19:42:09 +00:00
juce_mac_PerScreenDisplayLinks.h OpenGL: Ensure that macOS uses the same (sRGB) colour space everywhere 2022-09-27 15:18:21 +01:00
juce_mac_Windowing.mm ScopedNotificationCenterObserver: Fix dark mode detection regression on macOS 2023-01-05 19:52:53 +00:00
juce_MultiTouchMapper.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ScopedDPIAwarenessDisabler.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_win32_DragAndDrop.cpp Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
juce_win32_FileChooser.cpp FileChooser: Improve modal behaviour in plugins on Windows 2023-02-06 17:29:04 +00:00
juce_win32_ScopedThreadDPIAwarenessSetter.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_win32_Windowing.cpp Windows: Tidy up function-loader singletons 2023-01-12 19:13:57 +00:00