LAF Function Continuously Spamming the Console Log, but No Other Methods Get Executed
-
If you put the print method into a LAF function of a rotary slider, it will keep getting executed on some hidden timer while the component is visible (if you move the screen away in HISE, it will stop).
But no other methods actually get executed, so if you're printing the current note number, you still need to send the repaint message.
Has this always been the case? I don't remember. I think I used to regularly use the print method to debug LAF functions, but this makes it very annoying.
It doesn't happen with a panel
The snippet:
HiseSnippet 1047.3ocsV0kaaaDDdornQjZRPSPN.D5IZTAEo5zzhFTjXKKEHDKGBK6f9VvZxkRa0xcI3tL1JA4sdd5Unmi9XuA8FzNC+wj1xvNQ.UOXyc986a1YFRuDkOSqUIDqVmrJlQrtu8rURyhgKnbIYxADqGZOkpMrDmbQ6uJlp0r.hk0VuFEX0pII62+7x8oBpzmUIhPdmh6yNjGwMUR8d0a3BwXZ.6DdTMqe1ql3qjCUBUJfmsr6Sho9KoyYGQQyZXSr1dT.2nRlYnFlFrYeUvpYKTmKys+cbM+LACOLfLCBTtXxvEbQfWIW0DhUSuJluUNyeh8Td.+R4UUfuMSgSkG0qAVMtMHM3q.RV0fTybH8H6Y9I7XSkFDOei8DIbgDRgRccnjaKowe0vdnBrPZ5EQWxFm.GtzC2m2ueWG3O67h1sgxs13.3137KNk9PCBdiTclaGTdmtNf40LVPCqYqeBCn8gJep3PkZ4dxfwLlvELOgM2Qp.iRi.66+h1fi8.gbrWZbpz2vUR2NAIzyOVYnIqlI3ArDHegkJm20Qc1usS6O0t07dZlIuyvM+e5dmufaXPl.kXT1SvmKYAmvtv3Vj3L+6QAL10oiOf2DVPGzi1s.BnUBVu3Dtz314v8F+yNcb9NmQx4bIq2bl4zXCzc5tCX+mQ5iUCDEqQVfXUkmXpjItZwzCEAUyXo.X2tX4e2rxelsXH8fNMywpTCjZ2J5mw7qAzrfc6PsL.NJ4QPc3sR2r.UcYLEZkfoJzSzfiRiNik3lWWd5SK3oL3XVLhqBqQ8etsy0CdXXdzulNj9IJg.i6MnFm6StMGckYfpqyGnhT1kFBCFWcZa6uroM+7aiZFpjSjbyaiYEmGqDA3TD975yljhqSbJs.gfolrYzGVLil2+R3PP11FKhjLrWeYH4zIGPMzxn.ADRRLKwvQtXc.6Cvxx7I+V1GvzKMpXXu2PUTrRho2592UNufXYagoZU4CZyJrfrsMNTSh3AABlmRywBdsk2+ILWFOi+wL.+om7Gu9u+3u+xn562IjH5E0W2qSCC4WjsXNjKhzF.RShfdEh0isOUybBXgzTgwQuDhifKWBimpL6I03TybN8fxccXGdIkfYlbJ00pfR3Cj02TB6nUAoBp4pKtw2PUn.oa8sk3FQITFVUmReEay6eqay+Rg3ir83F+E2LFabCXDZd9+.iEuC7A1iBCY9lJ.1zd7utouv6NRe9Fu4SoPiCdICKhlAa18YP1kPSfFuuafSe4m6W1ROC1Nkc3egeEJGfmsJTNnTIzx5mndue9LK9V16kIAvjL6iJZAecCb1Yv5SqvnB+899WMTq432uoNt6l53y1TG+gM0wmuoN9iapi+zc6H9MY6kZTQ4iMDxTuQYaWsrFIoPGXV2J4+vTZJA2
Here's the perfetto trace where you can see the timer calls. I imagine that's the HISE interface timer?
-
@aaronventure I loaded your snippet, I'm not seeing it constantly print to the Console. For me it prints on init and then again when interacting with the knob, and it shows the last note played.
-
macOS 14.5
cd51dc7 20.08.2024. at 20:09 - multipage: added warning message when selecting existing directoryThe panel doesn't spam, just the laf.
-
@aaronventure Might be OS specific.
-
@d-healey I guess I'll add it to the Github list.
Fun fact: I have reached 100 reports in a year!