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
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 Accessibility: Fix parent handler traversal when hit test handler is ignored in AccessibilityHandler::getChildAt() 2021-09-15 14:04:23 +01:00
application Updated all license headers 2020-06-29 08:30:22 +01:00
buttons Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
commands Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
components Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
desktop Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +01:00
drawables Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
filebrowser FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested 2021-09-27 12:48:59 +01:00
keyboard Take MessageManagerLock in FocusTraverser and KeyboardFocusTraverser unit tests 2021-09-29 11:45:06 +01:00
layout Grid: Fix behaviour with negative row/column indices 2021-09-28 11:31:49 +01:00
lookandfeel Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options 2021-07-21 16:34:12 +01:00
menus Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
misc Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
mouse Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
native HWNDComponentPeer: Avoid auto-scaling child hwnds 2021-09-30 14:19:26 +01:00
positioning CharacterFunctions: Add new function to move pointer past whitespace 2021-02-18 10:54:29 +00:00
properties ChoicePropertyComponent: Allow slightly more relaxed matching in getValue 2021-08-10 16:48:35 +01:00
widgets Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
windows Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
juce_gui_basics.cpp ScopedDPIAwarenessDisabler: Move to juce_gui_basics 2021-09-28 11:31:50 +01:00
juce_gui_basics.h ScopedDPIAwarenessDisabler: Move to juce_gui_basics 2021-09-28 11:31:50 +01:00
juce_gui_basics.mm Updated all license headers 2020-06-29 08:30:22 +01:00