Freeze sorting of process tables while Ctrl or Shift is held

When a table is sorted by a column that changes constantly (e.g. CPU), the rows are re-sorted on every update and keep jumping around, which makes it hard to pick a specific process.

Task Manager on Windows solves this by keeping the rows in place while Ctrl is held. This change does the same.

Testing:

  • Built and tried manually on both the Processes and Applications tables (Fedora 44, Wayland). Rows stay put while Ctrl is held.
  • Autotests pass.

Edited by Vladimir Pahomchik

Merge request reports

Loading
Loading