Show Custom Context Menu (NEW) Issue on Finder

Hi there,

For some reason, one of my "Show Custom Context Menu (NEW)" items is sending the wrong action when the finder is active. When any other app is active it's fine. For some reason, this trigger opens the Finder Recents folder when the finder is active.

Any idea what I am doing wrong?

I could only imagine you have configured a separate menu for Finder with a different action :thinking:.

Hi again; strangely, this issue is back. I have recorded a video for you to see it. Any ideas?

Here is the action using the source keyboard shortcut, which is working fine...

Do you have any overrides configured for Finder specifically?

I might not have fully understood what the context menu is/should be triggering. Is it triggering a keyboard shortcut? If so, is that shortcut maybe configured specifically for Finder?

Hi Andreas,

There are no specific Finder overrides.

And I am calling an existing trigger via...
image

Thanks for all your help!
Craig

It is an intermittent issue. Currently it's working as expected :slight_smile:

Hi sorry to be a pain on this one. I am gearing up to add many of my actions into a custom context menu as part of a new workflow, but keep running into the same intermittent issue. Is there any way I can share access to my set for troubleshooting help?

Thanks!
Craig

yes, go to Help -> Export Diagnostic Debug Information and send the result to me (andreas@folivora.ai)

I am also having this exact issue.

This is also the same issue seen here:

and here:

So it seems it's probably something unrelated to our machines. So far this is what my testing shows:

  • When in MacOS Desktop Space #1 and finder is not in focus, the actions will not run but all of them will show up in BTT's "Recently Used". When I say all of them, I mean that I have multiple trigger chains and the chains are showing up correctly (and at the blink of an eye, despite having many "Delay" actions) despite no actions being run.

  • When in any other MacOS Desktop Space other than #1, regardless of whether finder is in focus, running the action causes a new finder window (Finder "Recents") to open. In this case, my trigger chains will show up in Recently Used; the only thing that shows up is the invocation of the Custom Context Menu.

Can you reproduce Andreas?
Happy to provide you with whatever you need. Let me know.

I think the problem is that in your cases BTT can't get the currently active window (because if I understood correctly there is none)

The context menu action needs to activate the "previously" active window after it executed (because the context menu belongs to BTT, and BTT is usually not the target app of the action). If there is no active window, BTT tries to activate the previous active app, but then Finder automatically opens a new window if it doesn't have any open windows yet.

I'll add some special logic for these usecases where Finder is the active app but no windows are open.

Thanks!!!