fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Regression: binding directly ALT+CTRL+* and ALT+CTRL+SHIFT+* conflict together

Open sim590 opened this issue 1 year ago • 2 comments

Describe the bug

The title.

To Reproduce

Configure keys for moving windows like so:

  • ALT+CTRL+SHIFT+H: left
  • ALT+CTRL+SHIFT+J: down
  • ALT+CTRL+SHIFT+K: up
  • ALT+CTRL+SHIFT+L: right

While checking the box for "use without activation key". Then, move windows around and see that it works.

Now, configure keys for moving the focus on windows like so:

  • ALT+CTRL+H: left
  • ALT+CTRL+J: down
  • ALT+CTRL+K: up
  • ALT+CTRL+L: right

While again checking the box for "use without activation key".

Then, notice the error message "could not move left... no adjacent window".

This exact use case used to work before I upgrade to the latest with the Microsoft Store. I don't know the version I was on before, but I had not upgraded in months.

In order to work around this, I had to rebind my window moving keys to the same but without CTRL. I'd like to go back to my original settings though.

Expected behavior

The use case should work. Both sets of keybinds should work at the same time.

Desktop (please complete the following information):

  • OS: Windows 10
  • OS Build: 19045.4529
  • FancyWM Version: 2.14.0.0

Additional context

None.

sim590 avatar Jul 11 '24 00:07 sim590

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 10 '24 02:10 github-actions[bot]

I have the same issue just with windows key instead of alt. Shift does not work as well

simenlone1 avatar Oct 16 '24 06:10 simenlone1

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jan 16 '25 02:01 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jan 31 '25 02:01 github-actions[bot]

Steps to reproduce

  • map Alt+h to move focus left
  • map Shift+Alt+h to move left

Pressing Shift+Alt+h doesn't work correctly, probably because FancyWM detects Alt+h in it first.

It's a bit annoying because it prevents from using simple hotkeys, "included" in any more complex ones.

Workaround, but not really

  1. Set FancyWM to respond on a complex hotkey
  2. Make AutoHotKey send the complex hotkey to the WM on typing the simple one: ^h::Send("!+h").

But AutoHotKey seems to interfere with the windows management:

  1. The Alt key (in my example) needs to be released for the left/down/up/right keys to chain correctly, for some reason.
  2. The target window to activate briefly in Windows, which causes it to blink briefly in the taskbar.

GTonehour avatar Aug 03 '25 18:08 GTonehour