Bug 240649

Summary: Clicking on an app icon doesn't bring it to front
Product: [Plasma] plasma4 Reporter: András Manţia <amantia>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, asraniel, kristjan.ugrin, kyur4thitch, mail, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description András Manţia 2010-06-03 21:39:20 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Start eg. amarok,close so it goes to the system tray. Click on the icon - amarok is shown. Click on the icon - it is hidden. This is expected. Now click on it to show the main window and minimize it with the minimize button. Now amarok is minimized and it is in the system tray and the taskbar. Click on the tray icon: nothing happens. Expected behavior: it is raised and brought to front.
This is not specific to amarok, it was just an example.

Reproducible: Always
Comment 1 Marco Martin 2010-06-03 22:42:05 UTC
uhm, seems to work here
do you have custom settings as window stealing focus prevention?
Comment 2 András Manţia 2010-06-04 07:07:10 UTC
I have Low as focus stealing prevention. I think an extra step is needed though to reproduce the bug: after you minimize amarok to the taskbar, switch to another application and click on the tray icon only after.
Comment 3 Beat Wolf 2010-06-04 15:54:14 UTC
yes indeed! thank you for reporting this. I have the same problem but with kopete, i thought it was just me :)
Comment 4 Andreas Kuhl 2010-06-09 05:38:04 UTC
I have this bug, too.
Comment 5 Aaron J. Seigo 2010-06-09 18:06:27 UTC
clear, detailed reproduction steps:

* start an app that minimizes to the system tray
* open its window if not shown already
* minimize the window using the window decorations
* click on the icon in the system tray
Comment 6 Marco Martin 2010-06-10 17:19:05 UTC
SVN commit 1136728 by mart:

well, this library is "workspace" enogh to force an active window? anyways, kwin should not block focus to the unhidden window, ever, so yes.
BUG:240649


 M  +1 -1      kstatusnotifieritem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1136728
Comment 7 Christoph Feck 2010-06-12 15:20:43 UTC
Hm, it activates the window only when it was minimized before.

To reproduce:
- start Amarok, show its window
- start another application that covers Amarok window
- click on Amarok systray icon

The Amarok window will be raised, but not activated.
Comment 8 Christoph Feck 2010-06-19 14:14:59 UTC
*** Bug 226650 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2010-06-19 14:15:23 UTC
*** Bug 242152 has been marked as a duplicate of this bug. ***
Comment 10 Ivan Lezhnjov Jr. 2010-06-19 15:27:29 UTC
*** Bug 242152 has been marked as a duplicate of this bug. ***