Skip to content

libtaskmanager: Add a new sort mode and relative handler in TasksModel

Hi lads, This MR introduces a new sort mode for TasksModel, thanks to which:

  • tasks are ordered following SortLastActivated sort mode: tasks are sorted by opening history
  • a new difference between swiping tasks or open them from task switcher has been introduced: switchingFromActiveTask
  • when the active task has been activated using a swipe gesture, task switcher waits 5 seconds (value taken from OnePlus implementation of android switcher) before starting the reordering phase

Should close: [taskswitcher] Sort by opening history

Merge request reports