Panel painting seems broken in 04bf696
-
Ah ok I thought this was just me, but I noticed this too on my Laptop the other day, but on my main PC it seems fine which is why I haven't brought it up.
Can you post a snippet that shows the issue?
-
@Orvillain Did you get any further with this? I'm still seeing some funky issues with paint routines in the latest version.
-
@d-healey Hey Dave, I'll check tomorrow. I updated to the very latest release today but then I had to run off to band practice, so didn't get a chance to review.
-
@d-healey I'm on 6264f05100576b8aeb1c34a77313517778d30223 from March 25, and don't notice any issues (macOS). I use repaintImmediately() or sendRepaintMessage().
-
@aaronventure I was getting the issue with just a panel and drawing a rectangle, nothing else in the project and the rectangle doesn't show up. It was only happening on my laptop though, not my main system, my laptop has an nvidia GPU, I just use the igpu on my main system. That's the only significant difference I can think of.
I'll be getting my laptop back tomorrow so I'll see if I can recreate the issue and find the commit where it starts.
-
@d-healey Yes, this is still happening for me here. Interestingly, my machine has an NVIDIA GPU too. I'm using a 4090.
Here is a small snippet that demonstrates the issue.
HiseSnippet 1339.3ocyW8taaaCDmJNJa1aYXcKeXejHXePtKv014OMYEEKoIwcAqo0Htsn.KCEzRT1bQhTfhNIFE8saO.6QYu.CaGIsrjSccc8ZKlBRf382e5ti2cosT3SSSERjSkmNLghb9R2NC4p9G1mv3nSNB47UtmRRUTI1R5ACSHooz.jiSoGpI3TdYj44u9oGPhHbeZNID54BlO8QrXlJmZ68+EVTTKR.8or3BRu09m3K3GJhDC.7TxsNJg3eAoG8wDsXK4h9YRZejyscaF10uY3c2b2F60Xu6t0dMZr8tc2pdS+fs2ayM2Yyfvl6R1YWPoUNNfoDxNJhhlhbV9Ahfgc5KthacvyYortQT8gFnNfmsjaIhBzehZpnC6yhBZmEnRQHG214gsR1v1ZtmxBXiomG99ZCCbtFECfNKMI7JMA7Z71f2TfjSAHsrER2xsiujknx4nwyW3dBGxlgDHOUDJVYQK82kbOT.RvU0hIWPaIgCi0vam502.C+o58pTAxUoJ7kDI9fAALwiDhj1QjgTYC78wlhnZ8nJCuNj3jH5Xf3stgJVqBdjNqClL2hDM+V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Y855P4AlC+C7LhYC8YmQLajw7ShOhI9RwK8s6Bpqk+bCE36laZ3WF9m9gy3FHy9gEywwPWwW56OoodCEatnJt4hp3VKphaunJtyhp3cWTE28cqndn0ACThX6UVD5z1GaVn1wY7RBNkP+KQWf49B
Import this, and then load files in the audio loop player. The black square should jump around the panel. Except here, it doesn't unless I move my window focus.
I should add, that the box DOES move on a compile action. This seems specific to the callback I have setup.
-
@Orvillain Are you able to switch to your igpu - if you have one and see if it works there? I believe there should be an option in graphics settings to select which software uses which gpu, but I could be wrong.
-
@d-healey I don't have one I'm afraid. My CPU is an AMD 5950X which doesn't have an igpu.
-
@Orvillain Going to pick up my laptop now so I'll do some testing this evening
-
@Orvillain Are you using Linux?
I updated to the latest HISE version, and made sure I'm using gcc-11, and now the paint issue has gone.
-
@d-healey No guv, Windows 11.
-
@Orvillain Alright, the culprit again was
HISE_INCLUDE_PROFILING_TOOLKIT
, if I disable this preprocessor, it doesn't properly forward the repaint call requested by the repaint message coming from the scripting code.That's why Aaron & me didn't notice it because the cool guys have that flag enabled now (in fact I did notice it in a compiled plugin which has this flag disabled by default).
Thanks for reporting this, It's fixed now.
-
@Christoph-Hart Lovely stuff!! Thanks for letting me know!
I'm working in HISE right now. Let me pull the latest develop branch and see how I get on. Will report back.
EDIT: Yep. All good here!!
-
-