-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.8: CLAP: Wrong rendering in Reaper #151
Comments
what is your display scale factor? seems to be different than 100% |
Thanks for the quick reply. My scale factor: 125% |
Might be a bug in reaper since the other versions work correctly. |
Unfortunately not. |
Same thing happens for LV2 too |
I think I know why, but no time to investigate it proper at the moment. |
I can reproduce it on Linux with Reaper, but not with Bitwig. Applying this patch to DPF makes the plugin size correct in Reaper and doesn't affect it in Bitwig. However, I have no idea if this is just a hack that fixes the problem for this plugin, or if this is (part of) a proper fix for a bug in DPF. diff --git a/distrho/src/DistrhoPluginCLAP.cpp b/distrho/src/DistrhoPluginCLAP.cpp
index 29a0316d..0ad05ccd 100644
--- a/distrho/src/DistrhoPluginCLAP.cpp
+++ b/distrho/src/DistrhoPluginCLAP.cpp
@@ -297,6 +297,9 @@ public:
#ifdef DISTRHO_OS_MAC
*width /= scaleFactor;
*height /= scaleFactor;
+ #else
+ *width *= scaleFactor;
+ *height *= scaleFactor;
#endif
return true; |
Hi,
I have the issue that the CLAP-Version in 3.2.8 doesn't fit in the plugin window in Reaper 6.73 (WIN-Version).
Screenshot:
Thank you.
The text was updated successfully, but these errors were encountered: