Palette conditional display not working properly

Hi,

I've encountered a strange glitch with macro palettes and am hoping someone can help.

I use KM with Illustrator to control a set of scripts that perform various functions to help streamline my workflow. Most of these scripts are contained within macros, which I display in a palette when needed using a keyboard shortcut.

I have two different palettes, which become available when a focused window title does or does not contain a keyword.

Everything worked great for a couple of years until about 8 months ago when I noticed, on occasion, it would ignore the "does contain keyword" condition. In other words, it would display the wrong palette.

If it helps point toward a solution, I noticed a couple of things…

When I am in Illustrator and the palette does not display correctly, I can get it to work again by switching to another app and then back to Illustrator. Then the shortcut works as intended.

I also noticed that this only happens when working on larger files or files that take significantly longer to save than usual. I'm not sure what this has to do with KM "seeing" a keyword in a filename, but it seems to be related somehow.

Any help sorting this out would be greatly appreciated!

Here are screenshots of each groups availability conditions.


I'm not sure if I can help, but it might help readers of you message if you tell us (a) what version of KM are you using (b) what version macOS are you using?

Have you checked the KM Engine log? It may tell you important information. You can find the log by opening the KM Editor and then click on Help / Open Logs folder. There's a chance that you may find an error message at the time you clicked the hotkey but nothing happened. At the very least it should tell you if the macro got triggered or not. That will be a big clue that may help solve this.

MacOS Ventura Version 13.4
KM Version 10.2

I checked the engine log but there is no entry for palette display.

2023-11-16 10:07:05 Execute macro “Open in Illustrator or Photoshop” from trigger The Hot Key ⌥O is pressed
2023-11-16 10:07:12 Execute macro “19)Relink” from trigger Macro Set Palette

This is the point where the palette is triggered. The wrong one was displayed, i switched apps, returned to illustrator, tried the palette shortcut again successfully and continued on to saving the file.

2023-11-16 10:07:23 Execute macro “33)Save ” from trigger Macro Set Palette
2023-11-16 10:09:11 Running application query took a while (9432 us)