Open mirddes opened 3 years ago
I did some profiling and it seems that after a chat message is received the animation code for the progress bar at the bottom starts running until the window gets focused, but not when minimized. That forces constant rendering and increases the taf CPU usage on my system from 0.2% to 1.5% and then goes back down when i focus the window. Your CPU usage seems much higher but maybe i just have a lot more CPU available (12-core Ryzen 9 5900X) than you?
I am not sure why the progress bar even starts when a chat message is received? That seems weird.
Apparently there is supposed to be a tray icon too which i can't see on linux. Is it visible on windows?
Some folks are running TAF on a VM without any 3d acceleration which puts extra burden on the CPU for animations and (more importantly) drop shadow window border effects (which I disabled a while ago for that reason).
I can answer to why the progress bar starts up when a chat message is received. I couldn't get the actual taskbar notification to work properly, so instead I just used the progress indicator to make it flash. See ui/tray/TaskBarFlashTask
Okay i'll see if i can get the taskbar flash working then. Or at least change it from the animated progress bar to a static colored dot.
Describe the bug high single cpu usage when idle
To Reproduce run TAF and ignore it for a day.
Log or error message This is my log file:
Expected behavior 0-1% idle cpu
Screenshots If applicable, add screenshots to help explain your problem.
OS windows Wanna have the bug fixed quickly? Visit Issue hunt...