# JUCE7 Audio Plugin causes Studio One slow GUI response

**URL:** <https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992>\
**Category:** General JUCE discussion\
**Created:** [June 29, 2022, 10:21am UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992 "2022-06-29T10:21:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mekarer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mekarer](https://forum.juce.com/u/mekarer)\
**Post date:** [June 29, 2022, 10:21am UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/1 "2022-06-29T10:21:31Z")

</div>

On Windows 7,  
After moving to JUCE7, opening an Audio Plugin under Studio One makes the entire GUI of the DAW run very slow. Closing the Plugin Editor and everything is back to normal.  
Created a whole new plugin (Basic) from scratch and issue still happens, while it does not happen with JUCE 6.x.x  
(did not test on a different OS or DAW yet)

Noticed that there were changes in graphics regarding  
JUCE\_COREGRAPHICS\_RENDER\_WITH\_MULTIPLE\_PAINT\_CALLS and JUCE\_COREGRAPHICS\_DRAW\_ASYNC,  
But could not find how it is related to the plugin or how to work around it,  
Any clue?

---

<div class="post-metadata">

**Author:** ![cthom055](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cthom055](https://forum.juce.com/u/cthom055)\
**Post date:** [October 13, 2022, 9:40am UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/2 "2022-10-13T09:40:33Z")

</div>

This is happening to me as well, any updates on this? I’ll try and investigate myself but those graphics calls look like a good clue.

---

<div class="post-metadata">

**Author:** ![cthom055](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cthom055](https://forum.juce.com/u/cthom055)\
**Post date:** [October 13, 2022, 3:20pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/3 "2022-10-13T15:20:01Z")

</div>

On my machine I’ve tracked it down to 04e7014d0f2f36790d9b904534633e362acde63e

> <https://github.com/juce-framework/JUCE/commit/04e7014d0f2f36790d9b904534633e362acde63e>

@tpoole

Looks like the screen refresh rate sync is bugging out specifically on studio one… if you can’t find the bug easily is there any way we could disable this with a flag?

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 13, 2022, 3:44pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/4 "2022-10-13T15:44:18Z")

</div>

Have you tried the `develop` branch?

> <https://github.com/juce-framework/JUCE/commit/c4dd405b16ce0ddbe1407b6f2bfa9713f6be7461>

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [October 13, 2022, 3:52pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/5 "2022-10-13T15:52:12Z")

</div>

Hadn’t seen this either!

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 13, 2022, 3:58pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/6 "2022-10-13T15:58:09Z")

</div>

If you run into a problem, particularly one that seems like it has a significant impact, then testing against the `develop` branch is a sensible way forward.

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [October 14, 2022, 6:15am UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/7 "2022-10-14T06:15:12Z")

</div>

i always work on develop, just didn’t realise this commit had happened so haven’t been testing this particular issue.

---

<div class="post-metadata">

**Author:** ![cthom055](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cthom055](https://forum.juce.com/u/cthom055)\
**Post date:** [October 14, 2022, 11:28am UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/8 "2022-10-14T11:28:05Z")

</div>

Ok same here, glad it’s fixed - thanks for the update.

---

<div class="post-metadata">

**Author:** ![mekarer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mekarer](https://forum.juce.com/u/mekarer)\
**Post date:** [October 14, 2022, 2:54pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/9 "2022-10-14T14:54:06Z")

</div>

Thanks guys,  
Another interesting update, not under Studio One as a plugin, I created an application (with JUCE 7.0.2) that plays videos using libVLC and the issue of slow frames is there also.

---

<div class="post-metadata">

**Author:** ![kunz](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kunz](https://forum.juce.com/u/kunz)\
**Post date:** [December 21, 2022, 2:43pm UTC](https://forum.juce.com/t/juce7-audio-plugin-causes-studio-one-slow-gui-response/51992/10 "2022-12-21T14:43:03Z")

</div>

Did you find a solution for the UI problem with JUCE7? I have a user that reported similar problems on windows for all our plugins that using JUCE7:

> [@JUCE7 VST Plugin slow GUI response](https://forum.juce.com/t/juce7-vst-plugin-slow-gui-response/54209):
>
> One user reported a slow and unresponsive UI in Ableton 11 on windows when moving a knob on the UI. Even the Ableton live meters start to be slow and unresponsive. VST2 and VST3’s are affected. He tested all our plugins and only the ones built with JUCE 7 have this problem. Even plugins with few UI elements. The older JUCE 6 builds of the plugins work as expected and are responsive. I wasn’t able to reproduce this with my virtual windows system in Parallels. I can imagine that this has somethi…
