visible_floating_menu_identifiers problem

Hello,

I am using BTT to add a custom floating menu to Finder. I added a Conditional Activation Group to assign shortcuts to menu items. I want these shortcuts usable if the menu is displayed only.

This allows me to press a key to display the menu, then press another key to execute a menu action.

My menu:

Imgur thread because I'm limited to 3 medias.

Photo 1 - Imgur.
Photo 2 - Imgur.

Now, my problem with visible_floating_menu_identifiers:

Photo 3:

Photo 4:

In the first screenshot: my menu is displayed so the visible_floating_menu_identifiers value is correct.
In the second screenshot: I clicked on the BTT windows, so the focus of the Finder windows is lost and menu is hidden but visible_floating_menu_identifiers is not updated so my condition is true instead of false and my shortcuts works even if the menu is hidden.

I found a workaround, but I would like to know if this behavior is normal, if my workaround is appropriate, or if there might be a better solution.

I use key sequences, trigger conditions and customVariable1 to bypass visible_floating_menu_identifiers and use my own custom state storage variable.

Photo 5 - Imgur.
Photo 6 - Imgur.

Photo 7 - Imgur.
Photo 8 - Imgur.

Photo 9 - Imgur.
Photo 10 - Imgur.

In the last screenshot, you can see the use of customVariable1 and visible_floating_menu_identifiers with a bad value.

With this workaround, I can click to focus Finder, press Ctrl to display the menu, click to focus an another app - (the menu is hidden), press another key to execute a shortcut and have the shortcut disabled because I don't want to be able to execute a shortcut if the menu isn't actually displayed.

Thank you very much.

I hope my message is clear and understandable.