krohnkite icon indicating copy to clipboard operation
krohnkite copied to clipboard

Focus Left/Right not working

Open rronsh opened this issue 4 years ago • 3 comments

Symptom Meta+H and Meta+L (Krohnkite: Left: and Krohnkite: Right:) shortcuts dont work as they should. Instead of moving focus left right they resize the window left/right

How to Reproduce Press the shortcuts. Rebinding doesnt help.

Expected behavior I expect the focus to change, instead the windows are resized

Environment

  • Distro: Manjaro
  • KWin version: 5.20.4-1
  • Krohnkite version: 0.8 | commit: 2a47753 (currently latest)
  • List of KWin scripts in use: MinimizeAll

Notes Focus Up/Down works!

rronsh avatar Jan 03 '21 23:01 rronsh

This is because the default "behavior" is DWM mode. This can be changed in Krohnkite settings on KWin Scripts dialog.

But, yeah, having this kind of "mode" inside is very confusing. I'll have to remove this thing...

esjeon avatar Jan 04 '21 23:01 esjeon

Oh thanks somehow i completely missed that part of the config, so my bad really.

Probably just changing the default mode to be directional instead of DWM would be the better solution. Or at least somehow highlight/explain the behaviour in the keybinds section of the README as the current descriptions of "Left" and "Right" are a bit confusing. Maybe do the same name change for the Keybinds section. This way it would also be more consistent with how Up and Down are labeled.

Suggested change to README:

now:

META-H Left
META-L Right

after:

META-H Focus/Adjust Left *
META-L Focus/Adjust Right *

*See configuration under Behaviour: Directional vs. DWM

rronsh avatar Jan 05 '21 19:01 rronsh

This is because the default "behavior" is DWM mode. This can be changed in Krohnkite settings on KWin Scripts dialog.

But, yeah, having this kind of "mode" inside is very confusing. I'll have to remove this thing...

Hope you don't mean you will remove 'focus mode' Because I really love that mode. Coming from BSPWM, focus mode for me is more logical then the DWM mode

nigelwarning avatar Jan 08 '21 01:01 nigelwarning