Windows version
Windows 11
Windows OS build
26200.8246
YASB version installed
2.0.0
Describe the bug
I have been having issues getting komorebi and yasb to work together. It seems that as soon as yasb is open, komorebi hangs. Once yasb is closed, komorebi works again.
After much digging, I believe I have found the cause. The KOMOREBI_PIPE_BUFF_SIZE in /src/core/widgets/services/komorebi/event_listener.py is too small. This may explain why this issue seems difficult to reproduce—it only occurs if the komorebi State is big enough to overflow the buffer.
I changed this from: KOMOREBI_PIPE_BUFF_SIZE = 64 * 1024 to KOMOREBI_PIPE_BUFF_SIZE = 64 * 1024 * 8 and now it is working perfectly.
Can this fix be applied in the main branch? I am running the Python version so that I can use my patch.
Relevant log output
Without patch:
2026-05-05 13:13:28,902 [ERROR] [Dummy-8] [root/event_listener.py:152]: Failed to retrieve komorebi state before starting event listener: None returned. Retrying in 2 second... Is komorebi online and its binaries added to $PATH?
With patch:
No errors
Windows version
Windows 11
Windows OS build
26200.8246
YASB version installed
2.0.0
Describe the bug
I have been having issues getting komorebi and yasb to work together. It seems that as soon as yasb is open, komorebi hangs. Once yasb is closed, komorebi works again.
After much digging, I believe I have found the cause. The
KOMOREBI_PIPE_BUFF_SIZEin/src/core/widgets/services/komorebi/event_listener.pyis too small. This may explain why this issue seems difficult to reproduce—it only occurs if the komorebi State is big enough to overflow the buffer.I changed this from:
KOMOREBI_PIPE_BUFF_SIZE = 64 * 1024toKOMOREBI_PIPE_BUFF_SIZE = 64 * 1024 * 8and now it is working perfectly.Can this fix be applied in the main branch? I am running the Python version so that I can use my patch.
Relevant log output