Bug 292476

Summary: No status icon when docking presence-applet on a panel
Product: [Unmaintained] telepathy Reporter: Giuseppe Calà <gcala>
Component: presence-appletAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adrian, alinm.elena, ddomenichelli, kde, kirill.bogdanenko, mklapetek, rad.n
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Giuseppe Calà 2012-01-26 15:44:49 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Adding the presence applet to the desktop is ok, but adding to a panel results in an invisible status icon:

http://wstaw.org/m/2012/01/26/presence-applet.png

Hovering the mouse reveals a pop-up showing that the applet was added correctly and right-click works as expected. Rebooting doesn't help.

Reproducible: Always

Steps to Reproduce:
Add presence-applet to a panel

Actual Results:  
no icon visible, but applet is there and working

Expected Results:  
visible status icon

- ktp-presence-applet 0.3
- kde 4.8
- chakra linux 64bit

All packages from repos
Comment 1 Alin M Elena 2012-01-27 10:45:25 UTC
you are right,,, as a workaround activate it from system tray!

Alin
Comment 2 Daniele E. Domenichelli 2012-01-27 13:37:40 UTC
Confirmed...
Until this is fixed you can add it to the system tray by right clicking on it > System Tray Settings > select "Instant Messaging Presence" from the Extra Items list
Comment 3 David Edmundson 2012-04-15 15:22:17 UTC
*** Bug 298189 has been marked as a duplicate of this bug. ***
Comment 4 Martin Klapetek 2012-04-15 15:59:00 UTC
I fixed this by painting the icon directly (and by correcting it to Plasma::Applet instead of Plasma::PopupApplet), however the clicking action got broken (as in you click the plasmoid and nothing happens), even though the signals and slots are correctly connected. I'll push the patch for review tomorrow.
Comment 5 Martin Klapetek 2012-05-28 17:50:32 UTC
Git commit 065758007d49a00d6d2d70d7aca8ca13698be277 by Martin Klapetek.
Committed on 26/05/2012 at 17:49.
Pushed by mklapetek into branch 'master'.

Change from Plasma::PopupApplet to Plasma::Applet and use Plasma::IconWidget for the icon

This ensures proper icon painting when the plasmoid is put in panels

Reviewed-by: David Edmundson
REVIEW: 104675

M  +1    -1    plasma_applet_ktp_presence.desktop
M  +32   -30   src/presenceapplet.cpp
M  +4    -5    src/presenceapplet.h

http://commits.kde.org/telepathy-presence-applet/065758007d49a00d6d2d70d7aca8ca13698be277