View Single Post
Old 11-27-2019, 10:55 PM   #1
jpcima
Human being with feelings
 
Join Date: Nov 2019
Posts: 1
Default Trouble with window resizing in plugin development

Hi, I have been working recently on improving some window setup code on plugin-side, for VST plugins on macOS.

It's in the context of DPF, the DISTRHO plugin framework.

I wish to resolve a known issue about resizing, where the parent and child window are conflicting, and resizing each other in a loop.

An example: https://www.youtube.com/watch?v=r0IpJz8F-qs

I think, it may relate to this former post, and the noted fact that Reaper is not using a "content view".
https://forum.cockos.com/showthread.php?t=168914

For context, the former developer who has worked on this has used the NSView "autoResizingMask" on the editor, such that it can adapt when a user resizes the containing window via mouse.
I know this resizing to be at the origin of the problem. https://git.io/JeXDu

Previously, I opened an issue and I took some notes, also introduced a somewhat unsatisfactory hack.
https://github.com/DISTRHO/DPF/issues/198

Do you known what is an adequate way to implement resizing on macOS? Thanks.
jpcima is offline   Reply With Quote