[Task Manager] Focus last item when pressing up with no active item

Authored by broulik on Jan 26 2017, 10:46 AM.



This way when opening a group with no active window, we start at the bottom of the list and work our way up, makes it consistent with virtually any other list. Especially since when we start at the top, the next key press would wrap around anyway.

Test Plan

Opened task manager group where there is no active window, pressed up key. Ended up focusing the last item like I would in e.g. Kickoff.

Diff Detail

R119 Plasma Desktop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 10580.Jan 26 2017, 10:46 AM
broulik retitled this revision from to [Task Manager] Focus last item when pressing up with no active item.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, hein.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 26 2017, 10:46 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Jan 26 2017, 1:19 PM
hein edited edge metadata.
This revision is now accepted and ready to land.Jan 26 2017, 1:19 PM
This revision was automatically updated to reflect the committed changes.