Bug 360250

Summary: Missing option to "Move to current desktop" for clicking on task icon with middle mouse button
Product: [Plasma] plasmashell Reporter: mhruscak
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, nate, plasma-bugs, svckd
Priority: NOR Keywords: junior-jobs
Version: master   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 5.16.0

Description mhruscak 2016-03-08 12:06:22 UTC
There is missing option to bring task on current desktop by click on it. It option was present in KDE4.
It is usefull when more virtual desktop is present, two or more monitors are connected and on one of the monitor there are all tasks from all desktops. Then it is gret to bring task to current desktop by mouse click.

Reproducible: Always

Steps to Reproduce:
1. Task manager settings -> general -> On middle-click
2.
3.

Actual Results:  
Option is missing

Expected Results:  
Option is present

It was possible in KDE4
Comment 1 Nuno Costa 2018-08-10 16:21:11 UTC
Task manager settings -> general -> On middle-click is available on Fedora 28 with Plasma 5.13.
Comment 2 Nate Graham 2018-08-10 16:38:05 UTC
(In reply to keitalbame from comment #1)
> Task manager settings -> general -> On middle-click is available on Fedora
> 28 with Plasma 5.13.

Yes, but it doesn't have the requested "Bring to current desktop" option.
Comment 3 Nuno Costa 2018-08-11 07:59:43 UTC
(In reply to Nate Graham from comment #2)
> Yes, but it doesn't have the requested "Bring to current desktop" option.

Yes, you are right, my bad.
Got tricked with the reproducible steps and thought what was missing was the on middle-click option.
Comment 4 Eike Hein 2018-08-16 10:17:44 UTC
This makes an excellent junior job.
Comment 5 Thomas Surrel 2019-04-24 09:13:23 UTC
Git commit a416f16b562b8eca364c38c7bb99f21bb1996c01 by Thomas Surrel.
Committed on 24/04/2019 at 09:13.
Pushed by thsurrel into branch 'master'.

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

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.

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.

Reviewers: #plasma, hein

Reviewed By: #plasma, hein

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20773

M  +1    -0    applets/taskmanager/package/contents/config/main.xml
M  +2    -1    applets/taskmanager/package/contents/ui/ConfigBehavior.qml
M  +2    -0    applets/taskmanager/package/contents/ui/Task.qml
M  +2    -1    applets/taskmanager/plugin/backend.h

https://commits.kde.org/plasma-desktop/a416f16b562b8eca364c38c7bb99f21bb1996c01