nih-plug icon indicating copy to clipboard operation
nih-plug copied to clipboard

BUG: Vizia resize problem

Open aizcutei opened this issue 1 year ago • 7 comments

Vizia gui seems cannot resize properly. I tested on both Windows and MacOS. For Windows, standalone window can resize but canvas can't resize. On MacOS, window cannot resize but canvas can resize. I also tested VST3, it has same problem.

Clip_20240311_212542

aizcutei avatar Mar 12 '24 02:03 aizcutei

I just got a report from @sletz, he has the same issue, on OSX: image

magnetophon avatar Apr 04 '24 11:04 magnetophon

On Linux the resizing is only an issue with standalone builds when not using the resize handle (bottom right). Instead when you use the typical Xorg alt+RMB resize on the nearest corner the same behavior as described here happens:

2024-04-04_15-28

For plugin builds (VST3 + CLAP) it is only possible to resize with the corner handle, so this all works as expected.

dromer avatar Apr 04 '24 13:04 dromer

Using the current master version of nih_plug_vizia, the resize handle correctly detects mouse intersection but doesn't resize for VST3 plugin builds in Ardour (though it works correctly under Bitwig). The resize handle works correctly in the previous release of Spectral Compressor 0.4.3 (released March 31 2023) but not for the current master version I compiled, so this is a recent regression.

I'm not sure how Ardour and Bitwig differ in handling plugin window resizing, but the previous implementation worked correctly under both hosts. It would be great if the current version did too.

Madadog avatar May 01 '24 06:05 Madadog

Doesn't seem Vizia specific. With egui I get the same behaviour.

image

Kind regards.

Jacob

jhoeflaken avatar Jul 17 '24 21:07 jhoeflaken

Recording of this behavior on latest FL STUDIO on Windows https://github.com/user-attachments/assets/e94b11e8-a373-4cc9-8369-96377ea4d1c6

link to the repo here: 1xOsc

eye-wave avatar Jul 31 '24 09:07 eye-wave