Hi, When taskmanager is on a panel, if you left click on a running application, it will minimize/restore that window. Oddly, when the taskmanager is put outside of the panel ( like on the desktop main area ), that functuality no longer works. Reproducible: Always Steps to Reproduce: 1.Put taskmanager outside of the panel, like a desktop plasmoid 2.Open an application 3.Try to minimize/restore it like when taskmanager is on panel
Can reproduce.
That's because the window loses its "IsActive" status as the desktop gains focus due to the mouse button press, unlike a panel which never grabs focus. Since the initial click on a task in a panel usually gives it focus, the minimize toggle codepath is only run when the window is active, and otherwise the activate codepath runs (both on mouse button release, i.e. completed click). Not quite sure what to do about this one yet.
Well, my use case is to have some taskmanagers with different launchers on each activity. ( kinda simulating various docks like plank and docky for each activity ). It would be handy for that. Also althought there is the configuration of taskmanager for middle click action to minimize/restore, I would love to keep middle mouse for "new instance" and double clicking for minimize/restore. Thanks.
*** Bug 368459 has been marked as a duplicate of this bug. ***
This is fixed now.