Bug 292476 - No status icon when docking presence-applet on a panel
Summary: No status icon when docking presence-applet on a panel
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: presence-applet (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR normal
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
: 298189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-26 15:44 UTC by Giuseppe Calà
Modified: 2012-07-06 12:47 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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