Any preset fails to open a preset on the plugin if a plugin window is already open
System Information
SoundFlow 5.0.15
OS: darwin 19.6.0
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H1615
Steps to Reproduce
- Run any preset with "Preset Name" field filled out.
- Run preset a second time without closing window from first run.
Expected Result
send run of preset should open preset in pluing
Actual Result
correct plugin opens, but soundflow does not open preset
Workaround
no
Other Notes
Links
User UID: yesbmwLVy0dRQLFNZzxo8kQx4ri2
Feedback Key: sffeedback:yesbmwLVy0dRQLFNZzxo8kQx4ri2:-MzSdsNX4zAgf1gH3BcD
- Kitch Membery @Kitch2022-03-31 02:31:29.736Z
Thanks for this @Ben_Rubin,
I'll investigate further when I get a chance. :-)
Link to previous troubleshooting post:
Can't seem to recall insert presets with Teezio's Plugin Loader #post-23 - In reply toBen_Rubin⬆:Kitch Membery @Kitch2022-04-04 01:34:13.153Z
Hi @chrscheuer,
@Ben_Rubin and I have been troubleshooting an issue Ben is seeing with Teezio's Plugin Loader.
Unfortunately, I can't seem to reproduce the issue on my system. But one thing I noticed is that Ben is using OSX Spaces to navigate between apps. Could that be causing the following issue?
Here are the steps to reproduce (reproducible on Bens system);
- Create a Teezio Plugin Loader preset that has the "Preset Name" property filled out like this;
- Add a preset with the name "TEST 1" to the AAX "EQ3 7-Band" plugin.
- Select a track in Pro Tools.
- Run the preset twice.
Expected behavior;
On the first run.- The "EQ3 7-Band" plugin should open in the first free slot.
- The AAX Preset "TEST 1" should open from the preset popup menu.
On the second run. - The "EQ3 7-Band" plugin should open in the next first free slot.
- The AAX Preset "TEST 1" should open from the preset popup menu.
Actual behavior;
On the first run.- The "EQ3 7-Band" plugin opens in the first free slot. (This is expected)
- The AAX Preset "TEST 1" opens from the preset popup menu. (This is expected)
On the second run. - The "EQ3 7-Band" plugin opens in the next first free slot. (This is expected)
- The AAX Preset "TEST 1" fails to open from the preset popup menu.
Ben has said that if a plugin window is opened prior to running the preset, opening the AAX plugin's preset menu fails.
Here is a video of the script failing on Ben's system.
https://www.dropbox.com/s/x3mwmu87fkrv0kd/IMG_2760.MOV?dl=0Here are the troubleshooting steps we've taken so far;
- Made sure that "Link Track and Edit Selection" is activated.
- Made sure that in Pro Tools Preferences, the language is set to "English".
- Made sure that in Pro Tools Preferences, the "Tool Tips" checkboxes are enabled.
- Made sure that Nothing is covering the insert slots on the selected track.
- Checked the make sure all the TPL' Preset's "Plugin Name", "Plugin Category" & "Preset Name" properties are filled out exactly as they appear in the plugin and plugin library popup menus.
- Keyboard Maestro has been quit.
- FaderPort in slot 1 and Mulligan in slot 2 (Both deactivated).
- Tried it on a blank session
To save you searching through the log, this is where it fails;
30.03.2022 15:13:22.67 <info> [Backend]: >> Command: AVID EQ3 7-band [user:1624569696752:ckkczttld0001jt10m5krbbh9#cl19giuc200008e10ggtwffb6] Checking for running apps with bundle 'com.avid.ProTools' 30.03.2022 15:13:22.67 <info> [Backend]: NSArray.ArrayFromHandle count = 1 30.03.2022 15:13:22.75 <info> [Backend]: Mouse current pos is: (1820.5390625, 1294.0859375) Clicking with mouse here: (75, 28) 30.03.2022 15:13:22.76 <info> [Backend]: #App: Activate "com.avid.ProTools" -> SAVE EVERY 60 SECONDS [ckr86f3ct0006oy106i1ctp61] 30.03.2022 15:13:22.76 <info> [Backend]: Moving mouse back to: (1820.5390625, 1294.0859375) 30.03.2022 15:13:22.76 <info> [Backend]: Position is now: (1820.5390625, 1294.0859375) 30.03.2022 15:13:22.79 <info> [Backend]: Checking for running apps with bundle 'com.avid.ProTools' 30.03.2022 15:13:22.79 <info> [Backend]: NSArray.ArrayFromHandle count = 1 30.03.2022 15:13:22.91 <info> [Backend]: Mouse current pos is: (1820.5390625, 1294.0859375) Clicking with mouse here: (75, 28) 30.03.2022 15:13:22.91 <info> [Backend]: Moving mouse back to: (1820.5390625, 1294.0859375) 30.03.2022 15:13:22.92 <info> [Backend]: Position is now: (1820.5390625, 1294.0859375) 30.03.2022 15:13:23.64 <info> [Backend]: Mouse current pos is: (1820.5390625, 1294.0859375) Clicking with mouse here: (804, 456) 30.03.2022 15:13:23.65 <info> [Backend]: Moving back... 30.03.2022 15:13:23.66 <info> [Backend]: Position is now: (1820.5390625, 1294.0859375) 30.03.2022 15:13:23.93 <info> [Backend]: PopupMenu full role:AXMenu 30.03.2022 15:13:23.97 <info> [Backend]: Clicking popup menu element: multichannel plug-in 30.03.2022 15:13:24.04 <info> [Backend]: Clicking popup menu element: Avid 30.03.2022 15:13:24.13 <info> [Backend]: Clicking popup menu element: EQ3 7-Band (stereo) 30.03.2022 15:13:25.38 <info> [Backend]: Mouse current pos is: (1820.5390625, 1294.0859375) Clicking with mouse here: (143, 1463) 30.03.2022 15:13:25.38 <info> [Backend]: Moving back... 30.03.2022 15:13:25.39 <info> [Backend]: Position is now: (1820.5390625, 1294.0859375) 30.03.2022 15:13:27.60 <info> [Backend]: Logging error in action (01) WaitForPopupMenuAction: Popup window was not found after waiting 2000 ms Logging error in action (01) OpenPopupMenuFromElementAction: Popup menu was not found 30.03.2022 15:13:27.60 <info> [Backend]: Logging error in action (01) PopupMenuSelectAction: Could not open popup menu 30.03.2022 15:13:27.67 <info> [Backend]: Logging unknown error in action (02) RunCommandAction: Teezio’s Plugin Loader: Line 306 30.03.2022 15:13:27.68 <info> [Backend]: !! Command Error: AVID EQ3 7-band [user:1624569696752:ckkczttld0001jt10m5krbbh9#cl19giuc200008e10ggtwffb6]: Could not open popup menu (Teezio’s Plugin Loader: Line 306) Popup menu was not found Popup window was not found after waiting 2000 ms << Command: AVID EQ3 7-band [user:1624569696752:ckkczttld0001jt10m5krbbh9#cl19giuc200008e10ggtwffb6]
Let me know if you have any other thoughts on what might be causing such an issue?
And sorry for the essay. :-)
Thanks in advance!
Christian Scheuer @chrscheuer2022-04-04 08:05:02.822Z
Unfortunately I can't see from the video if the popup menu actually opens in the 2nd attempt. Does it? The crucial thing is knowing if SoundFlow fails to open the popup menu, or if it fails to detect the opened popup menu. We'll need a better quality screen recording to dive into that.
Kitch Membery @Kitch2022-04-04 08:53:56.396Z
Thanks Christian,
@Ben_Rubin could you upload a screen recording of your entire screen.
You can do this using the Mac OSX screen recording function accessible via "Command + Shift + 5".
Thanks. :-)
Ben Rubin @Ben_Rubin
yes i can make a new view tomorrow. But, @chrscheuer, it definitely fails to open the popup menu.
Christian Scheuer @chrscheuer2022-04-05 09:15:16.551Z
In that case my guess is that this is indeed macOS and spaces kicking in.
macOS has a setting where the first click on an app that isn't focused will be ignored. So, if the focus for the PT app is lost for some reason before trying to click on the popup menu element, when SF clicks it, it wouldn't pop up, it would only set focus to the window.Ben Rubin @Ben_Rubin
hmm ok. what i will do in that case, is try this out in a different user account with no spaces and see what happens.
Ben Rubin @Ben_Rubin
so it worked as expected in the other account!
@chrscheuer, any ideas on how to get around this, as I do like using my spaces?
Also, any other types of issues spaces could cause?
I guess i will try without it.
Christian Scheuer @chrscheuer2022-04-05 17:14:21.853Z
Generally I don't think SF works well with Spaces, so even if Kitch might help with this by adding an appActivateMainWindow and elementRaise before making the popupMenuSelect call - you could run into issues like this with a lot of actions/commands in SF.
Ben Rubin @Ben_Rubin
I actually think I have been running into other problems because of this. Just tried the presets on my main machine with no Spaces and it worked just fine. so that was the issue!
Going to avoid Spaces now!
Thanks, @Kitch and @chrscheuer!
Kitch Membery @Kitch2022-04-05 18:29:48.078Z
@Ben_Rubin, you champion!
So glad we got to the bottom of it! I recon the tradeoff will be worth it.
Thanks for hanging in there with the troubleshooting on this.
Rock on!
- In reply toBen_Rubin⬆:Ben Rubin @Ben_Rubin
oh man, @Kitch and @chrscheuer, hating to revive this thread, but my issue is back! yay.
and this is on my now streamlined system. no Spaces, no Keyboard Maestro, no BTT, removed all Launch Agents from my User library folder. Again confirmed that SF works just fine when using a different account on the same system. So HAS to be something installed in my user account, right? It also failed with only the stock pro tools plugins installed.
HELP!!!
Here is a new video illustrating the the issue:
https://www.dropbox.com/s/6pt5q3xr40orr56/Screen Recording 2022-04-10 at 7.53.49 PM.mov?dl=0also wondering if it is normal to have all these SF processes running at the same time?
thanks 🙏
b
Kitch Membery @Kitch2022-04-11 19:33:22.521Z
Ben Rubin @Ben_Rubin
Thanks Kitch
- In reply toBen_Rubin⬆:Ben Rubin @Ben_Rubin
Also, right now, other scripts that use pop-up menus, that usually work fine, are failing. So this is something bigger than just at the script level. Def at the Mac UI level. I'm on Catalina 10.15.7, btw.
Kitch Membery @Kitch2022-04-11 20:54:39.267Z
Hi @Ben_Rubin,
I'm taking a look at your account now.
In the most recent video, how are you triggering the TPL preset? Are you using a Keyboard shortcut? If so what Key combination are you using?
Also, I think Mac OSX requires a log-out or restart after disabling Spaces. Just in case you have not done so since disabling them. :-)
Ben Rubin @Ben_Rubin
hey Kitch, I am triggering it via the virtual deck in the video.
I have restarted a bunch since disabling Spaces.
Update, tho, I uninstalled and then reinstalled SoundFlow 5.0.15 and it seems to be workign again. I also disabled and uninstalled a lot of other stuff on my machine, but i think it was the reinstall. going to bed now but will re-check everything tomorrow.
Ben Rubin @Ben_Rubin
Further update. So I've still been having this problem intermittently and I've been uninstalling other software to try to solve the problem... and I've found the cause. Default Folder X. Handy little app but when I uninstall it, the macros work perfectly. When installed and running, they fail. Not sure why this is the issue, but seems to be the case. Any other Default Folder X users out there?
Also, I tried it out with multiple Spaces and it did work. But this whole episode is getting me to streamline my system more and pare down the bloat. So no Spaces, no Default Folder X, etc. Way less running in the background.