komorebi icon indicating copy to clipboard operation
komorebi copied to clipboard

[BUG]: Can't Switch Focus

Open langshangyuan opened this issue 1 year ago • 3 comments

Describe the bug Windows arrangement and other behavior work perfectly. But I can't switch the focus using komorebic focus left/right/up/down. I both test it in the terminal and with a hotkey.

Only the cursor position changes, but the focus still stays on the previous windows.

Expected behavior The focus of windows can move smoothly.

Operating System

OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.253357 N/A Build 25357

komorebic check Output

KOMOREBI_CONFIG_HOME detected: C:\Users\langs\.config\komorebi

Looking for configuration files in C:\Users\langs\.config\komorebi

Found komorebi.ahk; this file will be autoloaded by komorebi


If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration

Log Information

2023-05-10T08:35:56.524990Z ERROR process_command{FocusWindow(Down)}:focus_container_in_direction{[3mdirection[0m[2m=[0mDown}: komorebi::window: could not set as foreground window, but continuing execution of focus(): The system could not find the environment option that was entered. (0x800700CB)

langshangyuan avatar May 10 '23 08:05 langshangyuan

Hey, I have the same log error, but it happens only when I disable the "komorebic alt-focus-hack" option.

Another issue I noticed is that the Right-Alt key seems to remain pressed when switch to another workspace, and I have to release it by pressing the Left-Alt key.

longthp avatar Jul 01 '23 07:07 longthp

Hey, I have the same log error, but it happens only when I disable the "komorebic alt-focus-hack" option.

Another issue I noticed is that the Right-Alt key seems to remain pressed when switch to another workspace, and I have to release it by pressing the Left-Alt key.

Remapping my alt key from right alt to left alt fixes this focus issue - I didn't have left alt mapped on my kinesis and it broke everything 😆

startwarfields avatar Jul 28 '23 23:07 startwarfields

I'm having the same issue, I wasn't aware of alt-focus-hack, but enabling it seems to fix the issue

Gazareth avatar Jan 02 '24 00:01 Gazareth

alt-focus-hack has been deprecated

LGUG2Z avatar May 12 '24 18:05 LGUG2Z