Bug 317550 - Context menu in systray: Missing entries for custom status
Summary: Context menu in systray: Missing entries for custom status
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: presence-applet (show other bugs)
Version: 0.5.80
Platform: Other Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-03-29 16:25 UTC by Christian (Fuchs)
Modified: 2013-08-22 14:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2013-03-29 16:25:27 UTC
There is currently no way to set a custom status (Which is available through the contact list) through the plasmoid which sits in the system tray. 

In addition, setting a custom status message isn't available either

Reproducible: Always

Steps to Reproduce:
1. Configure a custom defined status  (e.g. away: at work) via contactlist
2. Try setting that via the systray plasmoid 

Actual Results:  
No way doing so

Expected Results:  
Sub-menus per status maybe? So the list doesn't get too crowded. 
Also a menu entry to set a custom message (as kopete has) would be nice. 

Regression with regards to kopete (offered it)
Comment 1 Daniel Cohen 2013-08-07 21:11:37 UTC
Looking at Kopete's system tray handling, it feels to me like this is a bit conflicting to implement - it's a little-used feature, but by implementing this into the system tray it guarantees to affect everyone who uses the system tray.

Being able to set custom status' that you have already define makes a bit more sense though, as it wouldnt only be there for those that need it.
Comment 2 Martin Klapetek 2013-08-08 07:40:09 UTC
Steps to implement:

1/ Load the ktelepathy config
2/ Get the stored list (see the globalpresencechooser.cpp in contact list for help)
3/ Add them to the menu of the plasmoid (which is in ktp-desktop-applets/presence)
4/ ???
5/ Profit

Ping mck182 or d_ed on irc for help.
Comment 3 David Edmundson 2013-08-08 09:39:40 UTC
But as discussed at Akademy, there are only 3 people in my entire roster with a status message - and two of which are just advertising which client they use.

I'm all for not implementing this.
Comment 4 Martin Klapetek 2013-08-08 10:12:06 UTC
Note that this is not for status message input, but about adding the preconfigured presences (via contact list) to the menu, which I think is fine. If we already show it in contact list dropdown, I think it should be shown here too.
Comment 5 David Edmundson 2013-08-22 14:34:06 UTC
Git commit 249d5b9b57d9beab4445293977c9db159497ea77 by David Edmundson, on behalf of Siddhartha Sahu.
Committed on 22/08/2013 at 14:32.
Pushed by davidedmundson into branch 'master'.

Add custom status to plasmoid context menu in systray
FIXED-IN: 0.7.0
REVIEW: 112097

M  +94   -27   presence/src/presence-applet.cpp
M  +6    -0    presence/src/presence-applet.h

http://commits.kde.org/telepathy-contact-applet/249d5b9b57d9beab4445293977c9db159497ea77