Bug 345810

Summary: Add "mouse middle click" action
Product: [Plasma] plasmashell Reporter: Teet Talviste <teet.talviste>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: petersaints, plasma-bugs, vleett, xgdgsc
Priority: NOR    
Version: 5.2.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Teet Talviste 2015-04-02 18:28:42 UTC
Windows and tabs are quite similar in some ways, clicking middle mouse button on a tab closes it in almost every application. 

So I think there should be an option which enables this in task manager (icons only and the regular one both).

Or it could be list of things like toggle all-desktops, maximize, etc

The current middle click behaviour (new in plasma 5) is rather annoying. I think task manager should catch middle click and not pass it on to panel whether the option is enabled or not, nobody would expect this note widget mayhem when middle-clicking on a task.

Reproducible: Always

Steps to Reproduce:
1. Middle click on a task manager task

Actual Results:  
Note widget pops up.

Expected Results:  
Note widget doesn't appear on panel and specified action is executed (task closed or whatever).
Comment 1 Eike Hein 2015-04-02 21:40:25 UTC
The panel will no longer react to middle clicks in Plasma 5.3.

People request "start new instance" vs. "close" at about equal rates for middle-click on tasks.
Comment 2 Teet Talviste 2015-04-10 05:55:16 UTC
How about adding a drop-down to config, which contains: none(default), start new instance, close?

That would satisfy most people.
Comment 3 Eike Hein 2015-04-10 17:44:58 UTC
*** Bug 346049 has been marked as a duplicate of this bug. ***
Comment 4 Pedro Albuquerque Santos 2015-04-10 17:51:02 UTC
(In reply to Eike Hein from comment #1)
> The panel will no longer react to middle clicks in Plasma 5.3.
> 
> People request "start new instance" vs. "close" at about equal rates for
> middle-click on tasks.

IMHO, middle clicking on the task thumbnail should close it. If you middle click the icon it should open a new instance.
Comment 5 Teet Talviste 2015-04-10 18:20:18 UTC
Well, I personally find the tooltips annoying and have them disabled, but still would like to close tasks fast. Besides tooltip has a close button already.
Comment 6 Eike Hein 2015-04-15 16:03:05 UTC
*** Bug 346220 has been marked as a duplicate of this bug. ***
Comment 7 Eike Hein 2015-05-10 19:50:33 UTC
5.4 will have "On middle-click: None / Close Group or Window / New Instance" options.

cf. https://git.reviewboard.kde.org/r/123547/ and http://quickgit.kde.org/?p=plasma-desktop.git&a=commit&h=ebc796a61db738a1f955d2d50a8921c7c312f1bf