kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/schneegans
Other
3.08k stars 89 forks source link

Context differentiation with kando interface #645

Open Welkeler opened 1 month ago

Welkeler commented 1 month ago

Short Summary

when triggering the hotkey of a context-dependent menu when another menu is open this will detect the actual application is Kando and not the real application, for example

Key Numpad1 (N1) is the context-dependent menu Key Numpad2 (N2) is another menu (could be global menu)

Step 1.: N1 is pressed when the interest app is focused, it loads correctly the context-dependent menu but no action is selected Step 2: N2 is pressed to load the global menu, it works properly. Step 3: When N1 is again pressed it do not load the correct menu showed in step 1, instead, it loads the default menu assigned to the current key. Probably it is detecting the focused application is kando itself.

Steps to Reproduce the Issue

Step 1.: N1 is pressed when the interest app is focused, it loads correctly the context-dependent menu but no action is selected Step 2: N2 is pressed to load the global menu, it works properly. Step 3: When N1 is again pressed it do not load the correct menu showed in step 1, instead, it loads the default menu assigned to the current key. Probably it is detecting the focused application is kando itself.

Kando Version

1.4.0

Installation Method

Zip downloaded and build

Desktop Environment

Windows

Environment Version

Windows 11

Additional Information

No response

Schneegans commented 1 month ago

Thanks for the report! I think this could be fixed for most backends. Most will retrieve a list of all windows and return the topmost one. If that's Kando, they could simply return the next one.