bottom: Process widget sorting by key press bug (simple)
Describe the bug
When entering the process widget and trying to sort by name, it instead sorts by cpu usage.
It seems like the wrong key is binded to it. I tried searching for it for a pull request, but didn’t find my way in the repository.
What operating system/architecture are you using?
Arch Linux x86_64
What terminal are you using bottom
on?
alacritty
as well as the linux shell (no GUI).
What version are you on?
0.6.4
How did you install bottom
?
With the official package manager: pacman -S bottom
How can we reproduce this?
In a terminal do:
- Open
bottom
- Press
e
to enter enlarge process widget. - Press
n
to sort by name (as hinted at by the TUI). - See it getting sorted by CPU instead.
What is the actual behaviour?
The widget sorts processes by CPU usage.
What is the expected behaviour?
The widget sorts processes by name.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (10 by maintainers)
Yep, that looks like the issue. I’ll try to fix this in a sec and get back to you. Thanks for going through this with me!
Got a PR up at https://github.com/ClementTsang/bottom/pull/627, if it all looks good I’ll try to do a deploy by the end of the day. If you want to test to see if the fixed behaviour matches your expectations then feel free.