mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Unresponsive/commands queued on heavy load #290
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 @melMass on GitHub (Jan 31, 2024).
Describe the bug
Whenever I'm doing some heavy processing (
cargo build, AI inference, 3D rendering), komorebi or wkbd is not responding to actions anymore but seems to execute them all at once at some point.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Some way to make whkb or komorebi "higher" priority somehow?
Screenshots and Videos
I can if needed
Operating System
komorebic checkOutputNot relevant in my case, I run komorebi with args to point to them since env vars did not work (I have the config at ~/.config/komorebi/komorebi.json)
@LGUG2Z commented on GitHub (Feb 8, 2024):
You can set the priority in Task Manager for different processes; I would try this.
I've not experienced this myself so I don't really have much to add. If someone wants to debug this (presumably people who can actually reproduce it) I'd suggest figuring out if the issue comes from the OS delaying the sending of events for
komorebito react to, delays in sending/receiving events over named pipes (ie. afterkomorebichas been invoked), delays in sending commands from the shell opened bywhkd(ie. beforekomorebicinvocations can be processed), or something else.@melMass commented on GitHub (Feb 8, 2024):
I forgot to report back sorry, after having a few other issues I looked into AHK and switched to it.
Since then it did not happen so If anything it's not a komorebi issue.
Thanks for your work on this project!
@RaptDept commented on GitHub (Feb 11, 2024):
Setting komorebi and whkd to Normal definitely helped me. I noticed that they both run as Below Normal priority by default, and I get the same problem as OP when the system is under load even from an automated background task like Search Indexer, which can be frustrating.
I'd like to help (I use whkd with komorebi), but I'm not quite sure how to isolate where the delay is coming from.
However, wouldn't it make sense to just let komorebi and whkd run on Normal priority by default? I would argue that both shouldn't be treated as below normal priority "background" tasks since whkd deals with global user input while komorebi augments the operating system's GUI, and I think both of those things should be responsive.
@RaptDept commented on GitHub (Feb 11, 2024):
Never mind, I've been using Task Scheduler to run both of them and I just learned that processes started with Task Scheduler run on Below Normal priority by default. My bad.