KeyPressCallback bug? (fixed)
-
On my mac computer, this example will log each character 3 times instead of 1
Can someone please check if it's a mac problem or...
https://docs.hise.audio/scripting/scripting-api/scriptpanel/index.html#setkeypresscallback
HiseSnippet 1150.3ocsV0saaaCElJIpnxacXEXO.b4JYrDW6zl1BaLr33XODjlTi3zhsqJnkN1h0zjBhTIwXHOC6UcuAaGJ5eS7xZMvzE157q9z24vyQcyTQfVqxHdAWMIEHdeqeuIRSRqDFWRN8Dh224eNSafLpS0wSRYZMDS7719WsJ7B1gTb8W+xwLASFAKTQHeTwif2wGyMKz18ny3BQGVLbEe7Rd+piNMRIaoDpbDOa6WkjxhFwFBWvrtskOw6Isi4FUVOCy.ZzmiUwS5kntQ57+ibMuu.rB0H8vD4TSZkvEwcm8tpIDuc5t3Mea2a9O3eNOlOW+BF36KLPWDwxbf2VOFjp8U.IukfzNNH8b+dQY7TyBKV77M9mJwBx.FR0KCEmujs9yc7aoPOjlJiYifNYnv7HBec0p6QweJ2nTIjt0F50rLZWlDD0n+LcVjCASK03TkDEB20YdWaLtaqnASWjfLWpxMbIDNHWFY3JY3vxk9iRACqL.qwMEhvp2dvAcJtvnQ8ZahskXzxgGN2Ro.9fPSBWWIlYXURX5Npnbc4RAXLwYratDhLNGPn8NUDSbrJWFqCqVdOZsJEuOqjd2e5J2jvMf6YaySSAenDhuBt0rzyyfh6Q+2R+tQHKjAwVB3tUIgyfIcyvZSKlPzGaWWPDp9etL0xEu3Ezqv5.kQEJ0HJyT7bnbI9OPs0.k.JEzxcSkzLjVCMY1hkMGVnWvNnPEtiVvlS4P.IGL8AOj0v5n04YhXBtqT.HzfK.8MbSTRQ9FASZohsYpvhEqs60pY210om.Bv.EXzxNVqQLMPO3M0oqRb3ia2caPsdDPsW8y.1nFSy2ksu5CWdA8r1+dc5myw9MgR6R6.K3lm2ZubZds1KvcX4FTWVCVMkG2r0Y851rEhxKgwpqcoSfyonQILj4vl8448s0oODuqpnhNuu1f79vvp6ceaBPNzjresxMVGTZllBxXJSNgJUx80oPDmIVEFwv.VtvTmhEwezx5S8B6cJ6xYv8.3O4JfyyRCqOnq2UTIw6J7OCRsGACcckyZ7nJ4EJC7dYXwIwR2UhdeSCFrVa1y9YJg.xVqY6z5rGKvPY939P1d3DEQNL2Qbb1pyHexW1LxH2nnkbTIOUxMuGYbmbGkH1N6yd+CmnRlNKCu6CmdBxs1grS0g9kBYFtENdm.WiaobibC7OAziLpzBemN.Dgrov5ylMP1d9mvwG8S8cyBH2tXQF+nIKKbCO1jrrhDfOLwrrFxCm8iacTw4BlY0UQ1ctSMfb+Jy+sy3kZtYxx6j+J1OU8Q2O8kBwm620NcY8Xbq0fQrp7+AFmtU+Y9sGL.Wcr.f632421zU3+GOd2xvgmyvYIX+f+E4i6g6fh.67ZrKAStu2V1NSmbUqrkA5gyPJD9a7ZpwZVYuoFqMyHYLKJS8oH2IN62M7zBMHljEelT.98ZnLsFo3THFme0JUIiwOg4SQQ1W+8wCKqOlC1fXd4FDyq1fXNbCh40aPLuYCh4sOZL1udrYtQM1cb.Uzscw3HOu1RF1YUzER9G.zn7MAA
the fix for this 3 timers is to return true;
see here:
https://forum.hise.audio/topic/4887/panel-keypresscallback-and-focus/4 -
@ulrik I'm getting 3 characters too
-
@danh thank you for checking :)
on windows? -
@ulrik See
https://forum.hise.audio/topic/4887/panel-keypresscallback-and-focus/4You need to return true;
But there's still another bug anyway, @Christoph-Hart where are we with the bugs? -
@ustk thanks!
-
@ulrik osx