mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Komorebi Crashes When Window Opens on 'Wrong Workspace' #553
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xidsyed on GitHub (Jan 3, 2025).
Summary
If the workspace rules define that a window should be opened on
workspace 2and if you were to open it on any other workspace then komorebi transfers the window to the correct workspace but subsequently immediately crashes.https://github.com/user-attachments/assets/2874d228-eeec-4836-b106-9bc47b0ed1b2
Version Information
OS Name: Microsoft Windows 11 Home
OS Version: 10.0.22631 N/A Build 22631
komorebic 0.1.32
tag:v0.1.32
commit_hash:4b9d8114
build_time:2025-01-01 19:37:02 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc
Komorebi Configuration
Hotkey Configuration
.shell powershell
Reload whkd configuration
alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + o : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell
alt + shift + o : komorebic reload-configuration
alt + shift + b : Stop-Process -name komorebi-bar; Start-Process komorebi-bar -windowstyle hidden
App shortcuts - these require shell to be pwsh / powershell
The apps will be focused if open, or launched if not open
alt + f : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
alt + b : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome }
alt + q : komorebic close
alt + m : komorebic minimize
Focus windows
alt + h : komorebic focus left
alt + j : komorebic focus down
alt + k : komorebic focus up
alt + l : komorebic focus right
alt + ctrl + oem_4 : komorebic cycle-focus previous # oem_4 is [
alt + ctrl + oem_6 : komorebic cycle-focus next # oem_6 is ]
Move windows
alt + shift + h : komorebic move left
alt + shift + j : komorebic move down
alt + shift + k : komorebic move up
alt + shift + l : komorebic move right
alt + shift + return : komorebic promote
Stack windows
alt + shift + oem_4 : komorebic stack left
alt + ctrl + oem_4 : komorebic stack down
alt + ctrl + oem_6 : komorebic stack up
alt + shift + oem_6 : komorebic stack right
alt + oem_1 : komorebic unstack # oem_1 is ;
alt + oem_4 : komorebic cycle-stack previous # oem_4 is [
alt + oem_6 : komorebic cycle-stack next # oem_6 is ]
Resize
alt + oem_plus : komorebic resize-axis horizontal increase
alt + oem_minus : komorebic resize-axis horizontal decrease
alt + shift + oem_plus : komorebic resize-axis vertical increase
alt + shift + oem_minus : komorebic resize-axis vertical decrease
Manipulate windows
alt + shift + d : komorebic toggle-float
alt + d : komorebic toggle-monocle
Window manager options
alt + shift + r : komorebic retile
alt + shift + p : komorebic toggle-pause
alt + shift + m : komorebic manage
Layouts
alt + x : komorebic flip-layout horizontal
alt + y : komorebic flip-layout vertical
Workspaces
alt + 1 : komorebic focus-workspace 0
alt + 2 : komorebic focus-workspace 1
alt + 3 : komorebic focus-workspace 2
alt + 4 : komorebic focus-workspace 3
alt + 5 : komorebic focus-workspace 4
alt + 6 : komorebic focus-workspace 5
alt + 7 : komorebic focus-workspace 6
alt + 8 : komorebic focus-workspace 7
alt + 9 : komorebic focus-workspace 8
alt + 0 : komorebic focus-workspace 9
Move windows across workspaces
alt + shift + 1 : komorebic move-to-workspace 0
alt + shift + 2 : komorebic move-to-workspace 1
alt + shift + 3 : komorebic move-to-workspace 2
alt + shift + 4 : komorebic move-to-workspace 3
alt + shift + 5 : komorebic move-to-workspace 4
alt + shift + 6 : komorebic move-to-workspace 5
alt + shift + 7 : komorebic move-to-workspace 6
alt + shift + 8 : komorebic move-to-workspace 7
alt + shift + 9 : komorebic move-to-workspace 8
alt + shift + 0 : komorebic move-to-workspace 9
Launch Apps
ctrl + alt + c : Start-Process chrome.exe
Output of komorebic check
Looking for configuration files in C:\Users\mmsye
Found komorebi.json; this file can be passed to the start command with the --config flag
Found C:\Users\mmsye.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
@LGUG2Z commented on GitHub (Jan 3, 2025):
This is an odd one, I use the workspace rules quite regularly and I haven't seen this before. Can you run
komorebic login a separate tab and try to capture the crash when you reproduce it?@xidsyed commented on GitHub (Jan 4, 2025):
I tried recreating it. i found it a bit odd too. assuming its quite common to be using workspace rules and i dont see any issues being created for it ive been having this problem since the previous release
https://github.com/user-attachments/assets/95886161-7d2b-440a-b98e-2656969debb4
@LGUG2Z commented on GitHub (Jan 4, 2025):
Looks like there has been a deadlock introduced somewhere, I think this is enough info to help me start digging 👀
@LGUG2Z commented on GitHub (Jan 4, 2025):
Found it
@LGUG2Z commented on GitHub (Jan 4, 2025):
Should be fixed in the next
nightlytagged release tonight@xidsyed commented on GitHub (Jan 5, 2025):
damn. quick work bro. fixed in the new build 👍