Processes table sometimes jumps to bottom when terminating the selected process
Sometimes, but not always, the processes table jumps/scrolls to the bottom of the view (and displays the last listed process as selected) when the processes table is updated after terminating a process.
This does not always happen when terminating a process but I have got it to fairly reliably occur by doing the following:
- Have a process with high (relative to other processes?) resident memory size running. (A trivial program that allocates e.g. a few GiB and touches the allocated memory will do.)
- Sort the process table by the "Memory" column if it isn't already, so the process is at or near the top
- Terminate the process through the context menu
These are not the only conditions under which this happens, and the cause might have nothing to do with which column the table is sorted by. However, I have been able to reproduce it at least by doing the above.
I have seen this happen at least on current Fedora (also when building from current GNOME GitLab source) and on Ubuntu 18.04.
I'm not entirely sure which process (if any) should be selected in place of the terminated one. Jumping to the bottom feels disconcerting, though, even if it is practically harmless.