Bug 348050

Summary: Launcher in Icon-Only Task Manager Did Not Correspond To Launcher Executed
Product: [Plasma] plasmashell Reporter: romuluspb
Component: Icons-only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: albertzhang66, ndcunliffe, plasma-bugs, romuluspb
Priority: NOR    
Version: 5.3.0   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Launchers in Icon-Only Task Manager
Netbeans Kmenuedit created launcher
Dropbox launcher

Description romuluspb 2015-05-21 09:22:45 UTC
Launcher detected by Icon-Only task manager is not the same as executed. Aparently in some cases it show application start script;

An example is VirtualBox:

executed -> /usr/share/applications/Virtualbox.desktop
detected -> /usr/lib/virtualbox/VirtualBox?

In some cases detected launcher did not execute.
An example is Netbeans, downloaded from site and installed in user space:

executed -> /home/romulo/.local/share/applications/NetBeans.desktop
detected -> /usr/lib/jvm/java-8-oracle/bin/java?wmClass=NetBeans IDE 8.0.1

Reproducible: Always

Steps to Reproduce:
1. execute any of the pointed launchers
2. fixate detected launcher in icon-only task manager 

Actual Results:  
Icon-only Task manager diverge about launcher entity... (what was opened or resultant in execution launcher?)

Expected Results:  
The best scenario would be that IOTM was able to associate those divergences automatically.
Comment 1 romuluspb 2015-05-21 09:25:22 UTC
Created attachment 92756 [details]
Launchers in Icon-Only Task Manager
Comment 2 romuluspb 2015-05-21 09:26:51 UTC
Created attachment 92757 [details]
Netbeans Kmenuedit created launcher
Comment 3 romuluspb 2015-05-21 09:28:11 UTC
Created attachment 92758 [details]
Dropbox launcher
Comment 4 romuluspb 2015-05-21 09:33:25 UTC
A special case are all chrome apps launchers, they result in the chrome browser launcher anyway, would be very appreciable if IOTM was able to identifies them as distinct launcher instances.
Comment 5 Eike Hein 2015-07-21 21:19:53 UTC
Git commit 9e6dd77ecfc2286d3d4278e700a382cc94cc458d by Eike Hein.
Committed on 21/07/2015 at 21:19.
Pushed by hein into branch 'master'.

Add toggle to use launcher vs. window icons.

Cf. plasma-workspace.git fbd4a87

M  +3    -0    applets/taskmanager/package/contents/config/main.xml
M  +6    -0    applets/taskmanager/package/contents/ui/ConfigGeneral.qml
M  +6    -0    applets/taskmanager/package/contents/ui/main.qml

http://commits.kde.org/plasma-desktop/9e6dd77ecfc2286d3d4278e700a382cc94cc458d
Comment 6 Eike Hein 2015-07-21 23:06:14 UTC
*** Bug 350469 has been marked as a duplicate of this bug. ***
Comment 7 nicholas 2016-03-02 20:56:08 UTC
could an explanation follow of how to specify launcher icon?