[BUG]: MoveWindow between monitors sometimes panics #309

Closed
opened 2026-01-05 14:49:38 +01:00 by adam · 1 comment
Owner

Originally created by @kivissimo on GitHub (Mar 4, 2024).

Describe the bug
On version: 0.1.21
Sending a window between monitors with komorebic move left and komorebic move left panics when doing a specific move. Currently moving window to left from monitor 2 to monitor 1 works but moving the same window back right to monitor 2 panics:

process_command{MoveWindow(Right)}:move_container_in_direction{direction=Right}: komorebi: panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce\library\alloc\src\collections\vec_deque\mod.rs:708:9:
assertion failed: j < self.len() panic.file="/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce\\library\\alloc\\src\\collections\\vec_deque\\mod.rs" panic.line=708 panic.column=9

Operating System

OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22621 N/A Build 22621

komorebic check Output

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

Looking for configuration files in C:\Users\kivissimo

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

Found C:\Users\kivissimo\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
Originally created by @kivissimo on GitHub (Mar 4, 2024). **Describe the bug** On version: 0.1.21 Sending a window between monitors with `komorebic move left` and `komorebic move left` panics when doing a specific move. Currently moving window to *left* from monitor 2 to monitor 1 works but moving the same window back *right* to monitor 2 panics: ``` process_command{MoveWindow(Right)}:move_container_in_direction{direction=Right}: komorebi: panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce\library\alloc\src\collections\vec_deque\mod.rs:708:9: assertion failed: j < self.len() panic.file="/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce\\library\\alloc\\src\\collections\\vec_deque\\mod.rs" panic.line=708 panic.column=9 ``` **Operating System** ``` OS Name: Microsoft Windows 11 Enterprise OS Version: 10.0.22621 N/A Build 22621 ``` **`komorebic check` Output** ``` No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\kivissimo Looking for configuration files in C:\Users\kivissimo Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\kivissimo\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag ```
adam added the bug label 2026-01-05 14:49:38 +01:00
adam closed this issue 2026-01-05 14:49:38 +01:00
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2024):

@kivissimo I believe this should be fixed with this: 1b30561989

Please re-open the issue if it still persists after this commit ^

@LGUG2Z commented on GitHub (May 12, 2024): @kivissimo I believe this should be fixed with this: https://github.com/LGUG2Z/komorebi/commit/1b30561989e79beccac5ed459eca53912268d914 Please re-open the issue if it still persists after this commit ^
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#309