1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00
JUCE/modules/juce_gui_basics/native
reuk 4ba81fda59
FileChooser: Fix bug where native FileChooser could not be closed when hosted in Cantabile
Previously, the top-level modal dismiss broadcaster would attempt to
dismiss all modals when the native file chooser was brought to the front
or clicked. This would end up calling Component::inputAttemptWhenModal,
which would bring the FileChooser's Component to the front, interrupting
the mouse click.

The fix is to avoid bringing the plugin window to the front when the
FileChooser is in a modal state. As the chooser is a native window, the
system should take care of enforcing the expected modal behaviour.

It's not clear why this issue only affects Cantabile. It seems that in
Cantabile, events from the native FileChooser get sent to the plugin
editor's parent HWND, whereas this doesn't happen in other hosts.
Perhaps Cantabile is hooking/intercepting window messages in some way.
2023-05-31 15:15:25 +01:00
..
accessibility Tidy divider comments 2023-05-26 09:04:21 +01:00
java/app/com/rmsl/juce Android: Fix version checks around setImeConsumesInput() 2023-05-04 18:41:04 +01:00
javaopt/app/com/rmsl/juce ContentSharer: Update interface to return safer ScopedMessageBox instances 2023-03-27 11:54:37 +01:00
juce_CGMetalLayerRenderer_mac.h CGMetalLayerRenderer: Avoid creating resources for zero-size layers 2023-04-19 19:59:49 +01:00
juce_ContentSharer_android.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_ContentSharer_ios.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_DragAndDrop_linux.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_DragAndDrop_windows.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_FileChooser_android.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_FileChooser_ios.mm Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_FileChooser_linux.cpp FileChooser: Avoid passing deprecated --confirm-overwrite option to zenity 2023-05-31 15:15:25 +01:00
juce_FileChooser_mac.mm WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_FileChooser_windows.cpp FileChooser: Fix bug where native FileChooser could not be closed when hosted in Cantabile 2023-05-31 15:15:25 +01:00
juce_MainMenu_mac.mm Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_MouseCursor_mac.mm Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_MultiTouchMapper.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_NativeMessageBox_android.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_NativeMessageBox_ios.mm Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_NativeMessageBox_linux.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_NativeMessageBox_mac.mm Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_NativeMessageBox_windows.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_NativeModalWrapperComponent_ios.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_NSViewComponentPeer_mac.mm NSViewComponentPeer: Avoid calling makeKeyWindow on windows that cannot become key 2023-05-31 15:15:24 +01:00
juce_PerScreenDisplayLinks_mac.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_ScopedDPIAwarenessDisabler.cpp GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
juce_ScopedDPIAwarenessDisabler.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ScopedThreadDPIAwarenessSetter_windows.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_ScopedWindowAssociation_linux.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_UIViewComponentPeer_ios.mm CGMetalRenderer: Avoid glitching when resizing views 2023-04-04 19:55:12 +01:00
juce_Windowing_android.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_Windowing_ios.mm WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_Windowing_linux.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_Windowing_mac.mm WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_Windowing_windows.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_WindowUtils_android.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_WindowUtils_ios.mm WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_WindowUtils_linux.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_WindowUtils_mac.mm WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_WindowUtils_windows.cpp WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
juce_XSymbols_linux.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_XSymbols_linux.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_XWindowSystem_linux.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_XWindowSystem_linux.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00