Activation group + floating menu at active window too slow (lags) Bug?

I want floating menu to appear on active windows of specific app (OsiriX MD).

What I have done:

  1. Created activation group:
    appName == "OsiriX MD" AND focusedElementRole == "AXSplitGroup"
  2. Created floating menu with postion on left corner of active window

How it works now:

I use two screens. Left screen is for Chrome Browser, right screen is for OsiriX MD

  1. When I focus each of OsiriX MD window everything is ok, floating menu moves to left corner of active OsiriX MD window
  2. When I focus Chrome floating menu blinks at Chrome left corner (I think it's lag of activation group - active window floating menu triggers first to move menu to active menu, then activation group hides it)

How to prevent blinking of floating menu at Chrome window?

Ah that makes sense because app switching happens slightly faster than conditional activation group evaluation. It could maybe be worked around by adding a menu with the same identifier in the all apps section, but I'll add a better option to prevent this with the next version.

I've tried another solution:

Active app changed trigger, then if else (IF active_app_name == "OsiriX MD" show menu, else hide menu) and IF fires, ELSE don't fire - I think it's another timing issue

Active window changed trigger doesn't work for me at all :frowning:

I don't think there can be a timing issue in that case (you can check whether the variable is changing correctly by setting up a HUD like this:


)

However showing and hiding via actions be be tricky if you also have the menu set to auto show for specific apps / groups

the timing issue with CAGs should be resolved in 6.610 alpha!