Originally created by @MasouShizuka on GitHub (Jul 11, 2024).
Describe the bug
The mouse_follows_focus setting will update the mouse position immediately after moving the window.
However, when animation is set, the window movement takes some time, causing the mouse to remain in the original position instead of the position after the window is moved.
To Reproduce
Steps to reproduce the behavior:
Set animation.enabled = true
Set mouse_follows_focus = true
Open 2 windows, left window is A and right window is B. Focus window A
execute cycle-move next
It takes some time for window A to move to the position of window B, but the mouse is still at the position of window A at the beginning.
Expected behavior
The mouse moves to the center of window A after window A is moved.
Operating System
OS 名称: Microsoft Windows 11 家庭中文版
OS 版本: 10.0.22631 暂缺 Build 22631
komorebic check Output
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\MasouShizuka
Looking for configuration files in C:\Users\MasouShizuka
No komorebi configuration found in C:\Users\MasouShizuka
If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration
Originally created by @MasouShizuka on GitHub (Jul 11, 2024).
**Describe the bug**
The `mouse_follows_focus` setting will update the mouse position immediately after moving the window.
However, when `animation` is set, the window movement takes some time, causing the mouse to remain in the original position instead of the position after the window is moved.
**To Reproduce**
Steps to reproduce the behavior:
1. Set `animation.enabled = true`
2. Set `mouse_follows_focus = true`
3. Open 2 windows, left window is A and right window is B. Focus window A
4. execute `cycle-move next`
5. It takes some time for window A to move to the position of window B, but the mouse is still at the position of window A at the beginning.
**Expected behavior**
The mouse moves to the center of window A after window A is moved.
**Operating System**
```
OS 名称: Microsoft Windows 11 家庭中文版
OS 版本: 10.0.22631 暂缺 Build 22631
```
**`komorebic check` Output**
```
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\MasouShizuka
Looking for configuration files in C:\Users\MasouShizuka
No komorebi configuration found in C:\Users\MasouShizuka
If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration
```
adam
added the bug label 2026-01-05 14:50:41 +01:00
Are you seeing this behaviour just with the cycle move commands, or also with the directional move commands? Also can you share what your animation duration is set to, as I think this might also be a factor.
@LGUG2Z commented on GitHub (Jul 11, 2024):
Are you seeing this behaviour just with the cycle move commands, or also with the directional move commands? Also can you share what your animation duration is set to, as I think this might also be a factor.
I can see this on the cycle-move and move commands.
Also, there are commands to move between different monitors.
My animation settings are the default:
"animation":{"enabled":true}
@MasouShizuka commented on GitHub (Jul 12, 2024):
I can see this on the `cycle-move` and `move` commands.
Also, there are commands to move between different monitors.
My animation settings are the default:
```json
"animation": {
"enabled": true
}
```
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 @MasouShizuka on GitHub (Jul 11, 2024).
Describe the bug
The
mouse_follows_focussetting will update the mouse position immediately after moving the window.However, when
animationis set, the window movement takes some time, causing the mouse to remain in the original position instead of the position after the window is moved.To Reproduce
Steps to reproduce the behavior:
animation.enabled = truemouse_follows_focus = truecycle-move nextExpected behavior
The mouse moves to the center of window A after window A is moved.
Operating System
komorebic checkOutput@LGUG2Z commented on GitHub (Jul 11, 2024):
Are you seeing this behaviour just with the cycle move commands, or also with the directional move commands? Also can you share what your animation duration is set to, as I think this might also be a factor.
@MasouShizuka commented on GitHub (Jul 12, 2024):
I can see this on the
cycle-moveandmovecommands.Also, there are commands to move between different monitors.
My animation settings are the default:
@LGUG2Z commented on GitHub (Jul 12, 2024):
Reproduced and fixed ^