-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We steal Esc from host in CLAP #6838
Comments
Ahh yes the clap keypress issues. |
This doesn't happen with u-he or TAL CLAPs, just for reference. |
thanks |
Ahh joy of joys in reaper 6.73 on macOS, esc closes a clap just like it does a vst. lemme upgrade to 6.77 and check also. your reaper version @mkruselj ? |
Happens in any Reaper version for me. Currently I'm running the latest prerelease (dev0302). |
yup ok 6.77 macOS arm escape closes the window no problem. |
Maybe try with an explicit surge/src/surge-xt/gui/SurgeGUIEditor.cpp Line 7219 in 6ad105a
|
OK so... this is weird. That line seems to work but only if Reaper's option "Send all keyboard input to plugin" is DISABLED. WTF?! Can you try the same on Mac? EDIT: Actually it all works just fine even without that added line, if that option in Reaper is disabled. Baffling. |
remind me where i find that option? |
OK so this is in the end not our bug. WIth that option enabled Esc doesn't work with TAL or u-he or even VST3, so it's not CLAP specific. I guess the logic is - by default, Reaper intercepts Esc and uses that to close the plugin window. If we enable the option that is specifically named "Send ALL keyboard input to PLUGIN", that means plugin gets to handle that Esc and not the host. Hence the window doesn't close. Oh well! |
Try opening Surge CLAP in Reaper as a floating window, then press Esc. The expected behavior is that the floating window would close (like with any other plugin loaded in Reaper), but it doesn't.
VST3 works fine as expected.
The text was updated successfully, but these errors were encountered: