Describe the bug
To Reproduce
Not sure what causes this exactly, it seems to happen randomly and doesn't happen on other similarly configured (OS / software) systems I have. It is guaranteed to occur if btop runs for long enough though, opening the menu and then exiting the menu, prompting a redraw of the UI seems to clear the issue temporarily, but it always returns.
I have caught it at the exact refresh when it occurs however, and it seems like the CPU can sometimes report the wattage in such a way that the precision after the decimal is longer than btop can handle (such as 24.933843W), which seems to me to be likely part of what could be causing this issue.
Expected behavior
CPU wattage display stays within the box and doesn't cause glitching of the UI
Info (please complete the following information):
- btop++ version: 1.4.6 (happened on previous versions as well)
- Binary: static binary from release
- Architecture: x86_64
- Platform: Linux
- (Linux) Kernel: 6.18.5-1-cachyos-bore
- Terminal used: kitty 0.45.0
- Font used: Maple Mono
Describe the bug
To Reproduce
Not sure what causes this exactly, it seems to happen randomly and doesn't happen on other similarly configured (OS / software) systems I have. It is guaranteed to occur if btop runs for long enough though, opening the menu and then exiting the menu, prompting a redraw of the UI seems to clear the issue temporarily, but it always returns.
I have caught it at the exact refresh when it occurs however, and it seems like the CPU can sometimes report the wattage in such a way that the precision after the decimal is longer than btop can handle (such as 24.933843W), which seems to me to be likely part of what could be causing this issue.
Expected behavior
CPU wattage display stays within the box and doesn't cause glitching of the UI
Info (please complete the following information):