Bug 347542 - Contact List and Settings do not open when accessed from system tray icon
Summary: Contact List and Settings do not open when accessed from system tray icon
Status: RESOLVED DUPLICATE of bug 347285
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 05:23 UTC by h.k.ghost
Modified: 2015-05-11 10:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description h.k.ghost 2015-05-11 05:23:05 UTC
When the IM Contacts UI is invoked from the shell (e.g. ktp-contactlist) or the K System Menu, the UI showing the contacts will be displayed normally.

However, when using system tray icon, there're several problems:

Problem #1:
Left click on the sys tray icon shows the Instant Messenger widget popup (the one with the pin option), and clicking it *should* display the contact list UI. (This was true last week prior to one of the more recent updates, though not sure which one.) Instead, left clicking again on the pop-up widget does not show the contact list UI.

Problem #2:
Right clicking on the system tray icon shows options including status (e.g. Available, Offline, etc). Selecting the "Contact List..." option from the menu again fails to show the Contact List UI.

Problem #3:
The same description from problem #2 applies if you choose "Instant Messaging Settings..." immediately above the "Contact List..." option.


Using version 15.04.0 in Kubuntu Linux 64-bit.

Reproducible: Always

Steps to Reproduce:
1. Make sure you have the Instant Messaging icon in the system tray, and either
2. R-click and select "Contact List..." or "Instant Messaging Settings..." options, or
3. L-click for the pop-up widget to show up and then L-click on the widget again

(Your choice, same outcome.)

Actual Results:  
The UI Windows that should be displayed are not displayed.

Expected Results:  
The Contact List UI (or IM Settings UI, depending on choice) should be displayed.

It doesn't seem to be a crash as I can get the IM Contacts UI to show up if I look it up in the system's K Menu or launch it from the shell. Also, I can change my status using the icon without problems (e.g. set myself to offline, online, etc.) from the same sys tray icon.

It behaves as if no action handler had been set for the events being triggered.
Comment 1 h.k.ghost 2015-05-11 05:38:01 UTC
If I use GDB to launch ktp-contactlist, I get the output below. Note that the UI shows up and I then close it by pressing the X in the window frame. As soon as I press that to close the UI, the line "*** Error in `/usr/bin/ktp-contactlist': corrupted double-linked list: 0x0000000000ab2e60 ***" is displayed.

----------------------------
$ gdb ktp-contactlist
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ktp-contactlist...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/ktp-contactlist
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
QCoreApplication::arguments: Please instantiate the QApplication object first
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QCoreApplication::arguments: Please instantiate the QApplication object first
QCoreApplication::arguments: Please instantiate the QApplication object first
kf5.kiconthemes: "Theme tree: (Breeze)"
ktp-models: invalid index data requested QModelIndex(-1,-1,0x0,QObject(0x0) )
ktp-models: Built with kpeople support, using kpeople model
kf5.kservice.sycoca: Trying to open ksycoca from "/home/ray/.cache/ksycoca5"
tp-qt 0.9.6 WARN: Error parsing config file for connection manager "haze" - introspecting
tp-qt 0.9.6 WARN: Error parsing config file for connection manager "haze" - introspecting
ktp-people: Account manager ready
ktp-common-internals: Current presence changed
ktp-common-internals: Current presence changed
ktp-logger: loaded factory : TpLoggerPluginFactory(0xaabbc0)
ktp-logger: loaded logger plugin :  TpLoggerPlugin(0xaad3e0)
Created Utils instance
*** Error in `/usr/bin/ktp-contactlist': corrupted double-linked list: 0x0000000000ab2e60 ***

Program received signal SIGABRT, Aborted.
0x00007ffff308b267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
Comment 2 Martin Klapetek 2015-05-11 07:48:37 UTC
Thanks for the report. Please install kde-telepathy-desktop-applets package and remove
kde-telepathy-legacy-presence-applet package, then log out and back in. Additionally, read http://martys.typepad.com/blog/2015/03/plasma-5-with-kde-telepathy-09.html

*** This bug has been marked as a duplicate of bug 347285 ***
Comment 3 h.k.ghost 2015-05-11 10:24:47 UTC
I see. I didn't see that bug report when I was searching prior to posting this one --maybe due to the terms I used :/

Your solution has solved the problem. Thanks a lot.