Control-Click not working on Mac
-
So I have a user complaining that Control-click(Right click emulation) is not working on a compiled plug-in - I only have a two-button mouse, and right click works fine for me.
Did I see something here about this being a problem fixed in a recent build? - The product the user is using is over 12 months old...??
-
Isn't it command+click on Mac?
-
-
@Lindon This doesn't work either on my Mac Air but I never bothered investigating any more as I rarely use it for Hise....
-
Bump - can someone else confirm this isnt working on their plug-ins - and if so do we have even a work around?
-
It looks like Control-Click is functioning the same as Command-Click on my exported plugins, which explains why it's not acting as a right-click.
-
@Lunacy-Audio OK thnaks...
So... how does a user perform a right-click (MIDI learn) on Mac when they have a single button mouse? Anyone have any ideas?
-
After some digging, the issue appears to be this line in the MacroControlledComponents.cpp file. At the moment, any left button click will only trigger the first statement there and not the second, so it will always ignore Ctrl-Clicks.
All I did to fix it was change line 480 to
if (e.mods.isLeftButtonDown() && !e.mods.isCtrlDown())
in order to ignore that first statement if control is down. Seems to be working on my mac!
-
@Lunacy-Audio said in Control-Click not working on Mac:
After some digging, the issue appears to be this line in the MacroControlledComponents.cpp file. At the moment, any left button click will only trigger the first statement there and not the second, so it will always ignore Ctrl-Clicks.
All I did to fix it was change line 480 to
if (e.mods.isLeftButtonDown() && !e.mods.isCtrlDown())
in order to ignore that first statement if control is down. Seems to be working on my mac!
Great!
@Christoph-Hart - can we get this included in the next update?
-
@Lunacy-Audio make a pull request so Christoph can merge the fix ;)
-
Just made the pull request!
-
@Lunacy-Audio cool..