Problem with conflict palette

Hello.

For the past day or two, I seem to have been having a problem with ‘conflict palettes’.

Until now, if I used the same shortcut for two macros, KBM would display a conflict palette giving me the choice between the two macros to execute.

Since then, nothing is displayed (and no macro is executed).

I tested it with two dummy macros.
If I activate both of them and launch the shortcut, nothing happens.
If I activate only one, the shortcut works!

Does anyone have any ideas?

I am working with a MacBook Pro M4 running MacOS Tahoe 26.1.
I have the latest version of KBM installed (11.0.4).

Note that I also use Karabiner to define a SuperKey.
But even when I disable Karabiner, nothing changes.

Thank you for your help.

Have you tried the Interactive Help feature of the KM Editor? It's under the Help menu.

If nothing is executed, that suggests that either the macro(s) or the group(s) are not enabled in some way. Did you look at the group's settings? That's the first place I'd look.

1 Like

Thanks for your response
but that's not the case.
I recreated and tested the two dummy macros separately.
They work fine...
but when I activate them together, it no longer works

Then I suppose you could upload your macros, including the group that they are in, so we can figure out what's wrong by looking at the group settings and the macros. Or you could try the Interactive Help feature I mentioned.

1 Like

I tested the interactive help, without success.
I join hereafter an export of my dummy group.
Thanks again for your help…

Test Conflict Macros.kmmacros (3.2 KB)

It works fine for me. It gives me the conflict menu. Do I misunderstand the problem? Can you give me the instructions needed to replicate the problem?

There's a chance that your Conflict Palette has somehow managed to be positioned off-screen. Try changing KM's Settings so that it appears "Under Mouse" to reset the positioning:

3 Likes

I already did it… without success.
I used such macro’s with conflict palette years ago !
and now, that doesn’t work anymore .

I also rebooted the Mac, with and without Karabiner. No change…

Did what? @Nige_S’s solution sounds the most likely. I can't see why else the conflict palette would not appear.

You could try this: press the hot key to trigger the macros, then assuming the conflict palette is there but invisible somehow, press the first letter on one or other of the macros and see if it executes as it would if the conflict palette was happening.

The other option is that the conflict palette is being immediately dismissed because of some other macro executing continuously or some other perceived event that Keyboard Maestro Engine is seeing to dismiss the conflict palette.

There is not a lot of debugging available in the conflict palette but you could try:

defaults write com.stairways.keyboardmaestro.engine Debug MacroGroupToggle

and then relaunch the Keyboard Maestro Engine (Quit Engine/Launch Engine) and then check what shows up in the Engine.log file when you try to trigger the macros.

1 Like

I did ... "changing KM's Settings so that it appears "Under Mouse" to reset the positioning"...
Nothing changed BUT the idea was a good one.

After that, I tried your suggestion: I pressed the hot key and the first letter of one of the macros
and it worked ! without seeing the palette.
I tried again and the palette has reappeared "miraculously".

I don't understand but it's now ok.
Thank you all for your help.

1 Like

It all seems very weird, given the palette should generally force its way back on to the screen at all times, but I'll guess something was interfering with the palette which is now resolved.

I installed (and uninstalled) ReiKey ( Objective-See ) to detect and monitor malware that intercepts keystrokes. Could that be the cause of the problem?

Unfortunately, the problem has reappeared!

I can't see where the palette has gone, but if I press one of the keys on the menu that should be displayed, it works.

But this is obviously not practical!

Note that since then, I've also noticed a problem with the ‘Type a keystroke’ action when referring to a function key (see Problem simulating a keystoke - #4 by Filou )

Could this be related???

What does the Terminal command:

defaults read com.stairways.keyboardmaestro.engine DuplicatePalettePosition

show?

Also, what is the value of the token %Screen%Main% (do you have more than one screen?)

Also, what happens if you enable Place Conflict Palette Under Mouse in the Palettes preference?

1 Like

Hi Peternlewis.
Thanks for your help.

The first command’s result is:

bottom = 793;
left = 1330;
right = 1597;
top = 439;

I have 2 screens : the internal one of the MBP and an other via the HDMI port, in copy mode.

value of the token %Screen%Main% is 0,0,1920,1080.

”Place Conflict Palette Under Mouse” in the Palettes preference was already enabled.

After reading a response to my another problem ( Problem simulating a keystoke - #3 by kevinb ), I went to read ‘Troubleshooting [Keyboard Maestro Wiki] in the wiki.
KBM is effectively launched as Hidden by my system (via the application Startup Manager Pro), II tested to unhide it and bingo ! the conflict palette is now displayed …
The wiki says that “This appears resolved in Mavericks”.
And indeed, I had never had this problem.
It comes back with Tahoe… Thank you Apple !

I'm going to continue testing all this...