Originally created by @langshangyuan on GitHub (May 10, 2023).
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)
Originally created by @langshangyuan on GitHub (May 10, 2023).
**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)
```
adam
added the bug label 2026-01-05 14:48:59 +01:00
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 commented on GitHub (Jul 1, 2023):
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.
@startwarfields commented on GitHub (Jul 29, 2023):
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 commented on GitHub (Jul 29, 2023):
> 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 😆
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @langshangyuan on GitHub (May 10, 2023).
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
komorebic checkOutputLog Information
@longthp commented on GitHub (Jul 1, 2023):
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.
@startwarfields commented on GitHub (Jul 29, 2023):
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 😆
@Gazareth commented on GitHub (Jan 2, 2024):
I'm having the same issue, I wasn't aware of
alt-focus-hack, but enabling it seems to fix the issue@LGUG2Z commented on GitHub (May 12, 2024):
alt-focus-hackhas been deprecated