Bug 379259 - Add option to activate last window in grouped icon task
Summary: Add option to activate last window in grouped icon task
Status: RESOLVED DUPLICATE of bug 370258
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: unspecified All
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-26 16:04 UTC by Flo Edelmann
Modified: 2019-06-26 12:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Flo Edelmann 2017-04-26 16:04:46 UTC
When I have multiple windows of the same application opened, they are grouped in the icon-only task manager. A click on the group presents all windows on the screen to select the one to be activated.

In Unity (from where I switched from recently), a click activates the most recently used window of this application and only the second click presents the windows on the screen. As not all people will like this workflow, an option to allow this feature would be very useful.

I guess it's a relatively small change, but would allow users switching from Unity to keep their habits (and I have seen in a recent OMG Ubuntu comment that I am not alone: http://www.omgubuntu.co.uk/2017/04/best-unity-desktop-features#comment-3274480565).

Addition will be likely to be made here, if that helps:
https://github.com/KDE/plasma-desktop/blob/master/applets/taskmanager/package/contents/code/tools.js#L100
Comment 1 Flo Edelmann 2017-04-26 16:07:31 UTC
Also, tell me if I can help with implementing this in some way (I'd like to!), although I am new to KDE development and would probably need a little introduction.
Comment 2 Eike Hein 2017-04-27 07:39:48 UTC
It's non-trivial to implement this, but generally a nice idea.
Comment 3 Brian Cohen 2018-05-02 16:39:47 UTC
I would also like to see this behavior made an option in both Task Manager and Icons-Only Task Manager.

Before I switched to KDE, I was using the default 'Ubuntu' desktop in Ubuntu 17.10 and higher, which includes Canonical's fork of the GNOME dash-to-dock plugin. That plugin can be configured to implement the behavior described by this bug.  As this bug notes, by default Unity behaves this way.

As a consultant programmer, I usually have between 5 and 8 separate Atom windows open because I switch projects throughout the day. But, I only work on one project at a time. So if I want to switch quickly between my code (Atom) and my browser (Chrome), my expectation is that when I raise Atom, I'm raising the most recently used window.  I'm able to achieve this in the Task Switcher (System Settings > Task Switcher > Main > Content > Sort Order: Recently Used, [X] Only one window per application. So it would be great if I could achieve the same behavior by interacting with Task Manager with my mouse.
Comment 4 Nate Graham 2019-06-26 12:59:50 UTC

*** This bug has been marked as a duplicate of bug 370258 ***