How to make task manager show window title for groupped windows?

If I have one instance of VS Code open, Plasma’s task manager shows window title:

But If I have two VS Code’s open, it shows a generic title:

Is there some way I can convince task manager to show the window title for the currently focused window?

Related: the reason why I used gropped presentation in the first place is to make sure that all VS Code instances stay the second entry in the task bar, such that my Win+2 shortcut cycles through opened vscodes or launches the new one.

This is not a feature that is available in the “Icons & Text Task Manager”. You can either see if there are alternatives that work for you (right click the task manager, and if it doesn’t have the “Show alternatives” option, choose “Configure panel” and in the configuration mode right click it and choose “Show alternatives”, or install a new task manager widget from the “Add widget” store), or you can try to hack on the current one to have that feature - you can find the code here: applets/taskmanager · master · Plasma / Plasma Desktop · GitLab

1 Like