-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xmobar High Cpu Usage With OverrideRedirect = False #1141
Comments
Welcome fellow adventurer! Thanks for reporting this, could you fill us in with some details about |
No worries! Here is the quick-start documentations: https://codeberg.org/xmobar/xmobar/src/branch/master/doc/quick-start.org It states in the doc: |
Bumping this by adding that it causes a memory leakage in the leftwm-worker like discussed in the Discord server and high CPU usage on NixOS with the upstream flake |
So how would I go about fixing the memory leakage? |
A quick workaround might be to leave it on true und set To actually debug, I would start reading the code behind Iirc there are some measures against getting into in unfortunate update loop inside the main loop of If you would be interested in fixing this bug, this would be most appreciated! |
Sorry for the late reply! Honestly, school just started, and I probably won't have time for that. I'll try and see if I can find a solution, but I'll probably either set the gutter/margin like you said, or make a script that can toggle it (BTW quick question; Is it possible to change the gutter through a key-map or a command while running leftwm?) I'll give an update if I find some sort of fix or what the problem is. If not, I'll post my workaround. Thanks |
You can bind |
Describe the bug
Whenever I set it to false I get 50-60% CPU usage in htop, however setting it to true or removing it in general reduces the CPU usage back down to normal levels. This only occurs in LeftWM, I have tried it with dwm and it works normally without the excess CPU usage.
Expected behavior (optional)
I should get 1% cpu usage and no lag when I run xmobar with
OverrideRedirect = False.
Steps to reproduce (optional)
OverrideRedirect = False
to your ConfigRelevant log output (optional)
No response
OS / Distro
Linux Arch-Desktop 6.4.12-arch1-1
Additional System Information (optional)
LeftWM Check
The text was updated successfully, but these errors were encountered: