[BUG]: Window Animation Repeated on Focus Change #444

Closed
opened 2026-01-05 14:50:47 +01:00 by adam · 5 comments
Owner

Originally created by @topazrn on GitHub (Aug 11, 2024).

Describe the bug
Window animation will repeat (or more accurately stop and then resume from the position it was stopped but starting from the beginning of the animation curve) when window focus is changed. Either by moving the cursor out and into an animating window, or by letting an animating window passing through the cursor.

To Reproduce
Steps to reproduce the behavior:

  1. Trigger a window animation by opening, closing, or dragging an app window.
  2. Move cursor away from the window it was from.
  3. Move cursor back to the window it was from.
  4. See repeated animation.

Expected behavior
Changing mouse focus should not repeat window animation.

Screenshots and Videos

https://github.com/user-attachments/assets/d49c9e6d-686f-48b7-94c9-b77393d65a66

Operating System
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045

komorebic check Output

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Topaz

Looking for configuration files in C:\Users\Topaz

Found komorebi.json; this file can be passed to the start command with the --config flag

No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard
Originally created by @topazrn on GitHub (Aug 11, 2024). **Describe the bug** Window animation will repeat (or more accurately stop and then resume from the position it was stopped but starting from the beginning of the animation curve) when window focus is changed. Either by moving the cursor out and into an animating window, or by letting an animating window passing through the cursor. **To Reproduce** Steps to reproduce the behavior: 1. Trigger a window animation by opening, closing, or dragging an app window. 2. Move cursor away from the window it was from. 3. Move cursor back to the window it was from. 4. See repeated animation. **Expected behavior** Changing mouse focus should not repeat window animation. **Screenshots and Videos** https://github.com/user-attachments/assets/d49c9e6d-686f-48b7-94c9-b77393d65a66 **Operating System** OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19045 N/A Build 19045 **`komorebic check` Output** ``` No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Topaz Looking for configuration files in C:\Users\Topaz Found komorebi.json; this file can be passed to the start command with the --config flag No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard ```
adam added the bug label 2026-01-05 14:50:47 +01:00
adam closed this issue 2026-01-05 14:50:47 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Aug 11, 2024):

May be already be fixed on this branch 🤔 https://github.com/LGUG2Z/komorebi/pull/920

@LGUG2Z commented on GitHub (Aug 11, 2024): May be already be fixed on this branch 🤔 https://github.com/LGUG2Z/komorebi/pull/920
Author
Owner

@topazrn commented on GitHub (Aug 11, 2024):

This branch right? https://github.com/thearturca/komorebi/tree/fix/cross-monitor-animation

I ran it but unfortunately the bug I reported still occurs.

@topazrn commented on GitHub (Aug 11, 2024): This branch right? https://github.com/thearturca/komorebi/tree/fix/cross-monitor-animation I ran it but unfortunately the bug I reported still occurs.
Author
Owner

@topazrn commented on GitHub (Aug 11, 2024):

Commenting this line fixed the issue but I don't know if it would introduce another issue.

WindowManagerEvent::FocusChange(_, window) => {
                // self.update_focused_workspace(self.mouse_follows_focus, false)?;

                let workspace = self.focused_workspace_mut()?;
@topazrn commented on GitHub (Aug 11, 2024): Commenting this [line](https://github.com/LGUG2Z/komorebi/blob/e647d4e8796fe87ab0679886bc7b7396986dd17a/komorebi/src/process_event.rs#L247) fixed the issue but I don't know if it would introduce another issue. ```rs WindowManagerEvent::FocusChange(_, window) => { // self.update_focused_workspace(self.mouse_follows_focus, false)?; let workspace = self.focused_workspace_mut()?; ```
Author
Owner

@LGUG2Z commented on GitHub (Aug 11, 2024):

Do you have focus follows mouse enabled?

@LGUG2Z commented on GitHub (Aug 11, 2024): Do you have focus follows mouse enabled?
Author
Owner

@topazrn commented on GitHub (Aug 11, 2024):

Yes I do have it enabled.

@topazrn commented on GitHub (Aug 11, 2024): Yes I do have it enabled.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#444