Bug 357400 - Grouped tasks show executable name instead of pretty name
Summary: Grouped tasks show executable name instead of pretty name
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.5.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-01 18:52 UTC by Kai Uwe Broulik
Modified: 2016-06-16 23:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2016-01-01 18:52:36 UTC
When tasks are grouped the task group shows the executable name ("google-chrome", "dolphin") instead of "Google Chrome" and "Dolphin".

Reproducible: Always

Steps to Reproduce:
1. Enable task grouping in Task Manager settings
2. Open two windows of the same application
3.

Actual Results:  
The group shows the executable name

Expected Results:  
The group shows the pretty application name
Comment 1 Friedrich W. H. Kossebau 2016-04-03 18:28:37 UTC
Same here, Plasma 5.5.5.

Not all grouped windows are shown with executable-like name though, seems there is some pattern: qt5/kf5 ones/libreoffice have executable-like name, kdelibs4 ones/firefox/gimp have display name like strings.

There is some correlation with the second string of the WM_CLASS property of the windows and the string shown for the grouped windows:

WM_CLASS(STRING) = "assistant-qt5", "assistant-qt5" -> "assistant-qt5"
WM_CLASS(STRING) = "kate", "kate" -> "kate"
WM_CLASS(STRING) = "konsole", "konsole" -> "konsole"
WM_CLASS(STRING) = "libreoffice", "libreoffice-writer" -> "libreoffice-writer"
vs.
WM_CLASS(STRING) = "konqueror", "Konqueror" -> "Konqueror"
WM_CLASS(STRING) = "Navigator", "Firefox" -> "Firefox"
WM_CLASS(STRING) = "gimp-2.8", "Gimp-2.8" -> "Gimp-2.8"
Comment 2 Eike Hein 2016-06-16 23:20:28 UTC
This is fixed in the new Task Manager backend shipping with Plasma 5.7.