08-14-2024, 05:13 AM
|
#1 |
|
Human being with feelings
Join Date: Sep 2019
Posts: 44
|
Hi!
I'm noticing a difference with `gui.request_resize` on the CLAP implementation in linux. I'm working with the shortcircuit wrapper which translates clap calls into VST3 so I can compare an equivalent VST3 and CLAP implementation. Ubuntu 22.04, whichever version I downloaded yesterday of reaper! The problem quite simply is `request_resize` in CLAP generates a call to setSize which is the old size not the new size. Whereas the VST3 does not. It's almost like in the call to request_resize implementation on linux you use the current size not the passed in argument! Here's what I see in my log for my VST3 ``` clients/clap-first/scxt-plugin/scxt-plugin.cpp:81 [09:38:55.238] On Zoom Changed with 1.25 - requesting resize of 1482.5x1020 helpers/src/sst/clap_juce_shim/clap_juce_shim_impl.cpp:115 guiSetSize W=1482 H=1020 ``` and here's what I see for my CLAP ``` clients/clap-first/scxt-plugin/scxt-plugin.cpp:81 [09:36:30.459] On Zoom Changed with 1.25 - requesting resize of 1482.5x1020 /home/paul/dev/shortcircuit-xt/libs/sst/sst-clap-helpers/src/sst/clap_juce_shim/clap_juce_shim_impl.cpp:115 guiSetSize W=948 H=652 ``` which was the 'prior' size. The CLAP wrapper in the VST3 context turns the request_resize into `Steinberg::IPlugFrame::resizeView'. In bitwig and ardour on linux the clap resizes without problem. Thanks for taking a look at this and please let me know if you have any questions. |
|
|
08-14-2024, 05:42 AM
|
#2 |
|
Administrator
Join Date: Mar 2007
Location: NY
Posts: 17,824
|
Fixing, thanks. What happens presently is that the passed-in dimensions are ignored and clap_plugin_gui::get_size() is called instead. The issue is not linux-specific.
Last edited by schwa; 08-14-2024 at 05:48 AM. |
|
|
08-14-2024, 05:57 AM
|
#3 |
|
Human being with feelings
Join Date: Sep 2019
Posts: 44
|
|
|
|
![]() |
| Thread Tools | |
|
|