mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Komorebi sometimes doesn't resize the window #533
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 @calvinbaart on GitHub (Nov 27, 2024).
Summary
Sometimes when resizing a window it snaps back to its previous size. I'm not sure how to debug this so if you need any information let me know. When this problem happens it won't disappear until I reload komorebi.
https://github.com/user-attachments/assets/a620c3ee-4d62-420f-b713-dd8a1874113e
Version Information
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
komorebic 0.1.31
branch:master
commit_hash:a1d3ef5d
build_time:2024-11-25 21:30:02 +01:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),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 + f : start firefox # Web browser
alt + c : start code # VS Code
alt + d : start explorer # File Explorer
alt + t : start wt # Windows Terminal
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 + shift + oem_4 : komorebic cycle-focus previous # oem_4 is [
alt + shift + oem_6 : komorebic cycle-focus next # oem_6 is ]
Move windows
alt + left : komorebic move left
alt + down : komorebic move down
alt + up : komorebic move up
alt + right : komorebic move right
alt + shift + return : komorebic promote
Stack windows
alt + shift + h : komorebic stack left
alt + shift + j : komorebic stack down
alt + shift + k : komorebic stack up
alt + shift + l : 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 + w : komorebic toggle-float
alt + shift + f : komorebic toggle-monocle
window manager options
alt + shift + r : komorebic retile
alt + p : komorebic toggle-pause
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
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
Output of komorebic check
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\calvi
Looking for configuration files in C:\Users\calvi
Found komorebi.json; this file can be passed to the start command with the --config flag
Found C:\Users\calvi.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 23, 2025):
I have not been able to reproduce this since, especially not since starting to use AltSnap to enable resizing by clicking anywhere on the window area
@extra-salad commented on GitHub (Feb 6, 2025):
I'm a new user (from today) trying to setup komorebi and I have the same issue. I'm also trying AltSnap and it happens with or without it.
https://github.com/user-attachments/assets/ed577a6d-518b-4562-9c6e-e0e771293421
@Insprill commented on GitHub (Feb 12, 2025):
This has happened to me for as long as I can remember. I do not use AltSnap. I can reproduce it in a few seconds by simply opening a few windows, moving them to different tiles, and trying to resize them.
Here's a video of it happening with
komorebic logopen. I got lucky here, and it happened on the first try. Usually, I'll have to move the windows around a couple of times before it'll happen.https://github.com/user-attachments/assets/5793e7dc-78e9-410d-8313-886095fc34b8
@Glinte commented on GitHub (Apr 5, 2025):
Can reproduce even with AltSnap
https://github.com/user-attachments/assets/6a016991-9fd7-4e2f-9787-77169fcb9da0
@CaMeLCaseError commented on GitHub (May 1, 2025):
It occurred to me too many times (using alt snap as well).
Windows 11 Pro (24H2)
komorebi 0.1.36
tag:v0.1.36
commit_hash:8ef1bcf2
build_time:2025-04-13 03:10:57 +00:00
build_env:rustc 1.86.0 (05f9846f8 2025-03-31),stable-x86_64-pc-windows-msvc
@b2rpoc commented on GitHub (Jul 9, 2025):
I found out that if you resize just a tiny bit, release the mouse, you can resize the window bit by bit. With
komorebic resize-axis vertical increaseI can push it a bit further. Sometimes you need to select the opposite window and decrease it instead. There still seems to be a minimum window size using the mouse (~20 lines on Alacritty) which I can also override usingresize-axis.