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

Authored by thsurrel on Tue, Apr 23, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
thsurrel created this revision.Tue, Apr 23, 7:47 PM
Restricted Application added a project: Plasma. · View Herald TranscriptTue, Apr 23, 7:47 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
thsurrel requested review of this revision.Tue, Apr 23, 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.Wed, Apr 24, 7:24 AM

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

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