1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
JUCE/modules/juce_gui_basics/native
reuk 72f3a15616
HWNDComponentPeer: Avoid auto-scaling child hwnds
The scaling machinery in the component peer was causing problems for
hosted plugin views. Scaling the plugin view size requires close
collaboration between the plugin and the host, and it's important for
the host to have exact control over the size of the plugin's view. The
removed code in the HWNDComponentPeer was modifying the sizes of
embedded plugin windows, which would often leave them at an incorrect
size.

The faulty behaviour was especially noticable with plugins that do not
support DPI-aware behaviour. I tested with the following plugins (VST2 +
VST3), which should all now display correctly in the AudioPluginHost,
and assume the correct size when opened on hi-res displays, or dragged
between displays with different scale factors:
- Plogue AlterEgo
- U-He Hive 2
- FabFilter Pro-C
- Native Instruments Supercharger
- Surge
2021-09-30 14:19:26 +01:00
..
accessibility macOS: Use available keyword instead of preprocessor version checks where possible 2021-09-29 16:13:48 +01:00
java/app/com/rmsl/juce Android Accessibility: Check for valid host pointer when calling into C++ peer code from Java accessibility callbacks 2021-09-15 14:02:15 +01:00
javaopt/app/com/rmsl/juce Updated all license headers 2020-06-29 08:30:22 +01:00
x11 Linux: Implement dark mode detection 2021-09-29 17:40:58 +01:00
juce_android_ContentSharer.cpp Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
juce_android_FileChooser.cpp Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
juce_android_Windowing.cpp Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +01: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 MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0 2021-06-10 15:20:39 +01:00
juce_ios_UIViewComponentPeer.mm Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +01:00
juce_ios_Windowing.mm Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +01:00
juce_linux_FileChooser.cpp FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested 2021-09-27 12:48:59 +01:00
juce_linux_Windowing.cpp Linux: Update displays when DPI settings change 2021-09-29 17:41:04 +01:00
juce_mac_FileChooser.mm macOS: Use available keyword instead of preprocessor version checks where possible 2021-09-29 16:13:48 +01:00
juce_mac_MainMenu.mm macOS: Use available keyword instead of preprocessor version checks where possible 2021-09-29 16:13:48 +01:00
juce_mac_MouseCursor.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_mac_NSViewComponentPeer.mm macOS: Use available keyword instead of preprocessor version checks where possible 2021-09-29 16:13:48 +01:00
juce_mac_Windowing.mm Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +01:00
juce_MultiTouchMapper.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ScopedDPIAwarenessDisabler.h ScopedDPIAwarenessDisabler: Move to juce_gui_basics 2021-09-28 11:31:50 +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 FileChooser: Always set initial directory if the initialFileOrDirectory argument is not empty 2021-07-14 15:40:58 +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 HWNDComponentPeer: Avoid auto-scaling child hwnds 2021-09-30 14:19:26 +01:00