Skip to content

Komorebi - pipe buffer size too small #900

@dimdom69

Description

@dimdom69

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions