surge-synthesizer / surge

Synthesizer plug-in (previously released as Vember Audio Surge)
https://surge-synthesizer.github.io/
GNU General Public License v3.0
3.17k stars 400 forks source link

Over zooming of ui VST3 #7396

Open hfiguiere opened 11 months ago

hfiguiere commented 11 months ago

Bug Description: Surge over zoom the UI in Ardour 8.

Surge XT Version 1.2.3 or 1.3.0

Reproduction Steps: Steps to reproduce the behavior:

  1. Start Ardour
  2. In Ardour preference set a font size to 125%. (it's still too small on my 4K screen)
  3. Create track in Ardour to use Surge XT VST3
  4. Open the UI. It's too big.

Expected Behavior: The UI is properly sized.

Screenshots: Screenshot from 2023-12-13 16-16-58

Computer Information (please complete the following!):

Additional Information: Source: https://github.com/flathub/org.surge_synth_team.surge-xt/pull/15#issuecomment-1854755320

tl;dr Ardour give the UI scale to the plugin. And the plugins seenm to do it twice. I can't even change the ui zoom in Surge. Also 150%, I get the black window.

https://github.com/flathub/org.surge_synth_team.surge-xt/pull/15#issuecomment-1854774369

hfiguiere commented 11 months ago

Just to clarify, the above screenshot is NOT edited. The crop was taken as is.

mkruselj commented 11 months ago

I think this is an issue on Ardour end, as I don't think we see the same behavior in any other VST3 host.

(By the way, you can right-click in the background of the GUI to get the main menu of Surge, which also has the zoom options.)

baconpaul commented 11 months ago

i'll find some time to download ardour 8 and try hopefully before christmas

sounds to me like it is sending me the vst3 setting for screen pixel scaling as its internal scale.

miranda commented 9 months ago

I just installed Surge XT 1.3 on Arch Linux (via pacman), using it with Ardour 8... discovered the same thing. It's so huge it won't fit on my screen. But I also noticed none of the zoom or shrink settings do anything at all, even trying to enlarge it. I also noticed that it has the option "Set Current Zoom Level (250%) as Default" and "Set Default Zoom Level to..." brings up 250 to start with, and setting it to a different number won't change it. So it's obviously stuck at 250% zoom.

Another thing that it's doing is when I bring up the menu and move the mouse between selections, the Surge UI completely disappears and only the menu is visible. Not sure if that is related.

mkruselj commented 9 months ago

I really really think this is a bug in Ardour...

erikjms commented 6 months ago

Might this bug be related?

Ardour: VST3 Plug-In GUIs cannot be resized smaller than the size at the most recent project save

It's the most recent bug I can find that looks at all relevant on Ardour's bug tracker. It's been open since 2021. I have not tried the workarounds suggested but will.

In the meantime, setting Ardour GUI scale back to 100% and restarting makes Surge's GUI zoomable again. Tweaking presets in tiny Ardour and then using them in readable Ardour is somewhat cumbersome, but since they both do exactly what I want otherwise, that is what I have been doing.

I'd be grateful if you all could talk to the Ardour devs about this when you have a chance. I do not have the resources to argue-- or, um, discuss this with them. Making noise/music is much more life-affirming. :)

mkruselj commented 6 months ago

I suppose this means we could probably close this issue if it's confirmed on Ardour's end (which was my suspicion from the get go).

mkruselj commented 6 months ago

@baconpaul Thoughts on the above?

baconpaul commented 6 months ago

I was going to test it next time i was in linux. Lets leave it be open for now on the odd chance that up upgrade to juce 7.0.12 for #7640 also helps

atomikaya commented 2 months ago

I found a curious workaround: if I open Surge as a standalone, set the UI to 100% and save as default, then restart Ardour... Voilà :ok_hand: My plugin opens at a 100% (still a lil bit scaled up from the Ardour 125% setting but that's an Ardour issue probably).

Not a real fix but I hope it helps.

Fedora 40 / flatpak Ardour 8.6.0 / flatpak Surge XT 1.3.4 as VST3 / held together with a good helping of Flatseal tape / a Keystation Mini 32 to make the beep boops