[Task Manager] Bring to current desktop with middle-click
ClosedPublic

Authored by thsurrel on Apr 23 2019, 7:47 PM.

Details

Summary

This adds a new possible action when middle-click is used on a task
in the task manager: bringing that task to the current desktop.

FEATURE: 360250

Test Plan

In the task manager settings > Behavior > On middle-click, select
'Bring to the current desktop', and make sure 'Show only tasks from
the current desktop' is deselected.
Having several applications opened on different virtual desktops,
middle-click on a task from another desktop and check that it is
brought to the current one.

Diff Detail

Repository
R119 Plasma Desktop
Branch
arc_middleclick
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11170
Build 11188: arc lint + arc unit
thsurrel created this revision.Apr 23 2019, 7:47 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 23 2019, 7:47 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
thsurrel requested review of this revision.Apr 23 2019, 7:47 PM
ngraham added inline comments.
applets/taskmanager/package/contents/ui/ConfigBehavior.qml
116

Maybe "virtual desktop" instead of just "desktop"?

applets/taskmanager/plugin/backend.h
55

Indentation

thsurrel updated this revision to Diff 56865.Apr 24 2019, 7:24 AM

Fixes as per Nate's comments.
Thanks for the review!

thsurrel marked 2 inline comments as done.Apr 24 2019, 7:24 AM
hein accepted this revision.Apr 24 2019, 8:18 AM
This revision is now accepted and ready to land.Apr 24 2019, 8:18 AM
This revision was automatically updated to reflect the committed changes.