1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00
JUCE/modules/juce_audio_plugin_client
reuk cad155bf1c
VST3 Client: Make window sizing slightly more robust in Live
The following was observed for a VST3 plugin hosted in Live 11.1 with
auto-scaling disabled:

- It never calls setContentScaleFactor on the plugin's UI, so the
  wrapper has to check the current display on a timer and update the
  current scale factor when necessary.

- It calls canResize on the plugin view after opening it, but doesn't
  seem to respect the result of this call. According to the VST3
  documentation, a host is supposed to only call checkSizeConstraint
  during a live resize operation (which should only happen if the plugin
  reports it can resize), but Live calls this function every time the
  user drags the editor. It also passes the result of this function to
  onSize, whether or not checkSizeConstraints reported success.

- When dragging an editor between displays, Live will continue to call
  checkSizeConstraint and onSize with the editor’s old size in physical
  pixels. In some cases, JUCE's "scale factor check" timer callback
  fires, resizes the view to the correct size, and then Live
  asynchronously calls onSize again with the editor's old size in
  physical pixels, resulting in the editor being set to the wrong
  logical size.

This patch ensures that checkSizeConstraint always returns the current
size of a nonResizable editor. This means that the logical size of the
editor should not change when the result of checkSizeContraint is used
to resize the window.
2022-04-01 16:41:48 +01:00
..
AAX AudioProcessorParameter: Add new ParameterID and Attributes types 2022-03-03 13:47:05 +00:00
AU AU Client: Order parameters according to version hint 2022-03-03 13:44:49 +00:00
RTAS Plugin clients: Fix bypass behaviours to match getBypassParameter() documentation 2022-02-07 14:24:11 +00:00
Standalone StandaloneFilterWindow: Account for native frame size in constrainer 2022-04-01 16:41:47 +01:00
Unity Image: Keep track of contiguous buffer size to avoid heap buffer overflows 2022-02-23 10:56:09 +00:00
utility MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
VST Plugin clients: Fix bypass behaviours to match getBypassParameter() documentation 2022-02-07 14:24:11 +00:00
VST3 VST3 Client: Make window sizing slightly more robust in Live 2022-04-01 16:41:48 +01:00
AUResources.r Build: Improve support for AU resource files on ARM Macs 2021-06-25 11:12:37 +01:00
juce_audio_plugin_client.h Bump version number to 6.1.6 2022-02-28 12:53:10 +00:00
juce_audio_plugin_client_AAX.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AAX.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU.r Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU_1.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU_2.mm Fix warnings when building in C++20 mode 2021-01-15 13:33:40 +00:00
juce_audio_plugin_client_AUv3.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS.r Renamed XCode to Xcode in multiple places 2017-10-06 09:54:32 +01:00
juce_audio_plugin_client_RTAS_1.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_2.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_3.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_4.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_utils.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_utils.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_Standalone.cpp AppConfig: Ensure AppConfig is always included in plugin wrappers 2020-10-20 10:16:13 +01:00
juce_audio_plugin_client_Unity.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_utils.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST2.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST3.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST_utils.mm Updated all license headers 2020-06-29 08:30:22 +01:00