Bug 272895

Summary: Plasma Desktop Shell > Mouse Actions set to Application Launcher results in launching two instances of an application when selected
Product: [Unmaintained] plasma4 Reporter: Paul L. <snowhg>
Component: containment-desktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul L. 2011-05-09 23:51:22 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

KDE Version is 4.6.3 (please update your KDE Version selection list). Right-click on the Desktop and choose Desktop Settings. Click on Mouse Actions. Change any of the listed Mouse Actions to Application Launcher. Click Apply and OK. Close Desktop Settings - Desktop Shell window.

Click the mouse button just configured. Select any application from the Application menu and two instances of that application are launched.

Reproducible: Always

Steps to Reproduce:
See Details above.

Actual Results:  
Two instances of the selected application are launched.

Expected Results:  
One instance of the selected application should launch.
Comment 1 Jekyll Wu 2011-05-14 04:08:13 UTC
I am having the same issue with 4.6.3, on  both archlinux and gentoo
Comment 2 Jekyll Wu 2011-05-14 13:24:57 UTC
This should be  caused by one duplicated line within plasma/generic/containmentactions/applauncher/launch.cpp :

    connect(m_menu, SIGNAL(triggered(QAction*)), this, SLOT(switchTo(QAction*)));
    connect(m_menu, SIGNAL(triggered(QAction*)), this, SLOT(switchTo(QAction*)));

Please check the patch attatched within following bug report on archlinux.org

https://bugs.archlinux.org/task/24263
Comment 3 Jekyll Wu 2011-09-21 08:24:04 UTC

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