Preset hander....
-
@christoph-hart sure can do BUT....
its every patient I have thats not tiny....so to be clear its happening to ALL my major projects... -
@lindon Does it also happen with the one you send me a few weeks ago?
-
@christoph-hart said in Preset hander....:
This is true for both HISE and the compiled plugins. But unless you have a really really complex interface, the UI performance of a compiled plugin should not be of great concern
Are you able to recreate the preset browser scroll issue on your system with the example project I posted? That has the simplest UI possible.
-
@d-healey Nope, super smooth here. We're talking release build here, yes? Debug lags a little bit, but it's like 15fps, so nothing unexpected.
-
@christoph-hart said in Preset hander....:
@lindon Does it also happen with the one you send me a few weeks ago?
yep - tho now when I try the one I sent weeks ago - it wont even load presets....
-
@lindon Just tried to load your project:
Interface:! Can't reference local variables in nested function body {SW50ZXJmYWNlfG9uSW5pdCgpfDQzMTQzfDEzNTZ8NTk=} : onInit() - Line 1356, column 59 {SW50ZXJmYWNlfG9uSW5pdCgpfDQzMTQzfDEzNTZ8NTk=}
Lol this is Log4j level shit...
-
@christoph-hart said in Preset hander....:
@d-healey Nope, super smooth here. We're talking release build here, yes? Debug lags a little bit, but it's like 15fps, so nothing unexpected.
Weird, wonder why it's a problem here... I'll investigate more tomorrow when I'm back.
Did you test with openGL disabled?
-
@lindon OK, I'm getting somewhere. If I load your project in the Debug version, I get also a delay of about 8 seconds when clicking on a preset category.
So the possible reasons of failure are:
- Lindon doing something that he shouldn't.
- Me implementing something wrong.
- David breaking the preset browser with his crazy customizations.
The culprit? Applying debug master skills and drumroll...
JUCE::AccessibilityHandler. This was introduced in the last JUCE update and allows accessibility stuff (which we don't use), but it causes a update and reads every single preset file to figure out it's name.
I've pushed a change that deactivates this. This totally solves the lagginess in the PresetBrowser (for me), but I'm not sure whether this affects the other lagginess too.
-
@christoph-hart - cool - good work .
I would have put money on option 1 myself....
I will try a new build for the latest commit and let you know...
-
@Christoph-Hart --That was black belt ninja grade debugging oh master....
fixed.......everything seems to have sped up nicely, and no more glitching...
(but fingers just a little bit crossed)