Preset hander....
-
@lindon said in Preset hander....:
I m not currently on the Mac...
Could be another Windows only issue. Let me know if you do test it on MacOS.
-
@d-healey - currently I dont have a lot of time - I'm thinking of going back to Master as it stands Develop is nearly unusable - and definitely unshipable - on Windows...
-
@lindon said in Preset hander....:
if the user adds a preset then it doesnt and my name display doesnt update.
I'm using a timer to refresh my preset label text. That might work for your situation
-
@dustbro Could you give more details? When do you start the timer?
-
@d-healey When the user clicks on a button to open, save or change preset.Then I let the timer run for 10-15 seconds
-
@dustbro Sounds like you're using custom buttons, Lindon is using the built in preset browser functionality I think.
-
Lindon can you make a minimal project that slows down the preset browser? It‘s fine here but I don‘t use many presets for the current project.
-
Here you go. This works fine on GNU/Linux (and presumably MacOS) but on Windows I notice the same slow down Lindon demonstrated in his video.
@Lindon Btw I tested on Windows the deleting a preset = hides the category thing and I couldn't recreate the issue. Could you post a video so I know I'm not just misunderstanding how the problem is triggered?
-
@d-healey My project's Preset Browser is fine on Windows with tons of presets. It's built with a commit from 30th November of Develop, so this could be a more recent issue.
-
@d-healey - yeah its not doing it for me now either.....the browser is desperately slow however....
-
@dustbro said in Preset hander....:
@lindon said in Preset hander....:
if the user adds a preset then it doesnt and my name display doesnt update.
I'm using a timer to refresh my preset label text. That might work for your situation
That was the solution I used for the last couple of years... but I removed it and applied the pre and post load callbacks, as I was trying (anything) to get the preset browser to speed up - guess I'm going back there....
-
@lindon said in Preset hander....:
@d-healey - yeah its not doing it for me now either.....the browser is desperately slow however....
-damit - now its doing it again... its definitely there - sometimes - but it seems to be the preset browser is slowing down my whole machine - I can hardly edit anything in HISE when its open...and its failing to render the preset browser background part of the time too, its definitely broken in some way.
-
-
@danh said in Preset hander....:
@lindon why not try a commit before @d-healey tinkered with it?!
which was when? - along with the fact that I keep saying I dont think its a prest browser issue - the whole UI is lagging and glitching - knob turning, LFO display, filter displays, Audio Waveform display....
-
Watch this video: specifically watch how the Filter display and the Audio loop player display keep stopping and restarting whilst playing (I'm just holding down a single chord for the whole video)
https://u.pcloud.link/publink/show?code=XZ37u7VZqIrzdcjm4WpjVaylu1kTruIKeMyV
-
@lindon interestingly - If i load Hise and run the sound that's there - then none of this interface glitching happens - but as soon as I open the preset browser - even if I immediately close it without changing presets - then the interface starts to glitch badly...
-
@lindon heres a video showing the knobs glitching....
https://u.pcloud.link/publink/show?code=XZ5fu7VZ1TQRg0CAY9m93e1FKAdMaJ19NIbV
-
@lindon Oh boy, this is embarassing. These periodic hangs come from a timer that periodically takes a screenshot of the entire HISE interface (about every 4 seconds). Why does it do that? Well, in order to make a "glass background" for the popups by blurring it with a low opacity. Looks super nice, but leads to this problem (especially when you have an element visible that takes a long time to repaint, like the preview of a complex instrument interface), so let's consider it a massive UX fail.
The timer is only activated when there is a popup visible, which might explain why you thought it was the preset browser. Should happen with any other popup too (try the beatiful HISE controller on the top right).
Solution? HISE Settings -> Other -> Glass Effect -> Disabled. Fail.
-
@christoph-hart Oh that explains why it wasn't happening on my GNU/Linux machine, I turned that glass effect thing off ages ago and forgot about it. :)
-
@d-healey Lol me too. This might give us a clue what should be the default value...