Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for macOS X

Reply
 
Thread Tools Display Modes
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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.